Backtesting

Top 23 Backtesting Open-Source Projects

  • backtrader

    Python Backtesting library for trading strategies

  • Project mention: [HIRING] Develop template code for crypto backtesting using backtrader | /r/Jobs4Bitcoins_OG | 2023-07-08

    You need to create a template code using https://github.com/mementum/backtrader. 1. Get the 1m candlestick data from binance for a period of 1 month for two symbols and store it in a data folder with data for each day and symbol in a different csv file. Read data for the symbols BTC & ETH. 2. Read the data for 1 month in python and put it in a dataframe for each symbol. 3. Import backtrader and feed data for these two symbols. 4. Create a basic strategy to check the ratio of prices and take trades accordingly. 5. Get the results using library. I am not much interested in the trading logic, just want to get the system to backtest up. It's a straightforward task for someone who has used backtrader before or 30-min job to read the documentation and do it. Project compensation : 5$ Can transfer directly to your binance account.

  • StockSharp

    Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

  • Project mention: StockSharp: NEW Derivatives and Hedging - star count:6089.0 | /r/algoprojects | 2023-11-10
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • backtesting.py

    :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.

  • Project mention: Python developers -- what broker and api do you use? | /r/algotrading | 2023-06-08

    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.

  • vectorbt

    Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.

  • zvt

    modular quant framework.

  • OctoBot

    Open source crypto trading bot

  • pycryptobot

    Python Crypto Bot (PyCryptoBot)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • awesome-systematic-trading

    A curated list of insanely awesome libraries, packages and resources for systematic trading. Crypto, Stock, Futures, Options, CFDs, FX, and more | 量化交易 | 量化投资 (by wangzhe3224)

  • Project mention: awesome-systematic-trading: NEW Extended Research - star count:1040.0 | /r/algoprojects | 2023-08-28
  • pybroker

    Algorithmic Trading in Python with Machine Learning

  • Project mention: pybroker: NEW Other Models - star count:1362.0 | /r/algoprojects | 2023-12-09
  • fastquant

    fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!

  • TradingView-API

    📈 Get real-time stocks from TradingView

  • AlphaPy

    Python AutoML for Trading Systems and Sports Betting

  • Project mention: AlphaPy: machine learning framework built on sklearn and pandas. Support pyfolio/xgboost/lightgmb/catboost(gradient boosting on decision tress) etc. Examples include financial market prediction/sports prediction/kaggle. Configurations are set though | /r/algoprojects | 2023-12-10
  • hftbacktest

    A high-frequency trading and market-making backtesting tool in Python and Rust, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books.

  • Project mention: Show HN: Open-Sourcing High-Frequency Trading and Market-Making Backtesting Tool | news.ycombinator.com | 2023-10-30
  • stock

    stock股票.获取股票数据,计算股票指标,识别股票形态,内置选股策略,股票验证回测,股票自动交易,支持PC及移动设备。

  • Project mention: InStock: NEW Data - star count:119.0 | /r/algoprojects | 2023-05-27
  • functime

    Time-series machine learning at scale. Built with Polars for embarrassingly parallel feature extraction and forecasts on panel data.

  • Project mention: functime: NEW Data - star count:616.0 | /r/algoprojects | 2023-11-08
  • optopsy

    A nimble options backtesting library for Python

  • Stock.Indicators

    Stock Indicators for .NET is a C# NuGet package that transforms raw equity, commodity, forex, or cryptocurrency financial market price quotes into technical indicators and trading insights. You'll need this essential data in the investment tools that you're building for algorithmic trading, technical analysis, machine learning, or visual charting.

  • Project mention: Stock.Indicators: list of technical indicators implemented in c#. Full list and explanation available [here](https://daveskender.github.io/Stock.Indicators/docs/INDICATORS.html). This list contains several indicators that ta-lib does not cover Other | /r/algoprojects | 2023-07-31
  • Empyrial

    AI and data-driven quantitative portfolio management library for portfolio risk and performance analysis 投资组合管理

  • algo-trader

    Trading bot with support for realtime trading, backtesting, custom strategies and much more.

  • Project mention: Algo-trader vs. PyBroker | /r/algotrading | 2023-05-10
  • lumibot

    Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more

  • barter-rs

    Open-source Rust framework for building event-driven live-trading & backtesting systems

  • Binance-Futures-Trading-Bot

    A Technical Analysis Bot that trades leveraged USDT futures markets on Binance.

  • qf-lib

    Modular Python library that provides an advanced event driven backtester and a set of high quality tools for quantitative finance. Integrated with various data vendors and brokers, supports Crypto, Stocks and Futures.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Backtesting related posts

Index

What are some of the best open-source Backtesting projects? This list will help you:

Project Stars
1 backtrader 13,081
2 StockSharp 6,638
3 backtesting.py 4,846
4 vectorbt 3,746
5 zvt 2,990
6 OctoBot 2,926
7 pycryptobot 1,942
8 awesome-systematic-trading 1,636
9 pybroker 1,610
10 fastquant 1,423
11 TradingView-API 1,192
12 AlphaPy 1,052
13 hftbacktest 1,047
14 stock 973
15 functime 908
16 optopsy 907
17 Stock.Indicators 887
18 Empyrial 869
19 algo-trader 744
20 lumibot 696
21 barter-rs 614
22 Binance-Futures-Trading-Bot 497
23 qf-lib 467

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com