Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cpp_RollRange

C++ Rolling Range / Quantile class


Description

C++ class documentation

Arguments

n

indicator period

p

probability value [0, 1]

Details

Usage

RollRange( int n, double p = 0.5 )

Public Members and Methods

Name Return Type Description
Add( InputType value ) void update indicator
Reset() void reset to initial state
IsFormed() bool is indicator value valid?
GetValue() Range has members double min, max, quantile
GetMinHistory() std::vector< double > return min history
GetMaxHistory() std::vector< double > return max history
GetQuantileHistory() std::vector< double > return quantile history
GetHistory() List return values history data.table with columns min, max

See Also


QuantTools

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.