LiveBack is a Python-based framework designed for seamless backtesting and live trading of financial strategies. It provides a unified API for strategy development, with pluggable runtime engines for both backtesting and live trading modes.
- Unified Strategy API for both backtesting and live trading
- Support for pair-trading strategies
- Efficient backtesting with vectorized and event-driven options
- Adaptable to various data sources
- Real-time and post-run visualization tools
- Comprehensive metrics and reporting
- Python 3.14
uvpackage manager
- Clone the repository:
git clone <repository-url> cd liveback
- Install dependencies using
uv:uv sync
- Setup pre-commit:
pre-commit install
- Testing:
uv run -m unittest discover -s src/tests
Contributions are welcome! Please submit a pull request or open an issue for discussion.