Skip to content

con.register not working as described  #15

@GoogleCodeExporter

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 [email protected] on 1 May 2012 at 3:41

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions