Skip to main content

Module bar

Module bar 

Source
Expand description

OHLCV bars and a series data container.

Use Bar for a timestamped price and volume observation, and BarData to hold a series for charting or analysis. Bars can also represent a single value or a whitespace slot on the time axis.

Structs§

Bar
Represents a single OHLCV (Open, High, Low, Close, Volume) bar
BarColors
Colours of one bar that replace the colours of its series for that bar, in Bar::colors. A colour left None keeps the series’ colour, and each chart type reads the colours that apply to it.
BarData
Container for multiple bars with utility methods

Traits§

CandlePatterns
Extension trait for candlestick pattern detection