roshar-bt

Crates.ioroshar-bt
lib.rsroshar-bt
version0.1.2
created_at2025-11-26 19:18:04.508014+00
updated_at2026-01-18 15:55:35.026511+00
descriptionBacktesting framework for trading strategies
homepage
repositoryhttps://github.com/calumrussell/roshar
max_upload_size
id1952095
size1,343,849
Calum (calumrussell)

documentation

README

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

Commit count: 62

cargo fmt