interactive-broker-python-api
ibeam
interactive-broker-python-api | ibeam | |
---|---|---|
1 | 10 | |
358 | 486 | |
- | - | |
0.0 | 8.1 | |
9 months ago | 19 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
interactive-broker-python-api
-
Client Portal API vs TWS / IBGateway API?
It's pretty clear that the Client Portal API in concert with this library, looks easy to work with from a developer's standpoint. But based on comments here from the past few months it appears that it can be flaky. So much so that a user here created a library to try to maintain the connection. But yesterday I managed to successfully stream market data for a single contract for about an hour with no issues.
ibeam
-
Actually good APIs?
Consider IBeam for authenticating with the IBKR API and maintaining it authenticated. It's Docker image, you just run it parallel to your trading app.
-
Hi! I created a library which simplifies and augments usage of Python threads - called SuperLoops. It provides support for thread maintenance, events, failure handling, health status propagation, and graceful termination. Hope you find it useful 👋
ps. I also have a couple of other open source libraries: for scheduled data flow (Databay) and for algo trading (IBeam).
-
Question on broker, trading API and market data
One thing that isn't entirely clear is that you have to install a Java-based "gateway" on your local network and proxy all API access through that. Their website claims that it's headless, but it really isn't. I asked CS about that once and it seems that "headless" does not mean what we think it means. There are multiple projects that try to bridge the definitions, with varying degrees of success. I use Voyz/ibeam FWIW.
-
Why is IB like this?
For logging in and keeping the session alive you might want to look into using ibeam. I wrote my own version before coming across ibeam and have been using that successfully. I should note that I have a private fork with a bunch of additional fixes so let me know if you're interested in trying it out and I'll push those.
-
Source code for ib gateway for cross compilation to ARM
Not personally tried, but Im running on ARM and while i was looking at using IB i was looking at using https://github.com/Voyz/ibeam as a docker container.
- EOD Options Data, how to get?
-
IBKR Client portal web API authentication
I recently built a library called IBeam that handles the CP Gateway authentication - consider giving it a shot 😊
-
Ib Client Portal Web Api
Bit late to the party, but I thought I'd mention IBeam - it handles the authentication and maintaining the CP Web Gateway running. The `areed1192/interactive-broker-python-api` you linked u/TankorSmash has useful Python handlers for various API endpoints, but in my experience it doesn't handle the CP Web Gateway authentication and maintenance well.
-
Does anyone have experience setting up and using IBKR's Client Portal RESTapi?
Hey it's Voyz here - thanks u/dlevac for sharing IBeam :)
-
Hi I Wanted To Share This Ibkr Webapi Gateway
Thank you Good-Educator 😊 Unfortunately you still need to perform that, although there is some discussion into automating that too using an automated SMS postbox and a server that stores the passcode. Have a look at this issue: https://github.com/Voyz/ibeam/issues/8
What are some alternatives?
ib_insync - Python sync/async framework for Interactive Brokers API
backtrader - Python Backtesting library for trading strategies
hummingbot - Open source software that helps you create and deploy high-frequency crypto trading bots
tradestation-python-api - A Python Client library for the TradeStation API.
hummingbot - Hummingbot is open source software that helps you build trading bots that run on any exchange or blockchain
broker-api - An abstracting API for interacting with various brokerages (ETrade, Robinhood, etc.)
qtpylib - QTPyLib, Pythonic Algorithmic Trading
tastyworks_api - An unofficial, reverse-engineered Python API for tastyworks.
jesse - An advanced crypto trading bot written in Python
ibgateway - Docker image for IBGateway
ib-gateway-docker - lightweight interactive brokers gateway docker