Open-source frameworks and algorithms for implementing predictive financial trading strategies using machine learning and statistical analysis.
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 utilizes vectorized indicator computation with just-in-time compilation to efficiently process large datasets across multiple CPU cores. The system covers a broad range of quantitative capabilities, including portfolio risk management, machine learning model integration, and strategy validation using bootstrap significance testing and walkforward analysis. It also provides tools for technical analysis automation, brokerage fee and slippage modeling, and automated trade exit management.
Pybroker is a Python-based algorithmic trading framework that provides a robust backtesting engine, financial data ingestion, and integrated support for machine learning models, making it a comprehensive tool for developing and validating trading strategies.
This project is a Python financial analytics framework and quantitative trading library. It provides a suite of mathematical tools for asset pricing, statistical market analysis, and the development of algorithmic trading strategies. The library is distinguished by its focus on currency and commodity correlation modeling, using regression and normalization to identify exchange rate drivers. It features a specialized portfolio optimization engine that applies graph theory, such as clique centrality and degeneracy ordering, alongside quadratic programming to balance risk-adjusted returns. The framework covers a broad range of quantitative capabilities, including stochastic price simulation via Monte Carlo methods, cointegration testing for pairs trading, and ensemble forecast aggregation to remove bias from expert predictions. It also includes tools for technical analysis of chart patterns, strategy backtesting, and resource allocation planning.
This is a quantitative finance and strategy development framework that includes a backtesting engine and tools for statistical analysis, though it lacks explicit documentation for live trading connectivity.
This library is a Python-based tool for retrieving historical and real-time financial market data from public sources. It functions as a programmatic interface for downloading stock prices, dividends, financial statements, and corporate calendars, allowing users to perform automated research and analysis on various market assets. The project distinguishes itself by structuring retrieved financial time series directly into tabular data frames, which facilitates mathematical analysis and manipulation of market metrics. It supports efficient data retrieval through multi-threaded batch downloading and lazy-loading object proxying, which minimizes unnecessary network requests by fetching asset attributes only when they are accessed. Beyond basic price retrieval, the library provides capabilities for derivative pricing analysis by extracting call and put option chains, as well as investment portfolio tracking through the retrieval of fund details and top holdings. Users can also search for ticker symbols, screen equities based on custom criteria, and establish persistent connections to monitor live market activity.
This library provides a programmatic interface for financial data ingestion, but it is a data-fetching utility rather than a comprehensive framework for backtesting and deploying algorithmic trading strategies.
gs-quant is a quantitative finance library and financial data analytics toolkit. It serves as a framework for analyzing financial data, developing systematic trading strategies, and managing risk exposure for derivative products in global markets. The project provides tools for quantitative financial analysis, quantitative portfolio modeling, and the development of systematic trading strategies. It enables the calculation of risk for derivative products to structure and hedge positions across markets.
This library provides a comprehensive toolkit for quantitative analysis, portfolio modeling, and the development of systematic trading strategies, making it a suitable framework for building and testing algorithmic trading models.
FinRL-X: An AI-Native Modular Infrastructure for Quantitative Trading
This framework provides a modular infrastructure specifically for developing and testing reinforcement learning-based trading strategies, though it functions more as a research-oriented toolkit than a full-service live trading platform.
FinceptTerminal is a quantitative finance platform and financial engineering library designed for asset valuation, risk management, and fixed-income analytics. It provides a comprehensive suite for algorithmic trading and investment strategy automation, integrating specialized language model agents and node-based workflows to automate market research and alpha generation. The project distinguishes itself with a dedicated game theory analysis engine for calculating Nash equilibria and simulating strategic interactions in competitive markets. It also features a specialized credit risk modeling tool for estimating default probabilities, building credit scorecards, and calculating expected losses. The system covers a broad range of capability areas, including derivatives pricing, yield curve construction, and multi-asset portfolio analysis. It incorporates machine learning tools for credit scorecard development and feature engineering, as well as economic analysis frameworks for utility theory and exchange economies. The platform includes an algorithmic trading suite for real-time trade execution and an LLM investment agent framework for geopolitical and market modeling.
FinceptTerminal is a quantitative finance platform that provides the necessary infrastructure for algorithmic trading, machine learning integration, and market strategy automation, making it a suitable tool for building and deploying trading strategies.
📈 Personae is a repo of implements and environment of Deep Reinforcement Learning & Supervised Learning for Quantitative Trading.
This framework provides a specialized environment for implementing and testing deep reinforcement and supervised learning models specifically for quantitative trading, though it lacks the comprehensive portfolio management and live connectivity features of a full-scale production platform.
This project is a comprehensive framework for engineering financial data pipelines, designed to automate the collection, cleaning, and synchronization of large-scale market datasets. It functions as a quantitative trading data engine, providing the infrastructure necessary to manage historical and real-time asset pricing information for research and machine learning workflows. The system distinguishes itself through a configuration-driven approach to orchestration, allowing users to manage complex data acquisition tasks across multiple financial providers. It features resilient middleware that handles provider failover, rate limiting, and asynchronous batch requests, ensuring reliable data retrieval even when dealing with disparate sources. By normalizing diverse data formats and applying automated quality checks, the framework maintains consistent, high-fidelity inputs for downstream analytical models. Beyond core acquisition, the project provides extensive capabilities for managing financial time series, including support for incremental updates, atomic file-based storage, and anomaly detection. It enables the construction of complex factor datasets and the definition of asset universes, while offering monitoring tools to track data health and provider performance over time. The repository is structured to support repeatable, automated workflows that can be easily integrated into broader quantitative research environments.
This repository provides a specialized data engineering and pipeline infrastructure for financial research, but it lacks the backtesting engine and live trading execution capabilities required for a complete algorithmic trading framework.