pub fn ohlcv_schema_from_aggregation( aggregation: BarAggregation, ) -> Result<Schema>
Returns the Databento OHLCV schema for a bar aggregation.
Returns an error if Databento has no OHLCV schema for aggregation.
aggregation