| Crates.io | tesser-backtester |
| lib.rs | tesser-backtester |
| version | 0.9.1 |
| created_at | 2025-11-19 06:28:13.621064+00 |
| updated_at | 2025-11-27 09:36:16.954733+00 |
| description | Backtesting harness that replays historical data through Tesser strategies |
| homepage | |
| repository | https://github.com/tesserspace/tesser |
| max_upload_size | |
| id | 1939508 |
| size | 125,890 |
Event-driven simulation engine that replays historical data through strategies and the execution stack.
Strategy, ExecutionEngine, Portfolio, and tesser-paper into a deterministic loop.BacktestConfig.BacktestReport summaries (signals emitted, orders sent, equity, dropped orders).Most users drive the backtester through tesser-cli backtest run, but you can embed it yourself:
let cfg = BacktestConfig::new(symbol.clone());
let market_registry = Arc::new(MarketRegistry::load_from_file("config/markets.toml")?);
let stream: BacktestStream = Box::new(PaperMarketStream::from_data(symbol.clone(), Vec::new(), candles));
let report = Backtester::new(cfg, strategy, execution, None, market_registry, Some(stream), None)
.run()
.await?;
cargo test -p tesser-backtester