Skip to content

About

Open-source libraries, bots, backtesters, data tools and AI agents for trading stocks, futures, forex and crypto.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Awesome Trading Tools

Awesome Trading Tools

Awesome PRs welcome License CC0 1.0 Last commit

Follow on GitHub Star this list Buy me a coffee

Open-source libraries, bots, backtesters, data tools and AI agents for trading stocks, futures, forex and crypto. Every entry shows its license.

This list is a software index, not financial advice. Trading can lose all your money.

Rules of this list: every repo exists, is public, is not archived, states a license and has had a commit in the last year. One plain sentence each. Star counts and claims are the authors' own, we did not test every tool. Checked 2026-10-18. See CONTRIBUTING.md.

Contents

Trading bots and frameworks

Run strategies live or on paper, with exchange connections built in.

Backtesting and research

Test an idea on past data before you risk money.

  • cuemacro/finmarketpy stars - Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians). (Apache-2.0)
  • fasiondog/hikyuu stars - An open-source, high-performance quantitative trading framework in C++/Python focused on strategy analysis. (Apache-2.0)
  • fbertram/TuringTrader stars - The Open-Source Backtesting Engine/ Trading Simulator by Bertram Enterprises. (AGPL-3.0)
  • kernc/backtesting.py stars - Small Python library for backtesting trading strategies with a simple API. (AGPL-3.0)
  • nkaz001/hftbacktest stars - Free, open source, a high frequency trading and market making backtesting and trading bot, which accounts for limit orders. (MIT)
  • pmorissette/bt stars - Flexible Python backtesting framework for portfolio strategies. (MIT)
  • polakowo/vectorbt stars - Fast Python library for testing many strategies at once with vectorized backtests. (check repo)
  • stefan-jansen/zipline-reloaded stars - Maintained fork of the Zipline backtesting engine. (Apache-2.0)

Exchange and broker libraries

Unified APIs for exchanges and brokers.

  • alpacahq/alpaca-py stars - Official Python SDK for Alpaca stock and crypto trading and market data. (Apache-2.0)
  • ccxt/ccxt stars - Unified API for more than 100 crypto exchanges, in JavaScript, Python, PHP, C# and Go. (MIT)
  • ib-api-reloaded/ib_async stars - Python framework for Interactive Brokers, successor to ib_insync. (BSD-2-Clause)
  • JKorf/Binance.Net stars - C#/.NET client library for the Binance.com cryptocurrency exchange REST and WebSocket APIs, supporting Spot and Futures trading. (MIT)
  • JKorf/CryptoExchange.Net stars - Base library for building clients for crypto exchange APIs in .NET. (MIT)
  • pmxt-dev/pmxt stars - CCXT for prediction markets. PMXT is a unified API for trading on Polymarket, Kalshi, and more. (MIT)
  • sammchardy/python-binance stars - Python wrapper for the Binance exchange REST and WebSocket APIs. (MIT)
  • tardis-dev/tardis-node stars - Convenient access to tick-level real-time and historical cryptocurrency market data via Node.js. (MPL-2.0)

Market data and downloaders

Prices, fundamentals, order books and on-chain data.

  • defeat-beta/defeatbeta-api stars - An open-source alternative to Yahoo Finance's market data APIs with higher reliability. (Apache-2.0)
  • JerBouma/FinanceDatabase stars - Database of financial symbols and categories for equities, ETFs, funds and more. (MIT)
  • JerBouma/FinanceToolkit stars - Transparent and Efficient Financial Analysis. (MIT)
  • openbq-org/OpenBB stars - Open data platform for analysts, quants and AI agents, with many data sources behind one interface. (check repo)
  • pydata/pandas-datareader stars - Pull remote data sources such as FRED into pandas. (check repo)
  • questdb/questdb stars - Fast open-source time-series database, often used for tick and market data. (Apache-2.0)
  • ranaroussi/yfinance stars - Download Yahoo Finance market data in Python. For personal use, check Yahoo's terms. (Apache-2.0)

Technical analysis and indicators

Indicator libraries and charting.

  • bukosabino/ta stars - Technical Analysis Library using Pandas and Numpy. (MIT)
  • cinar/indicator stars - High-performance technical analysis indicators and backtesting framework in Go. (AGPL-3.0)
  • TA-Lib/ta-lib stars - Technical analysis library: indicators and candlestick patterns, batch and streaming, native in C, Rust, Java, C#. (BSD-3-Clause)
  • TA-Lib/ta-lib-python stars - Python wrapper for TA-Lib. (BSD-2-Clause)
  • ta4j/ta4j stars - A Java library for technical analysis. (check repo)
  • tradingview/lightweight-charts stars - Small, fast financial charts for the web from TradingView. (Apache-2.0)

Portfolio, risk and performance

Optimize allocation and measure results.

  • cvxgrp/cvxportfolio stars - Portfolio optimization and back-testing. (GPL-3.0)
  • dcajasn/Riskfolio-Lib stars - Portfolio Optimization in Python. (BSD-3-Clause)
  • PyPortfolio/PyPortfolioOpt stars - Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity. (MIT)
  • ranaroussi/quantstats stars - Portfolio analytics for quants: performance and risk statistics with tear sheets. (Apache-2.0)
  • skfolio/skfolio stars - Python library for portfolio optimization built on top of scikit-learn. (BSD-3-Clause)
  • stefan-jansen/pyfolio-reloaded stars - Maintained fork of Pyfolio for performance and risk analysis of trading strategies. (Apache-2.0)

Machine learning and AI for trading

Research code, models and LLM agents for markets. Results are not a promise of profit.

Research platforms and terminals

Full desktop, web or terminal platforms for analysis.

  • AlexWan/OsEngine stars - Open Source algo trading platform. (check repo)
  • Fincept-Corporation/FinceptTerminal stars - FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools. (check repo)
  • StockSharp/StockSharp stars - Algorithmic trading and quantitative trading open source platform to develop trading robots. (check repo)

Crypto, DeFi and on-chain

Bots and tools that read or trade on-chain markets.

  • BowTiedDevil/degenbot stars - Building blocks for Uniswap (V2, V3, V4), Curve V1, Solidly V2, Balancer V2 & Aave V3 arbitrage. (MIT)

How to choose

  • Paper trade first. Run any bot on a demo account for weeks before you use real money.
  • Past results do not predict future results. Backtests are easy to overfit. Check for look-ahead bias and fees.
  • Read the code before you give it API keys. Use keys with trading rights only, never withdrawal rights.
  • Check the license. Some tools are free for personal use and paid for firms.

Contributing

See CONTRIBUTING.md. One entry per pull request, plain words, real sources only.

About

Maintained by @devanasolver. Listings follow the rules in CONTRIBUTING.

Sponsor me

If this list is useful, buy me a coffee.

About

Open-source libraries, bots, backtesters, data tools and AI agents for trading stocks, futures, forex and crypto.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages