|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
Tracks the average downside, calculate as the square root of the average of the squared negative values. More...
#include <indicators.h>
Data Fields | |
| double(* | update )(struct WU_Downside_ *self, double value) |
| void(* | delete )(struct WU_Downside_ *self) |
| double | value |
| double | downside_m2 |
| int64_t | count |
Tracks the average downside, calculate as the square root of the average of the squared negative values.
It is used with returns to measure the volatility of negative returns.
Definition at line 250 of file indicators.h.
| int64_t WU_Downside::count |
Definition at line 255 of file indicators.h.
| void(* WU_Downside::delete) (struct WU_Downside_ *self) |
Definition at line 252 of file indicators.h.
| double WU_Downside::downside_m2 |
Definition at line 254 of file indicators.h.
| double(* WU_Downside::update) (struct WU_Downside_ *self, double value) |
Definition at line 251 of file indicators.h.
| double WU_Downside::value |
Definition at line 253 of file indicators.h.