inditech 0.1.0

A set of technical indicators for time series analysis
Documentation
1
2
3
4
5
6
7
8
9
10
use num_traits::Float;
use std::fmt::Debug;

pub trait Slider<F>: Debug
where
    F: Float,
{
    fn last(&self) -> Option<F>;
    fn push(&mut self, item: F);
}