Which brokers offer Python integration/API? Which brokers offer R integration?
I'm starting on trading, and I want to learn about algorithm trading. So I would like to know what brokers offers these languages apis.
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It only takes a minute to sign up.
Sign up to join this communityYou're confusing the language that you will use for your analysis with the language you will use to execute your results.
The modern approach for APIs (for all industries/apps) is to use and HTTP based REST API that is exposed to the outside world, most likely with something like JSON. This approach works because it can be used by a large variety of languages.
So, on the developer/analyst end you can use a variety of languages to handle your REST communications however you choose. How you make your analysis and generate results is of no consequence to the API provider (in this case, the broker). So you could do something like generate results with R and then transmit them with python. Generate all results with python and also transmit them with python. Really, you can do whatever you want on your end as long as you follow the REST specifications given to you by the broker.
Apparently Interactive Brokers (IB) now supports a native Python API.
Previously, I recall there at least two 3rd party APIs to IB: