Trait technical_indicators::charts::Chart [] [src]

pub trait Chart {
    fn as_chart(&self) -> &Chart;
fn get(&self, index: usize) -> Option<&DataPoint>;
fn len(&self) -> usize;
fn push(&mut self, data_point: &DataPoint);
fn pop_front(&mut self); fn open<'chart>(&'chart self) -> SourceSeries { ... }
fn high<'chart>(&'chart self) -> SourceSeries { ... }
fn low<'chart>(&'chart self) -> SourceSeries { ... }
fn close<'chart>(&'chart self) -> SourceSeries { ... }
fn volume<'chart>(&'chart self) -> SourceSeries { ... } }

Required Methods

Get value of this Chart at index.

Get number of data points in this chart.

Add newest data point to the chart.

Remove oldest data point from the chart.

Provided Methods

Implementors