Crate tatk

source ·
Expand description

Technical Analysis Tools written in Rust.

This crate is used to an analyze data from samples using common indicators to generate signals.

Modules

  • Indicators generated from samples used for signals.
  • Shorthand macros used to create indicators.
  • Traits for both indicators and user-defined data types.

Macros

  • Initialize an Average True Range (ATR) indicator.
  • Initialize a Bollinger Bands (BB / BBands) indicator.
  • Initialize a Cross indicator using two lines.
  • Initialize a Double Exponential Moving Average (DEMA) indicator.
  • Initialize an Exponential Moving Average (EMA) indicator.
  • Initialize a Linear Regression (LR / LineReg) indicator.
  • Initialize a Moving Average Convergence and Divergence (MACD) indicator.
  • Initialize a McGinley Dynamic (MDI) indicator.
  • Initialize an On-Balance Volume (OBV) indicator.
  • Initialize a Rate of Change (ROC) indicator.
  • Initialize a Relative Strength Index (RSI) indicator.
  • Initialize a Standard Deviation (SD / Stdev) for a period of a buffer.
  • Initialize a Simple Moving Average (SMA) indicator.
  • Initialize a True Range (TR) indicator.
  • Initialize a Variance (Var) for a period of a buffer.

Structs

  • Buffer with maximum capacity that rotates itself.

Enums

  • Errors that can occur within the library.

Type Aliases

  • Represents the internally used numeric type for the crate.