Struct technical_indicators::charts::candlestick::CandleStick
[−]
[src]
pub struct CandleStick { /* fields omitted */ }
Methods
impl CandleStick
[src]
Trait Implementations
impl Chart for CandleStick
[src]
fn as_chart(&self) -> &Chart
[src]
fn get(&self, index: usize) -> Option<&DataPoint>
[src]
Get value of this Chart
at index
.
fn push(&mut self, data_point: &DataPoint)
[src]
Add newest data point to the chart.
fn pop_front(&mut self)
[src]
Remove oldest data point from the chart.
fn len(&self) -> usize
[src]
Get number of data points in this chart.