zipline
Lean
Our great sponsors
zipline | Lean | |
---|---|---|
14 | 25 | |
17,036 | 8,655 | |
0.6% | 1.8% | |
0.0 | 9.7 | |
2 months ago | about 19 hours ago | |
Python | C# | |
Apache License 2.0 | 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.
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.
-
How to statistically compare the performance of two strategies?
I found two opensource tools 1. .https://github.com/quantopian/zipline Quantopian 2. https://analyzingalpha.com/backtrader-backtesting-trading-strategies backtrader
- Formula for slippage?
- Online Portfolio Selection - Research paper implementation and backtest
-
Best Backtesting software?
Some of the notable libraries in Python are backtesting.py, bt and zipline. Personally I like bt the most, as its tree model makes the most intuitive sense.
Lean
-
What Happened to Quantconnect?
6.) You cant maximize position size of spread options strategies, LEAN always assumes naked margin first and ON THE NEXT DATA FRAME - you get your reg-t margin for spreads. https://github.com/QuantConnect/Lean/issues/5693 We're running into 2 years of this issue being reported.
- Thoughts on QuantConnect?
- IBKR implementation of ALMA indicator
-
Backtesting Engines for Testing Intraday Data on Thousands of Symbols Simultaneously
Thanks. I will check it out. Can you point me to the right part of the codebase I should be looking at? I know it must be somewhere here - https://github.com/QuantConnect/Lean
-
Quantconnect - Backtest script that accepts multiple dropbox links, creates portfolio, and rebalances on predefined dates, advice?
They have nice documentation on their website for how to download/import external data, though. They even have GitHub examples that pull data from Dropbox.
-
Problem with QuantConnect Package on Local IDE
Here is an example https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/DropboxUniverseSelectionAlgorithm.py
-
Exportable quote database for simulations?
There's also the open-source lean.io stuff by QuantConnect which looks decent and comes with data. It's pretty inexpensive too.
-
Rant about candles
I can plot OHCL lines, I can plot OHCL scatter points on the chart, why can't I plot candles? It's just those scatter points put together. This thing has been going on for 8 YEARS.
-
How has your experience been with QuantConnect? Would you invest in the company?
Here's a link to one of the strategy examples from the QC team that does this -- loading a universe from an external source. https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/DropboxCoarseFineAlgorithm.py
-
What's the best platform to backtest a large amount of 1m data using a simple volume-based strategy ? TradingView provides a minimal amount of candles in the 1m chart to backtest on and I need to test it further.
+1 see https://github.com/QuantConnect/Lean
What are some alternatives?
backtrader - Python Backtesting library for trading strategies
StockSharp - Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).
pyfolio - Portfolio and risk analytics in Python
backtrader - Python Backtesting library for trading strategies [Moved to: https://github.com/mementum/backtrader]
finnhub-dotnet - A .NET client for Finnhub API
PyThalesians - Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)
finta - Common financial technical indicators implemented in Pandas.
quantstats - Portfolio analytics for quants, written in Python
TTM - # TTM Stock squeeze detection based on bollinger + keltner channels. Detects which stocks are out after bollinger is inside keltner channel.
qlib - Qlib is an AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing productions. Qlib supports diverse machine learning modeling paradigms. including supervised learning, market dynamics modeling, and RL.
algotrading-example - algorithmic trading backtest and optimization examples using order book imbalances. (bitcoin, cryptocurrency, bitmex, binance futures, market making)