Skip to main content

ohlcv_schema_from_aggregation

Function ohlcv_schema_from_aggregation 

Source
pub fn ohlcv_schema_from_aggregation(
    aggregation: BarAggregation,
) -> Result<Schema>
Expand description

Returns the Databento OHLCV schema for a bar aggregation.

ยงErrors

Returns an error if Databento has no OHLCV schema for aggregation.