[package]
edition = "2024"
rust-version = "1.94.1"
name = "rustrade-backtest"
version = "0.4.0"
authors = ["nuniesmith"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic backtest engine for rustrade Brains — same trait, same brain, replayed offline"
readme = "README.md"
keywords = [
"trading",
"backtest",
"replay",
"rustrade",
]
categories = [
"algorithms",
"finance",
"simulation",
]
license = "MIT"
repository = "https://github.com/nuniesmith/rustrade"
[lib]
name = "rustrade_backtest"
path = "src/lib.rs"
[[test]]
name = "engine_properties"
path = "tests/engine_properties.rs"
[[test]]
name = "loader_robustness"
path = "tests/loader_robustness.rs"
[[test]]
name = "order_intents"
path = "tests/order_intents.rs"
[[test]]
name = "phase_4b"
path = "tests/phase_4b.rs"
[[test]]
name = "risk_gates"
path = "tests/risk_gates.rs"
[[test]]
name = "sma_replay"
path = "tests/sma_replay.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.csv]
version = "1"
[dependencies.rustrade-core]
version = "0.4.0"
[dependencies.rustrade-risk]
version = "0.4.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
"rt-multi-thread",
"macros",
"time",
"test-util",
]