pub fn run_batch_checked<I: Indicator + ?Sized>(
indicator: &mut I,
bars: &[Bar],
) -> Result<Vec<TimestampedOutput>, (Vec<TimestampedOutput>, BarValidationError)>Expand description
Like run_batch, but validates each bar via
Indicator::on_checked_bar and stops at the
first invalid bar, returning the entries collected so far plus the validation error.