IBC
Automation of Interactive Brokers TWS. You can download the latest release here: https://github.com/ibcalpha/ibc/releases/latest (by IbcAlpha)
backtesting.py
:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python. (by kernc)
IBC | backtesting.py | |
---|---|---|
10 | 25 | |
930 | 4,846 | |
2.0% | - | |
7.0 | 0.0 | |
3 months ago | about 1 month ago | |
Java | Python | |
GNU General Public License v3.0 only | GNU Affero General Public License v3.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
IBC
Posts with mentions or reviews of IBC.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
TWS on Linux
I would start here. https://github.com/IbcAlpha/IBC Using slightly modified code running in docker container on linux server.
-
Python developers -- what broker and api do you use?
Interactive Brokers has been the best I've found for that. You do have to use their platform, but that allows you to focus more on writing your algos and less on re-inventing security and such. There are solutions out there to keep the gateway connected. see: https://github.com/IbcAlpha/IBC
- How to set up auto login without 2fa for trading system
-
Interactive Brokers API
And also use IBC to keep it connected. I've had issues where the daily maintenance performed on their servers causes IBGateway to pop up a dialog before continuing. IBC handles all those issues.
- Interactive Brokers forcing 2FA
-
IB gateway fails to auto-restart/login after overnight maintenance
I used to have this problem but have since started using IBC, along with Task Scheduler, to handle all those connectivity issues on Windows. It all supports *NIX-based systems, too.
-
Why do you keep your IBKR account?
Actually I found it https://github.com/IbcAlpha/IBC
-
How to run Interactive broker TWS linux version 10.12.2j from command line supplied by username and password?
There are few autorunner scripts that worked well with previous versions of TWS (901-963) by automating it and even running them headless. However, with the latest version of TWS, it is hard to do.
-
Auto logon to TWS with IBController
I recently installed this https://github.com/IbcAlpha/IBC It preforms auto logon to IB TWS. Works fine. It generates a batch file, place it on desktop and I included my charting program. One click both open and IB user name and password entered and TWS opens. Magic. Was recently updated.
-
Anyone went from crypto to traditional markets?
Look at https://github.com/IbcAlpha/IBC for gateway automation.
backtesting.py
Posts with mentions or reviews of backtesting.py.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
Python developers -- what broker and api do you use?
We chose backtesting.py for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.
-
How do you backtest with IBKR Data?
The process might vary a bit based on what you want to trade, but I've had some success with back-testing by using the IBKR API to download historical data for the stocks I want, then plugging in that data to some other back-testing framework, like https://kernc.github.io/backtesting.py/
-
Anyone here built backtest/alpha visualization/exploration dashboard(s)?
https://kernc.github.io/backtesting.py/ offers nice way to zoom backtesting. It has some bugs, but good for visualization.
-
What platform do you use to backtest historical millisecond tick data?
Are there any free trading platform options to import and backtest millisecond historical tick data? Do you use something like https://github.com/kernc/backtesting.py and then translate algorithms into mql4/5 or pinescript?
- GitHub - kernc/backtesting.py: Backtest trading strategies in Python.
-
Where/how do I “import backtesting” and other programs? TY!
But even if you don't know that, you can Google the library to find its documentation and installation instructions - in this case, here where it does indeed tell you to run pip install backtesting.
-
What are your 2022 success stories? It's been a long year. You deserve to brag.
Sure. My strategy is actually very simple using common indicators like MACD and RSI. Most of the code is actually based on https://github.com/kernc/backtesting.py and I use it to check whether I should buy or sell on a particular day. Hope this helps!
- Backtesting.py - interpreting the generated chart
- How hard would this be?
-
Bot development best practices for making backtesting easier?
I'm leaning towards using the backtesting.py library, but from the example on their main page, it looks like you need to program your strategy using their library?