| Crates.io | roshar-bt |
| lib.rs | roshar-bt |
| version | 0.1.2 |
| created_at | 2025-11-26 19:18:04.508014+00 |
| updated_at | 2026-01-18 15:55:35.026511+00 |
| description | Backtesting framework for trading strategies |
| homepage | |
| repository | https://github.com/calumrussell/roshar |
| max_upload_size | |
| id | 1952095 |
| size | 1,343,849 |
TODO:
Performance Measurement
Integrate lot size
Multiple assets
Implement trading strategy in examples
Add perf tests
Cancel orders
Position tracking
impl get_orders
Move fill to l2
Refactor the FillModel trait, is too big, there is some overlap with order management here
Basic Config struct
Market fills are handling qty updates differently to Limit with introduction of filled_qty property to L2Order
Add latency model
Add cost model
Fix rounding errors - tick->price conversion is broken, also qtys stored in orderbook are suspicious should probably perform these conversions at orderbook level (but will also need to match in fill, which should be okay)
Refactor the BT creation so there is less boilerplate