Backtest a stock rule
Prices, a fast research test, then an engine. The formula is there so the code has something to match.
- 01 yfinancePull a price history
- 02 vectorbtTest the rule on that history
- 03 LEANMove it into a full engine
- 04 Time-series momentumThe momentum formula, written out
- 05 The cross-section of expected returnsThe cross-section simple rules get compared with