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

Function overlaps

crates/openquant/src/backtesting_engine.rs:511–513  ·  view source on GitHub ↗
(lhs: (NaiveDateTime, NaiveDateTime), rhs: (NaiveDateTime, NaiveDateTime))

Source from the content-addressed store, hash-verified

509}
510
511fn overlaps(lhs: (NaiveDateTime, NaiveDateTime), rhs: (NaiveDateTime, NaiveDateTime)) -> bool {
512 lhs.0 <= rhs.1 && rhs.0 <= lhs.1
513}
514
515fn apply_purge_and_embargo(
516 initial_train: &[usize],

Callers 1

apply_purge_and_embargoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected