MCPcopy Create free account
hub / github.com/Open-Quant/openquant / BacktestSafeguards

Class BacktestSafeguards

crates/openquant/src/backtesting_engine.rs:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10#[derive(Debug, Clone, PartialEq)]
11pub struct BacktestSafeguards {
12 pub survivorship_bias_control: String,
13 pub look_ahead_control: String,
14 pub data_mining_control: String,
15 pub cost_assumption: String,
16 pub multiple_testing_control: String,
17}
18
19impl BacktestSafeguards {
20 pub fn validate(&self) -> Result<(), String> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected