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.
Constants§
- BAR_
SPEC_ 1_ DAY_ LAST - BAR_
SPEC_ 1_ HOUR_ LAST - BAR_
SPEC_ 1_ MINUTE_ LAST - BAR_
SPEC_ 1_ MONTH_ LAST - BAR_
SPEC_ 1_ SECOND_ LAST - BAR_
SPEC_ 1_ WEEK_ LAST - BAR_
SPEC_ 2_ DAY_ LAST - BAR_
SPEC_ 2_ HOUR_ LAST - BAR_
SPEC_ 3_ DAY_ LAST - BAR_
SPEC_ 3_ MINUTE_ LAST - BAR_
SPEC_ 3_ MONTH_ LAST - BAR_
SPEC_ 4_ HOUR_ LAST - BAR_
SPEC_ 5_ DAY_ LAST - BAR_
SPEC_ 5_ MINUTE_ LAST - BAR_
SPEC_ 6_ HOUR_ LAST - BAR_
SPEC_ 6_ MONTH_ LAST - BAR_
SPEC_ 12_ HOUR_ LAST - BAR_
SPEC_ 12_ MONTH_ LAST - BAR_
SPEC_ 15_ MINUTE_ LAST - BAR_
SPEC_ 30_ MINUTE_ LAST
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>
.