Automated trading with R on IB

Absolutely, and Jeff Ryan, the package author, will be at R/Finance in Chicago in early June. He's a good guy and will be happy to speak with you about where the package stands these days. I'm not sure how focused he's been on maintaining it since he started working at Citadel. He's also the author of a good though dated tutorial.

Yeah call Jeff Ryan when a bug in his code made you lose money. He's a good guy, I'm sure he'll pay you back.
 
The package is open source. If concerned about its correctness, you can modify it as desired.

IBKR can change anything on their end at any time. You're better off with an API they stand behind. It's borderline insane to use open source when the broker is already supporting three platform-independent APIs.
 
Bottom line -- don't use anything that isn't supported by IBKR. They have several other API platforms that they support. I remember IBPy being a shitshow cause it was independently developed as the GNU R module also seems to be. Java is gonna be the best one cause it's been around the longest, but I assume Python is more similar to R than Java.

In general, R/Matlab are good for prototyping but Python is superior for implementation.

In fact even the Python module has poor documentation from IBKR which means you end up having to dig through the code to figure out what the hell it does.

Why is IbPy a "shitshow"? The only problem is that it's no longer maintained so the newest features are not supported. Other than that, it works great and still has thousands of users.
Also, IB has official Python support.

Seems like you're making a lot of assumptions based on almost no information.
 
Why is IbPy a "shitshow"? The only problem is that it's no longer maintained so the newest features are not supported. Other than that, it works great and still has thousands of users.
Also, IB has official Python support.

Seems like you're making a lot of assumptions based on almost no information.

Is English not your native language, Mario? I recommend the Python API, instead of IBPy, specifically because it has support from IBKR.

The "only" problem you mention sounds like a pretty big fkking deal to me. And they had tons of issues in the past. And it's idiotic to expect a package that is no longer maintained to perform better than an API developed by the broker themselves. Both of which are free.

Show me your source for "thousands of users"
 
Last edited:
Yeah call Jeff Ryan when a bug in his code made you lose money. He's a good guy, I'm sure he'll pay you back.
Now that’s funny :)
But seriously, I wouldn’t use any statistical geared software (R, Excel, Python) for live automated execution. They’re good in conjunction with proven robust third party platforms.
 
Is English not your native language? I recommend the Python API, instead of IBPy, specifically because it has support from IBKR.

The "only" problem you mention sounds like a pretty big fkking deal to me. And they had tons of issues in the past. Show me your source for "thousands of users"

You can derive the number of users from all the questions popping up on various forums.
If you don't need the features that have been implemented then it works fine. The official IB API also has had plenty of problems...
English is not my native language, what's your point?
The official API is preferential nowadays but IbPy is still used. I've used IbPy for years and the official API since it came out for different purposes and I've had no significant issues with either.
Have you actually used both for a long period of time?
 
It seems the best way to go is use IB's java API, however, I am an economist at heart and believe Java wont suit my needs as it is a pure programming language. My strategy in the smallest nutshell, will be, gamma scalping a straddle into earnings. I will need to be able to price an option using my inputs as well balance the greeks w.r.t my implied vol. R does this so easy, so am I really increasing my utility learning java from scratch? If the answer is a yes, what needs to be done, needs to be done.
 
Back
Top