Metadata-Version: 2.4
Name: pyfundlib
Version: 0.1.2
Summary: End-to-End Python Framework for Algorithmic Trading: Backtesting, ML Alpha, Live Execution & Automation
Project-URL: Homepage, https://pyfund.tech
Project-URL: Documentation, https://pyfund.tech/docs
Project-URL: Repository, https://github.com/Hima-D/pyfundlib
Project-URL: Issues, https://github.com/Hima-D/pyfundlib/issues
Project-URL: Changelog, https://github.com/Hima-D/pyfundlib/releases
Author-email: Himanshu Dixit <hima@pyfund.tech>
License: MIT
Keywords: algorithmic-trading,automated-trading,backtesting,live-trading,machine-learning,ml-alpha,portfolio-optimization,quantitative-finance
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pydantic :: 2
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.10
Requires-Dist: apscheduler>=3.10.4
Requires-Dist: matplotlib>=3.8.0
Requires-Dist: mlflow>=2.12.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: pyarrow>=14.0.0
Requires-Dist: scikit-learn>=1.3.0
Requires-Dist: seaborn>=0.13.0
Requires-Dist: torch>=2.1.0
Requires-Dist: xgboost>=2.0.0
Requires-Dist: yfinance>=0.2.40
Provides-Extra: broker
Requires-Dist: alpaca-py>=3.0; extra == 'broker'
Requires-Dist: kiteconnect>=4.0; extra == 'broker'
Provides-Extra: dev
Requires-Dist: black>=24.0; extra == 'dev'
Requires-Dist: jupyterlab>=4.0; extra == 'dev'
Requires-Dist: mypy>=1.11; extra == 'dev'
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6.0; extra == 'dev'
Requires-Dist: sphinx-rtd-theme; extra == 'dev'
Requires-Dist: sphinx>=7.0; extra == 'dev'
Requires-Dist: streamlit>=1.38.0; extra == 'dev'
Provides-Extra: full
Requires-Dist: alpaca-py>=3.0; extra == 'full'
Requires-Dist: black>=24.0; extra == 'full'
Requires-Dist: jupyterlab>=4.0; extra == 'full'
Requires-Dist: kiteconnect>=4.0; extra == 'full'
Requires-Dist: mypy>=1.11; extra == 'full'
Requires-Dist: pre-commit; extra == 'full'
Requires-Dist: pytest-cov; extra == 'full'
Requires-Dist: pytest>=8.0; extra == 'full'
Requires-Dist: ruff>=0.6.0; extra == 'full'
Requires-Dist: sphinx-rtd-theme; extra == 'full'
Requires-Dist: sphinx>=7.0; extra == 'full'
Requires-Dist: streamlit>=1.38.0; extra == 'full'
Description-Content-Type: text/markdown

# PyFundLib ⚡

**The most powerful, clean, and production-ready Python library for algorithmic trading & ML-driven alpha**

From rapid backtesting of classic strategies to deploying LSTM-powered live trading systems — everything in modern, type-annotated Python.

Designed by a quant. Built for quants who want speed, clarity, and real edge.

<p align="center">
  <img src="https://img.shields.io/pypi/v/pyfundlib?style=flat-square&color=blue" alt="PyPI">
  <img src="https://img.shields.io/pypi/pyversions/pyfundlib?style=flat-square" alt="Python Versions">
  <img src="https://img.shields.io/github/stars/hima-d/pyfundlib?style=flat-square&label=Stars" alt="GitHub Stars">
  <img src="https://img.shields.io/github/license/hima-d/pyfundlib?style=flat-square" alt="License">
  <img src="https://img.shields.io/badge/status-Production%20Ready-success?style=flat-square" alt="Status">
</p>

<p align="center">
  <strong>Clean API • Institutional Features • Zero Boilerplate</strong>
</p>

## Why PyFundLib Wins

| Feature                            | PyFundLib                              | Backtrader / VectorBT / Others |
|------------------------------------|----------------------------------------|--------------------------------|
| Available on PyPI                  | Yes `pip install pyfundlib`                 | No                             |
| Modern `src/` layout + typing      | Yes                                    | Rare                           |
| Built-in ML (LSTM, XGBoost, RF)    | Yes Full pipelines + versioning     | No                             |
| Multi-broker live execution        | Alpaca • Zerodha • IBKR • Binance     | Partial                        |
| Smart Zstd Parquet caching         | Yes Automatic + metadata            | No                             |
| Beautiful reporting & plots        | Yes One-liner equity curves, heatmaps| Manual                         |
| CLI + scheduler + auto-retrain     | Yes `pyfundlib live`, cron jobs       | No                             |
| Dry-run by default (no accidents)  | Yes                                    | Risky                          |

## Installation

```bash
pip install pyfundlib