Skip to content

con.register not working as described  #15

Description

@GoogleCodeExporter
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions