zipline
backtrader
Our great sponsors
zipline | backtrader | |
---|---|---|
14 | 32 | |
16,997 | 12,784 | |
0.8% | - | |
0.0 | 2.7 | |
about 2 months ago | about 1 month ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
zipline
- Ask HN: How to Get into Quantitative Trading?
-
Open source backtesting software
https://github.com/quantopian/zipline (event-driven)
-
10 FinTech APIs every Indian developer should bookmark
Zipline by Quantopian: An Open-Source tool for algorithmic trading. It is a platform for developing and testing quantitative trading strategies using Python.
-
Backtesting Engine Design Primers
For personal use only. I'm currently looking at QuantConnect's LEAN and Quantopian's Zipline (which hasn't seen any updates since 2020, presumably because Quantopian was dissolved).
-
[D] Doing my (bachelor) thesis on RL. Which topic do you like best?
(1) I remember there were decent libraries for this setting a while back. Maybe take a look at Quantopian/Zipline.
-
Best Backtesting Libraries (Python)
zipline – Zipline is a Pythonic algorithmic trading library. It is an event-driven system that supports both backtesting and live trading.
-
Custom forex backtester
However if you need to take into account more market effects, I suggest that you look into zipline (however the learning curve is steeper and it can be hard to implement custom ideas).
-
Looking for active python backtesting framework
Yea I just see it has no commits since October https://github.com/quantopian/zipline
backtrader
-
Backtesting Engines for Testing Intraday Data on Thousands of Symbols Simultaneously
However, if you decide to go down the more well-trodden path of using open source backtesting frameworks then I personally would recommend backtrader (https://www.backtrader.com/). As far as I can tell, it has pretty much all the same features as my own system. The only difference is speed. My backtester is an order of magnitude faster and scales much better to testing thousands of symbols simultaneously. However, for 99% of retail algo traders this will be completely irrelevant.
I know that backtrader (https://www.backtrader.com/) supports testing intraday strategies on thousands of symbols simultaneously. Are there any other backtesting engines that support this use case? Thanks!
-
Quantconnect Rant
I mean, some random dude managed to pull a platform with more basic functionalities than that. Sadly that repo is dead and the live trading implementation no longer works
-
Python library to retrieve data from TradingView
I've been working on a Python library which lets the user retrieve data from TradingView.com so it could be used in backtesting a strategy. The project is called TvDatafeedLive and is available on GitHub. To be fair, the project is actually an extension of a project called TvDatafeed, which is a really good project, but only supports retrieving historic data (so far). So, I've taken the liberty to fork it and implement retrieving data continously and "real-time". The data is retrieved in Pandas DataFrames and can easily be plugged into backtrader. There is instructions included in the GitHub page. If this sounds interesting then please check it out and leave feedback if there are any thoughts.
-
Algo Trading Environments
Backtrader can also do live trading afaik.
-
Backtest libraries
https://www.backtrader.com/ Nice, but it seems that the development more or less stopped in the past years. Running Ubuntu backtraders visualisation is not accessible without python library downgrade tricks
- Backtrader looks good but I am having a problem
-
Any advice on where to start?
Hey, love the learning attitude! Some things to consider include (how are you actually going to write your code). If you want to spend more time experimenting with a signal (which with your background, seems like you do), try using a framework out there like backtesting.py, backtrader, or blankly (the last one is my favorite because I'm able to actually deploy live in one line whereas the others don't). These frameworks have built-in backtesting, data connections, etc. that should help you speed your dev up.
- My current python backtesting script - looking for feedback and speed improvements
-
That’s it, I’m done with Zipline. I can’t take it anymore. Does anyone have any other good backtesting libraries in Python where I can use my own personal data? Thanks in advance!
https://www.backtrader.com is the best one 🧢
What are some alternatives?
backtesting.py - :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
pyfolio - Portfolio and risk analytics in Python
fastquant - fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!
pyfolio-reloaded - Portfolio and risk analytics in Python
backtrader - Python Backtesting library for trading strategies [Moved to: https://github.com/mementum/backtrader]
zipline-reloaded - Zipline, a Pythonic Algorithmic Trading Library
PyThalesians - Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)
interactive-broker-python-api - A python packaged used to interact with the Interactive Brokers REST API.
quantstats - Portfolio analytics for quants, written in Python
freqtrade - Free, open source crypto trading bot