8 releases (breaking)

0.6.1 Sep 24, 2024
0.6.0 Sep 5, 2024
0.5.0 Jul 23, 2024
0.4.0 Jul 3, 2024
0.0.1 May 22, 2024

#59 in Finance

Apache-2.0

215KB
3.5K SLoC

Crates.io Apache licensed Build Status

traquer

A simple, dataframe-agnostic, technical analysis library that offers over 140 functions for time-series analysis and gives you false hope that you can beat the market.

types of indicators

correlation

Signals that compare two or more variables and their relationship to one another.

momentum

Provides technical indicators that measures the rate of change or speed of price movement of a security. In the context of this library, these indicators are typically range bound and/or centred around zero. These often implicitly show trend.

smooth

Provides moving average functions. Often used to track trend, levels of support, breakouts, etc... The results are in the same scale as input data and are often used as a signal line for input data.

statistic

A set of common statistical functions that can describe features of a dataset or infer conclusions such as prediction accuracy or patterns.

trend

Indicators where the direction may signify opportunities. The slope and trajectory of the indicator are more important than the value alone.

volatility

Indicators that measure the price movement, regardless of direction. In essence, it is signaling whether there is a trend or not, generally based on the delta between the highest and lowest prices in period. It may also be represented as channels for which it expects prices to fall within.

volume

Indicators that factor in how much an asset has been traded in a period of time. Depending on the indicator, it may be a momentum indicator or trend indicator.

installation

  1. (optional) https://rustup.rs/
  2. (optional) cargo new
  3. cargo add traquer

quick start

use traquer::smooth;

smooth::ewma(&[1.0,2.0,3.0,4.0,5.0], 3).collect::<Vec<f64>>();

contributing

encouraged.

Dependencies

~595KB
~11K SLoC