Expand description
Range-bar chart transformation.
Build bars with a configured price range rather than a fixed time interval.
Use to_range_bars_from_ticks with executions, or
to_range_bars_from_ohlc for an approximation from existing bars. The newest
output bar can be incomplete.
Structs§
- Range
Bar - A single range bar with fixed price range and variable time span.
- Range
BarConfig - Configuration for range-bar construction.
Enums§
- Range
BarSource - What a chart’s range bars are built from.
Functions§
- to_
range_ bars_ from_ ohlc - Convert OHLC bars to range bars (approximation). A bar’s volume that would make its range bar’s volume overflow is left out.
- to_
range_ bars_ from_ ticks - Build range bars from trades (exact construction). A trade’s size that would make its bar’s volume overflow is left out.