zipline
bcolz
Our great sponsors
zipline | bcolz | |
---|---|---|
14 | 1 | |
17,036 | 955 | |
0.6% | - | |
0.0 | 0.0 | |
2 months ago | over 1 year ago | |
Python | C | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
bcolz
-
Recommendation for a Database for analysis
What you need for your use case is a column-oriented store. I recommend explore bcolz or apache arrow for a column file-based systems. These are very fast, support memory mapping, uses compression and SSD speed (and even CPU architecture, in case of arrow) optimally almost out of the box, and has good interfaces to Numpy and Pandas (in case you are using Python for final data consumption and analysis). The columnar structure makes it easy to add or delete a column easily (or even dynamically). If you need a more scalable (albeit at the cost of speed) solution, you can devise a schema over a regular columnar db or an nosql db - see arctic from Man group for an example.
What are some alternatives?
backtrader - Python Backtesting library for trading strategies
Kedro - Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
pyfolio - Portfolio and risk analytics in Python
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
backtrader - Python Backtesting library for trading strategies [Moved to: https://github.com/mementum/backtrader]
Dask - Parallel computing with task scheduling
PyThalesians - Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)
blaze - NumPy and Pandas interface to Big Data
quantstats - Portfolio analytics for quants, written in Python
NumPy - The fundamental package for scientific computing with Python.
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.
Numba - NumPy aware dynamic Python compiler using LLVM