Wednesday, March 5, 2008
pure python ib
i am eager to try out the pure puthon interface to interactive brokers. ibpy on google code has almost everything i need. profitpy provides a login_helper script to send x events to the java tws window, which i'm currently doing with the klunky external perl guitest. login_helper is meant to be a command-line script, but i could use it as a module by putting together an options object and calling login_helper.main().
login_helper needs the guitest module from enthought. the link in the docstring seems to be old, but it's not hard to find on the enthought site. the ib_tws script (also in the bin dir) shows a good way to start the java tws, though for some reason it's a bash script instead of python. shouldn't be hard to translate.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment