30 open-source projects similar to kernc/backtesting.py, ranked by shared indexed features. Tags may describe platforms or build tools rather than the same primary purpose. Check each project’s use case, license, and deployment requirements before treating it as a replacement.
Backtrader is a Python framework designed for the development, backtesting, and live execution of algorithmic trading strategies. It provides a comprehensive environment for quantitative finance, allowing users to simulate trading logic against historical market data or connect directly to brokerage platforms for automated real-time trading. The project distinguishes itself through a unified event-driven architecture that treats backtesting and live trading with the same API. This consistency is supported by a flexible data-feed abstraction layer that normalizes diverse financial sources, ena
Zenbot is an automated cryptocurrency trading bot designed to execute trades on exchanges based on technical analysis and predefined risk parameters. It functions as a technical analysis engine that processes market data through mathematical indicators to generate actionable trade signals. The system includes a genetic algorithm strategy optimizer to automatically discover the most profitable parameter configurations. It provides multiple simulation environments, including a trading strategy backtester for replaying historical data and a paper trading simulator for testing strategies against
Quantaxis is a quantitative trading framework designed for building, backtesting, and executing automated strategies across global equities, futures, and cryptocurrencies. It integrates an event-driven backtesting engine, a multi-market execution gateway for order routing, and a quantitative data pipeline for ingesting and storing multi-asset market data. The system features a Rust-accelerated financial library that utilizes Apache Arrow for high-performance technical indicator calculation and zero-copy data processing. It provides a containerized infrastructure model designed for orchestrati
pybroker is a Python algorithmic trading framework and quantitative technical analysis library designed for developing, testing, and optimizing trading strategies using historical market data. It functions as a trading strategy backtester and a financial performance evaluator, providing a structured environment to simulate trading rules and analyze their statistical reliability. The framework distinguishes itself through a market data integration layer that handles the fetching and caching of historical price data from external providers. It incorporates an event-driven backtesting engine and
QuantResearch is a quantitative research framework and specialized toolkit for algorithmic simulation, financial time-series analysis, and systematic trading. It provides an event-driven backtesting environment for validating strategies against historical tick and bar data, alongside a dedicated portfolio optimization engine for calculating asset weights and risk metrics. The project distinguishes itself through a machine learning finance toolkit that implements recurrent neural networks for price prediction and reinforcement learning for derivative pricing. It also features advanced statisti
RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides an event-driven engine for simulating trading strategies against historical market data, with realistic transaction costs, slippage models, and corporate action handling. The platform supports multi-asset class trading including stocks, futures, options, and REITs, with separate sub-accounts for different asset types and configurable margin requirements. The framework distinguishes itself through a plugin-based extensible architecture that allows users to swap out core componen
Lean is an algorithmic trading engine and quantitative finance platform designed for the development, backtesting, and live execution of automated trading strategies. It provides a comprehensive framework for processing time-series market data, managing multi-asset portfolios, and conducting quantitative research across diverse financial markets. The platform distinguishes itself through a modular, event-driven architecture that decouples strategy logic from data ingestion and brokerage connectivity. By utilizing standardized interfaces for data providers and brokerage abstractions, it enable
tqsdk-python is a quantitative trading SDK and framework designed for developing automated strategies for futures, options, and stocks using Python. It functions as an algorithmic trading engine and financial market data API, providing the tools necessary to backtest strategies, analyze historical data, and execute live trades across multiple brokerage accounts. The project distinguishes itself through a specialized option analytics library that calculates Greeks, implied volatility, and volatility surfaces using the Black-Scholes model. It further supports complex order execution patterns, s
pyalgotrade is a Python algorithmic trading library designed for developing, backtesting, and executing automated trading strategies. It provides a comprehensive framework for financial strategy backtesting, a technical analysis library for computing mathematical indicators, and connectors for cryptocurrency exchange integration. The project distinguishes itself by supporting sentiment-based trading through the integration of real-time social media feeds and keyword streams. It features a quantitative trading visualization tool for plotting price action and portfolio equity curves, along with
Jesse is a Python algorithmic trading framework used for developing, backtesting, and executing quantitative trading strategies. It functions as a trading strategy backtester and a machine learning trading platform, providing an environment to train predictive models on historical market data and deploy them into live strategies. The framework features a standardized crypto exchange connectivity layer that allows for the execution of automated spot and futures trades across multiple cryptocurrency exchanges via an exchange-agnostic interface. It includes a quantitative risk analysis toolset t
VectorBT is a vectorized trading strategy backtesting framework that simulates thousands of strategy configurations in a single pass over historical price data. It operates as a parameter optimization engine, a portfolio performance analyzer, a technical indicator calculator, and a financial data fetcher, all built around a DataFrame-centric data model that uses NumPy broadcasting for signal alignment and compiled code acceleration for performance. The framework distinguishes itself through its ability to run large-scale parameter sweeps by constructing every combination of strategy parameter
Hikyuu is a quantitative trading framework designed for developing, backtesting, and executing systematic trading strategies. It functions as a high-speed system that combines a financial time-series library, a multi-factor analysis tool, and a quantitative backtesting engine to support comprehensive trading research. The framework is distinguished by its high-speed computing core, which utilizes multi-threaded execution to process large volumes of market data for technical indicator generation. It supports a modular strategy composition model where signal, risk, and fund management component
QuantMuse is an algorithmic trading platform and quantitative trading framework that integrates large language models with mathematical analysis to automate market insights and trading strategies. It functions as a system for building, backtesting, and executing strategies using both historical and real-time market data. The framework is distinguished by its use of large language models for financial analysis and sentiment extraction from news and social media. It utilizes autonomous agents with chain-of-thought reasoning to generate market intelligence and strategic reports, while employing
Backtrader is a Python backtesting framework and algorithmic trading platform. It provides a toolkit for developing automated trading rules and simulating investment strategies using historical financial time-series data. The system functions as a quantitative analysis tool, combining a simulation engine for testing trading rules with a financial data visualizer that generates price action charts. It allows for the calculation of technical indicators and the evaluation of portfolio performance through risk-adjusted returns. The platform covers live trading integration via brokerage APIs and
Gym-anytrading is a reinforcement learning toolkit designed to simulate financial market conditions for the development and evaluation of automated trading agents. It provides a standardized framework that models stock and forex market data, allowing researchers to train agents through trial and error within consistent, gym-compatible environments. The platform distinguishes itself through an object-oriented architecture that enables users to define custom trading logic, including unique reward functions, profit calculations, and trade fee policies. By transforming raw financial datasets into
quant-wiki is a comprehensive knowledge base and structured reference for quantitative finance, financial engineering, and algorithmic trading. It serves as a centralized library of documentation covering mathematical models, financial instruments, and systematic trading strategies. The project integrates AI-driven capabilities through a modular retrieval-augmented generation framework that extracts structured data from research papers and news. It features a multi-agent workflow engine designed to discover and validate predictive alpha factors, alongside tools for local large language model
TradeMaster is a reinforcement learning trading framework and algorithmic trading simulator designed for designing and testing quantitative trading strategies. The system provides a platform for developing reinforcement learning agents, managing quantitative portfolios, and optimizing trade execution using financial market data. The project features specialized components for multi-modality data preprocessing, a high-fidelity market environment simulation for strategy backtesting, and a quantitative portfolio manager for capital reallocation across multiple assets. It includes a trade executi
Kronos is a financial time-series forecasting framework and quantitative trading strategy simulator. It functions as a research environment designed to analyze historical market data, train predictive models, and evaluate the performance of automated trading signals. The platform distinguishes itself through its deep learning sequence predictors and probabilistic market modeling tools. By utilizing sequence-based architectures and statistical sampling, the system generates multiple potential price trajectories and volatility estimates to quantify uncertainty. It also supports transfer learnin
FinRL is a financial reinforcement learning framework and quantitative trading library. It provides a specialized system for developing, training, and simulating autonomous agents designed to automate financial trading and portfolio management. The project serves as an automated portfolio optimizer and financial market simulator. It enables the creation of decision-making policies to balance asset allocations, maximize potential returns, and minimize financial risk through reinforcement learning. The framework includes capabilities for financial market data engineering, algorithmic trading s
FinRL is a reinforcement learning framework designed for the development, training, and backtesting of automated trading strategies. It functions as a quantitative finance toolkit that integrates deep learning algorithms with financial market simulations to address complex portfolio management and asset allocation tasks. The platform provides an end-to-end pipeline for transforming raw market data into actionable trading models. The project distinguishes itself through a layered, modular architecture that separates data processing, environment simulation, and agent training. This design allow
Nautilus Trader is a high-performance algorithmic trading framework built in Rust, designed for the development, backtesting, and live execution of automated trading strategies. It provides a comprehensive platform for managing multi-asset portfolios and interacting with diverse financial markets through a standardized connectivity suite. The system is engineered to handle high-frequency data processing and complex order execution while maintaining precise numerical accuracy across various asset classes. The framework distinguishes itself through an architecture centered on deterministic even
StockSharp is an algorithmic trading platform and quantitative framework used for developing and deploying trading robots across stock, forex, and cryptocurrency markets. It functions as a multi-asset trading gateway and a dedicated development environment for building, debugging, and scheduling automated strategies. The platform includes a visual strategy workflow editor that maps logic blocks to executable code and a simulation engine that replays historical tick data to validate trading logic. It utilizes a plugin-based broker integration system to normalize diverse exchange protocols into
Abu is an algorithmic trading framework designed for the development, backtesting, and optimization of automated trading strategies. It functions as a quantitative financial analysis library that processes time-series data to identify market trends, volatility patterns, and key price levels. The platform distinguishes itself through a modular architecture that integrates diverse financial data sources and a rule-based engine for automated risk management. It enables users to construct complex trading signals by layering technical indicators and machine learning models, while simultaneously en
Alphalens is a quantitative alpha factor analysis library designed to measure the predictive power of financial factors. It serves as a computational toolset for processing financial time series and calculating performance metrics to evaluate quantitative trading hypotheses. The library distinguishes itself through the use of quantile-based data binning to analyze return distributions across different factor strength levels. It aligns historical alpha signals with forward-looking price changes to isolate predictive effects and transforms these metrics into heatmaps and time-series charts for
OctoBot is an open-source automated trading platform that connects to over 15 cryptocurrency exchanges, enabling users to deploy grid, dollar-cost averaging, market-making, and AI-driven trading strategies. It functions as a unified multi-exchange trading platform, a TradingView alert executor, and a crypto trading bot, all within a single system. The platform is built on an event-driven trading loop with a plugin-based strategy engine, an exchange-agnostic connector layer, and a cloud-synced profile store for multi-device consistency. What distinguishes OctoBot is its integration of large la
Hummingbot is an open-source framework designed for building, backtesting, and deploying autonomous trading agents and algorithmic strategies across centralized and decentralized cryptocurrency exchanges. It provides a modular environment where users can orchestrate containerized bots to execute complex market-making, grid trading, and arbitrage operations. The platform distinguishes itself through a skill-based architecture that integrates large language models, enabling users to monitor market conditions and control trading operations via natural language commands. It features a unified con
QuantAxis is a quantitative trading platform and algorithmic trading framework. It provides a comprehensive local environment for backtesting strategies, managing financial market data, and executing trades across stocks, futures, and options markets. The system distinguishes itself through a distributed task scheduler that spreads asynchronous computations and heavy mathematical workloads across a network of remote agents. It incorporates a multi-account trading interface to standardize the monitoring of positions and the execution of orders across various brokerage accounts. The platform c
zvt is a quantitative trading framework designed for building, backtesting, and executing algorithmic trading strategies. It functions as a modular system that integrates a financial data pipeline for market data collection, an algorithmic backtesting engine for strategy evaluation, and an event-driven trading system to automate market executions. The project distinguishes itself through a hybrid approach to signal management, using a dynamic tagging system that combines automated quantitative logic with human intervention. It includes a quantitative analysis dashboard for visualizing researc
Sui is a blockchain platform featuring an object-centric state model and resource-oriented smart contracts. It utilizes parallel transaction execution to increase network throughput and supports programmable transaction blocks that bundle multiple operations into single atomic units. The platform distinguishes itself with a capability-based access control system and zero-knowledge login mechanisms, enabling users to authenticate via identity providers without seed phrases. It also implements deterministic object addressing to allow predictable state lookups and supports the creation of soulbo