With the development of artificial intelligence and machine learning, there are more and more free, open-source ai investing bots available on Github that investors can use for backtesting, algorithmic trading, and quantitative analysis. Two of the most popular ones are backtrader and Qlib. Backtrader is an open-source Python-based quantitative trading framework. It features a backtesting engine for testing trading strategies on historical data. Qlib is another Python-based framework for financial data analysis, backtesting, algorithmic trading models design. Both backtrader and Qlib Github repositories have been starred for thousands of times, showing their popularity in the investing field.

Backtrader – powerful Python backtesting framework
Backtrader is an event-driven open-source Python backtesting library designed specifically for trading strategy development and historical data simulation. On Github, backtrader has over 7,400 stars. It provides a lot of features like data feeds, analyzers, automated trading, multi-asset support, optimization, walk-forward testing, etc. With its modular architecture and flexibility, backtrader allows easy extension and customization for quant developers. Many sample trading strategies are also included in its Github repository which makes it very handy for investors and trading firms to quickly build and backtest their models.
Qlib – full pipeline for quantitative investment
Qlib is another popular open-source project focusing on the full pipeline of quantitative investment, including data processing, model training, backtesting, paper trading to real-world trading. It utilizes technologies like Docker, k8s, Jupyter Hub to manage large scale distributed tasks. Currently, Qlib Github repository has over 4,100 stars. One significant advantage of Qlib is its high-quality Chinese stock market datasets for A shares, as well as integrated machine learning modules. With Qlib, the whole loop of strategy research, backtesting, tuning and paper trading can be streamlined.
In summary, backtrader and Qlib are two free, open-source Github projects that provide powerful functionalities for ai-driven investing and trading. With thousands of stars, they have become popular choices for hedge funds, investment banks, as well as individual investors in building quantitative analysis models.