Justin Gu
9c39ad054d
feat: multi-stock portfolio backtest engine
- Add PortfolioBacktestEngine for shared-capital multi-stock backtesting
- Support equal allocation mode (total_cash / N per stock)
- Individual BacktestEngine per stock with allocated capital
- Aggregate performance via capital-weighted returns
- Add StockData, PortfolioResult data classes
- Add 4 tests: basic run, equal allocation, empty stocks, serialization
2026-06-11 02:31:43 +08:00
..
2026-04-11 19:55:19 +08:00
2026-05-22 04:19:07 +08:00
2026-05-22 22:44:45 +08:00
2026-06-09 18:15:37 +08:00
2026-06-10 15:03:41 +08:00
2026-06-11 01:56:59 +08:00
2026-06-09 18:21:25 +08:00
2026-06-11 01:44:39 +08:00
2026-06-09 17:55:24 +08:00
2026-06-09 18:21:25 +08:00
2026-06-09 16:43:44 +08:00
2026-05-22 04:19:07 +08:00
2026-06-10 15:03:41 +08:00
2026-06-11 02:25:42 +08:00
2026-06-10 15:03:41 +08:00
2026-05-21 23:21:21 +08:00
2026-05-21 23:21:21 +08:00
2026-05-21 23:21:21 +08:00
2026-05-21 23:21:21 +08:00
2026-06-09 16:05:17 +08:00
2026-05-21 23:21:21 +08:00
2026-06-10 15:03:41 +08:00
2026-06-10 15:03:41 +08:00
2026-06-10 15:03:41 +08:00
2026-06-11 02:31:43 +08:00
2026-06-10 15:03:41 +08:00
2026-06-11 02:17:52 +08:00
2026-06-10 15:03:41 +08:00
2026-06-10 15:03:41 +08:00
2026-06-07 21:13:49 +08:00
2026-06-07 21:13:49 +08:00
2026-06-07 21:13:49 +08:00