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

Function fixture_dir

crates/openquant/tests/labeling.rs:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18fn fixture_dir() -> std::path::PathBuf {
19 Path::new(env!("CARGO_MANIFEST_DIR"))
20 .join("../../tests/fixtures/filters")
21 .canonicalize()
22 .expect("fixture dir")
23}
24
25fn load_close() -> Vec<(NaiveDateTime, f64)> {
26 let path = fixture_dir().join("dollar_bar_sample.csv");

Callers 1

load_closeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected