Docs.rs
  • finlib-ta-0.6.0
    • finlib-ta 0.6.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • Sarsoo
    • Dependencies
      • libm ^0.2.15 normal
      • serde ^1.0 normal optional
      • assert_approx_eq ^1.0.0 dev
      • bencher ^0.1.5 dev
      • bincode ^1.3.1 dev
      • csv ^1.1.0 dev
      • rand ^0.6.5 dev
    • Versions
    • 47.22% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

finlib_ta0.6.0

Period

Required Methods

  • period

Implementors

In crate finlib_ta

finlib_ta

Trait Period

Source
pub trait Period {
    // Required method
    fn period(&self) -> usize;
}
Expand description

Return the period used by the indicator.

Required Methods§

Source

fn period(&self) -> usize

Implementors§

Source§

impl Period for AverageTrueRange

Source§

impl Period for BollingerBands

Source§

impl Period for ChandelierExit

Source§

impl Period for CommodityChannelIndex

Source§

impl Period for EfficiencyRatio

Source§

impl Period for ExponentialMovingAverage

Source§

impl Period for FastStochastic

Source§

impl Period for HullMovingAverage

Source§

impl Period for KeltnerChannel

Source§

impl Period for Maximum

Source§

impl Period for MeanAbsoluteDeviation

Source§

impl Period for Minimum

Source§

impl Period for MoneyFlowIndex

Source§

impl Period for RateOfChange

Source§

impl Period for RelativeStrengthIndex

Source§

impl Period for SimpleMovingAverage

Source§

impl Period for StandardDeviation

Source§

impl Period for WeightedMovingAverage