Welcome to PyFundLib’s documentation!

PyPI GitHub stars

PyFundLib — The Ultimate Python Framework for Algorithmic Trading & ML Alpha

A complete, production-grade quant stack: backtesting, ML predictions, live execution, automation, and beautiful reporting — all in pure Python.

Features

  • Institutional-grade backtester

  • Full ML pipeline (LSTM, XGBoost, RF) with MLflow

  • Per-ticker model registry & versioning

  • Live trading (Alpaca, Zerodha, IBKR)

  • 24/7 automation with scheduler

  • Beautiful CLI, plots, and reports

  • One-command deployment

Quickstart

pip install pyfundlib
pyfundlib backtest SPY --strategy ml_random_forest
pyfundlib automate --mode paper

Indices and tables