btEasy Examples

Flexible backtesting framework for quantitative strategies

Getting started with bt

Installation and basic usage of bt.

python
# Install: pip install bt
import bt

# Basic bt usage
print(f"Using bt")
# See documentation for detailed examples
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

Common bt operations

Frequently used features of bt.

python
# Install: pip install bt
import bt

# Common bt patterns
print(f"bt version: {bt.__version__}")

These are the most commonly used features of bt in everyday development.

Want to try these examples interactively?

Open Easy Playground