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

Function ts

crates/openquant/tests/data_processing.rs:4–6  ·  view source on GitHub ↗
(seconds: i64)

Source from the content-addressed store, hash-verified

2use openquant::data_processing::{
3 align_calendar_columns, align_calendar_rows, clean_ohlcv_rows, quality_report,
4 CalendarAlignmentReport, OhlcvRow,
5};
6
7fn ts(seconds: i64) -> NaiveDateTime {
8 DateTime::<Utc>::from_timestamp(seconds, 0).expect("timestamp").naive_utc()
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected