Expand description
Bar aggregate structures, data types and functionality.
Structs§
- Bar
- Represents an aggregated bar.
- BarSpecification
- Represents a bar aggregation specification including a step, aggregation method/rule and price type.
- BarSpecification
Builder - Builder for
BarSpecification
. - BarType
Parse Error
Enums§
- BarSpecification
Builder Error - Error type for BarSpecificationBuilder
- BarType
- Represents a bar type including the instrument ID, bar specification and aggregation source.
Functions§
- get_
bar_ interval - Returns the bar interval as a
TimeDelta
. - get_
bar_ interval_ ns - Returns the bar interval as
UnixNanos
. - get_
time_ bar_ start - Returns the time bar start as a timezone-aware
DateTime<Utc>
. Returns the time bar start as a timezone-awareDateTime<Utc>
.