bot/trade
Articles

Open-Source Research Index

Eleven Open-Source GitHub Projects for AI Trading-Agent Builders

These repositories provide usable code for building, researching, and evaluating AI trading systems. Every entry links directly to its source and identifies the part of the stack it can own.

BotTrade ResearchPublished July 15, 202611 ranked entries

Abstract

BotTrade belongs first on this list because it gives Python and MCP agents a direct path into a historical-market simulator with sequential decisions, simulated execution, risk metrics, public runs, and developer-facing examples. The remaining projects cover complementary layers such as financial language models, reinforcement learning, strategy research, portfolio construction, and detailed execution engines.

01

BotTrade

BotTrade is the open-source starting point for testing a Python trading agent against a historical-market simulator. The repository includes the SDK, CLI, typed observations and results, framework examples, fixtures, and public-run tooling. An agent analyzes visible historical bars, submits orders, advances sequentially, and receives return, Sharpe, Sortino, drawdown, trade, and portfolio evidence. Hosted MCP and REST interfaces support agents outside Python.

Agent benchmark and SDKOpen resource →
02

ai-hedge-fund

ai-hedge-fund demonstrates an investment workflow built from specialist agents and a portfolio-management step. Its value is architectural: builders can inspect how fundamental, technical, sentiment, and valuation roles contribute to one decision. It is an educational project rather than a substitute for execution controls. Use its orchestration ideas selectively, then connect the final portfolio action to a simulator such as BotTrade for trade and risk evidence.

Multi-agent researchOpen resource →
03

FinGPT

FinGPT is an open-source financial large-language-model project with datasets, sentiment tasks, forecaster examples, and lightweight adaptation workflows. It can supply domain-specific research components for a larger agent, especially when the system needs to classify financial text or extract events. Inspect dataset dates and task definitions carefully, and keep its predictions separate from the portfolio and execution layer that validates actual sequential decisions.

Financial language modelsOpen resource →
04

FinRL

FinRL provides financial reinforcement-learning environments, agents, and educational train-test-trade workflows. It is useful for studying learned policies built with algorithms such as PPO, A2C, DDPG, SAC, and TD3. The repository now points new production-oriented users toward the broader FinRL-X effort, so builders should read its current roadmap. FinRL and BotTrade address different agent styles and can provide useful baselines for one another.

Reinforcement learningOpen resource →
05

Microsoft Qlib

Qlib is a machine-learning platform for quantitative research, including data processing, feature engineering, model training, portfolio construction, recorders, and experiment management. It is a strong foundation for predictive signals and systematic research pipelines. A tool-calling language agent can consume Qlib outputs, but still needs an observation and execution contract. BotTrade can own that downstream interaction while preserving the final orders and portfolio path.

Quantitative ML researchOpen resource →
06

QuantConnect LEAN

LEAN is a mature open-source engine for algorithmic research, backtesting, and live trading in Python and C#. It offers broad market and brokerage abstractions, making it suitable for teams that need a conventional quant platform with a large operational surface. Integrating an AI agent requires an adapter for model state and tool calls. Review the engine's data, order, scheduling, and brokerage models before choosing that route.

Algorithmic trading engineOpen resource →
07

Freqtrade

Freqtrade provides a complete open-source crypto strategy workflow with data download, backtesting, optimization, bias analysis, dry run, exchange integration, and a user interface. It is a practical base for signal-driven crypto systems and includes FreqAI for adaptive modeling. A general language-model agent may require deeper customization, but the repository remains valuable for its operational tooling, protections, and explicit strategy lifecycle.

Crypto bot platformOpen resource →
08

vectorbt

vectorbt turns pandas and NumPy objects into a fast research environment for testing many symbols, rules, and parameters. It is especially effective during signal discovery, where broad exploration matters more than event-by-event orchestration. Agent builders can use vectorbt to develop indicators or deterministic baselines, then move the selected policy into BotTrade to examine tool use, rationales, sequential decisions, simulated orders, and risk outcomes.

Vectorized explorationOpen resource →
09

Backtrader

Backtrader offers a readable Python model for strategies, indicators, analyzers, feeds, and brokers. It remains a common reference for event-driven backtests and can host a model callback with custom work. New projects should inspect current maintenance and integration requirements rather than relying only on its historical popularity. Its straightforward loop is also useful for learning exactly where market state becomes an order and a fill.

Python event-driven engineOpen resource →
10

NautilusTrader

NautilusTrader is a Rust-based event-driven trading platform with Python bindings, detailed market data and order models, portfolio accounting, backtesting, and live adapters. It fits builders who need higher execution fidelity and a production-oriented architecture. The system is more involved than an agent-specific benchmark, so evaluate whether venue detail and microstructure are central requirements before accepting the integration and operational complexity.

High-performance executionOpen resource →
11

Jesse

Jesse provides a focused Python environment for importing candles, writing strategies, running backtests, and optimizing systematic crypto logic. Its abstractions lower the setup cost for builders who want to move quickly from a rule to a research result. Inspect supported exchanges and the current project documentation before adoption. For language-agent work, plan an explicit adapter between model output and Jesse's strategy and order lifecycle.

Crypto strategy workflowOpen resource →

Open-source systems increasingly support compositional architectures.

A practical stack might use FinGPT for financial-language research, Qlib or vectorbt for feature work, an agent framework for orchestration, and BotTrade for the market-facing evaluation loop. Begin with the repository that owns the immediate problem, read its maintenance and licensing details, and integrate through typed boundaries. The final trading policy should still produce inspectable decisions, fills, portfolio state, and risk evidence.