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

Function format_naive_datetimes

crates/pyopenquant/src/helpers.rs:39–41  ·  view source on GitHub ↗
(values: Vec<chrono::NaiveDateTime>)

Source from the content-addressed store, hash-verified

37}
38
39pub fn format_naive_datetimes(values: Vec<chrono::NaiveDateTime>) -> Vec<String> {
40 values.into_iter().map(|v| v.format("%Y-%m-%d %H:%M:%S").to_string()).collect()
41}
42
43pub fn pair_timestamps_values(
44 timestamps: Vec<String>,

Calls

no outgoing calls

Tested by 1