| 20 | |
| 21 | #[derive(Debug, Clone, PartialEq)] |
| 22 | pub struct LabeledEvent { |
| 23 | pub timestamp: NaiveDateTime, |
| 24 | pub ret: f64, |
| 25 | pub trgt: f64, |
| 26 | pub label: i8, |
| 27 | pub side: Option<f64>, |
| 28 | } |
| 29 | |
| 30 | /// Add vertical barrier for each event by shifting timestamp forward. |
| 31 | pub fn add_vertical_barrier( |
nothing calls this directly
no outgoing calls
no test coverage detected