Posted on May 1, 2012 by
Happy Wombat
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'])
Status: New
Labels:
Type-Defect
Priority-Medium