Mirrors the alpha_train CLI flag (--kernel-step-trace <path>) into fxt-backtest. The PerceptionTrainerConfig already accepts the path; this commit just exposes the CLI surface and propagates through: fxt-backtest run --kernel-step-trace <path> -> BacktestHarnessConfig.kernel_step_trace_path -> PerceptionTrainerConfig.kernel_step_trace_path Sweep YAML gains a `kernel_step_trace: Option<PathBuf>` base field. Argo lob-backtest-sweep-template gains a `kernel-step-trace` workflow parameter (default disabled; when set, --features kernel-step-trace is passed to cargo build AND --kernel-step-trace to fxt-backtest). Gated behind the `kernel-step-trace` Cargo feature (matching alpha_train). When disabled (default), zero overhead. Enables per-step JSONL diagnostic emission from inference kernels -- needed for Smoke 2 deep-dive after sampling histograms (in parallel investigation) localize the per-horizon dynamics bottleneck. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "fxt-backtest"
|
|
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 = "Real-LOB GPU backtest CLI (run + sweep aggregator)"
|
|
|
|
[features]
|
|
default = []
|
|
# Per-step kernel-state JSONL trace. Proxies through to ml-alpha's
|
|
# `kernel-step-trace` feature so the trainer compiles in the GPU log
|
|
# ring + drain task. Off by default (zero overhead). Enable with
|
|
# `cargo build -p fxt-backtest --features kernel-step-trace`.
|
|
kernel-step-trace = ["ml-alpha/kernel-step-trace"]
|
|
|
|
[dependencies]
|
|
ml-backtesting = { path = "../../crates/ml-backtesting" }
|
|
ml-alpha = { path = "../../crates/ml-alpha" }
|
|
ml-core.workspace = true
|
|
anyhow.workspace = true
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json.workspace = true
|
|
serde_yaml.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|