tzutrader
A composable C++ backtesting library for trading strategies (experimental)
Loading...
Searching...
No Matches
tzu::Indicator< T, In, Out > Class Template Reference

Base indicator class using CRTP for static polymorphism. More...

#include <indicators.h>

Public Member Functions

Out get () const noexcept
Out update (In value)

Detailed Description

template<class T, typename In, typename Out>
class tzu::Indicator< T, In, Out >

Base indicator class using CRTP for static polymorphism.

Template Parameters
TDerived indicator class
InInput data type
OutOutput/result type

Member Function Documentation

◆ get()

template<class T, typename In, typename Out>
Out tzu::Indicator< T, In, Out >::get ( ) const
inlinenoexcept

◆ update()

template<class T, typename In, typename Out>
Out tzu::Indicator< T, In, Out >::update ( In value)
inline

The documentation for this class was generated from the following file: