I'm trying to register a callback:
def my_callback(msg):
print msg
con = ibConnection()
con.register(my_callback, message.tickPrice)
This doesn't work. But it is used like that in the examples and the docstring
of register seems to indicate that this should work.
Alternatives that work are:
- con.register(my_test, (message.tickSize,))
- con.register(my_test, message.registry['tickPrice'])
Original issue reported on code.google.com by fabian.u...@gmail.com on 1 May 2012 at 3:41
Original issue reported on code.google.com by
fabian.u...@gmail.com
on 1 May 2012 at 3:41