Overview of bt features
masterbt is a flexible backtesting framework for Python designed to test quantitative trading strategies. Key features include:
- Tree Structure: Uses a tree of
Nodeobjects to facilitate the construction of modular and re-usable complex algorithmic trading strategies. EachNodehas its own price index for allocation determination. - Algorithm Stacks: Uses
AlgoandAlgoStackto create modular, re-usable, and testable strategy logic. - Charting and Reporting: Provides functions to visualize backtest results.
- Detailed Statistics: Calculates various backtest statistics and provides
Resultdisplay methods to compare statistics across multiple backtests.