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

Function clean_ohlcv_rows

crates/openquant/src/data_processing.rs:542–546  ·  view source on GitHub ↗
(rows: &[OhlcvRow], keep_last: bool)

Source from the content-addressed store, hash-verified

540}
541
542pub fn clean_ohlcv_rows(rows: &[OhlcvRow], keep_last: bool) -> (Vec<OhlcvRow>, DataQualityReport) {
543 let cols = rows_to_columns(rows);
544 let (clean_cols, report) = clean_ohlcv_columns(&cols, keep_last).expect("validated rows");
545 (columns_to_rows(&clean_cols), report)
546}
547
548pub fn quality_report(
549 rows: &[OhlcvRow],

Callers 1

clean_and_align_rowsFunction · 0.85

Calls 3

rows_to_columnsFunction · 0.85
clean_ohlcv_columnsFunction · 0.85
columns_to_rowsFunction · 0.85

Tested by 1

clean_and_align_rowsFunction · 0.68