Files
foxhunt/backtesting/Cargo.toml
jgrusewski 49deff4f43 🎉 MAJOR SUCCESS: ML Crate Achieves Zero Compilation Errors
Fixed all compilation errors in the ML crate through systematic parallel agent deployment:

 ERRORS ELIMINATED:
- Duplicate Decimal import conflicts resolved
- All Option<f64> arithmetic operations fixed with proper unwrapping
- Error type conversions to MLError implemented
- Type mismatches between Price/Volume/Decimal resolved
- Missing ToPrimitive imports added for Decimal conversions

 FILES FIXED:
- ml/src/lib.rs: Import conflicts resolved
- ml/src/features.rs: All Option<f64> arithmetic fixed
- ml/src/validation.rs: Type conversions fixed
- ml/src/bridge.rs: Error handling improved
- ml/src/training/unified_data_loader.rs: Type mismatches resolved
- ml/src/inference.rs: Type conversions fixed
- ml/src/universe/mod.rs: Missing imports added
- ml/src/common/mod.rs: Conversion utilities enhanced

 RESULT:
cargo check -p ml: SUCCESS (0 errors, warnings only)
Workspace still has 419 errors in other crates but ML crate is complete

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-28 00:43:19 +02:00

82 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 # Use real ML models for backtesting
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 = []