(seconds: i64)
| 2 | use openquant::data_structures::{standard_bars, time_bars, StandardBarType, Trade}; |
| 3 | |
| 4 | fn ts(seconds: i64) -> NaiveDateTime { |
| 5 | DateTime::<Utc>::from_timestamp(seconds, 0).expect("timestamp").naive_utc() |
| 6 | } |
| 7 | |
| 8 | fn sample_trades() -> Vec<Trade> { |
| 9 | vec![ |
nothing calls this directly
no outgoing calls
no test coverage detected