Files
foxhunt/backtesting/Cargo.toml
jgrusewski aa67a3b6af fix: Major ML compilation improvements - reduced errors from 133 to 12
- Fixed all import issues across ML modules
- Corrected type imports from common crate
- Fixed MarketData/MarketDataSnapshot type mismatch
- Resolved namespace conflicts in ML lib.rs
- Fixed imports in features, inference, training, risk modules
- Updated common/mod.rs to use correct crate imports

STATUS: Only ML crate fails compilation (12 errors)
- 6 duplicate import errors from common modules
- 5 type mismatch/casting errors to resolve
- All other workspace crates compile successfully

This represents 91% reduction in ML errors (133→12)
2025-09-27 23:41:09 +02:00

83 lines
1.7 KiB
TOML

[package]
name = "backtesting"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
publish.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Backtesting engine for Foxhunt HFT trading strategies"
[dependencies]
tokio = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
uuid = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
chrono = { workspace = true }
rust_decimal = { workspace = true }
rust_decimal_macros = { workspace = true }
trading_engine.workspace = true
# ml.workspace = true # Temporarily using stub
ml = { path = "../_stubs/ml-compile-only", package = "ml_stub" }
common = { path = "../common" }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
dashmap = { workspace = true }
crossbeam = { workspace = true }
crossbeam-channel = { workspace = true }
parking_lot = { workspace = true }
statrs = { workspace = true }
ndarray = { workspace = true }
polars = { version = "0.35", features = ["lazy"] } # Direct dependency for backtesting data processing
csv = { workspace = true }
bincode = { workspace = true }
prometheus = { workspace = true }
sys-info = "0.9"
fastrand = "2.0"
[dev-dependencies]
tokio-test = { workspace = true }
tempfile = { workspace = true }
proptest = { workspace = true }
criterion = { workspace = true }
[[bench]]
name = "replay_performance"
harness = false
[[bench]]
name = "hft_latency_benchmark"
harness = false
[features]
default = []