btEasy Playground

Flexible backtesting framework for quantitative strategies

Getting started with btRun locally
Install
pip install bt
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: bt)

bt is a third-party package. Flexible backtesting framework for quantitative strategies. Install with: pip install bt

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?