WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
WU_Mean Struct Reference

A global mean calculator that updates with new values and maintains the current mean. More...

#include <indicators.h>

Data Fields

double(* update )(struct WU_Mean_ *self, double value)
void(* delete )(struct WU_Mean_ *self)
double value
int count
double accum

Detailed Description

A global mean calculator that updates with new values and maintains the current mean.

Definition at line 267 of file indicators.h.

Field Documentation

◆ accum

double WU_Mean::accum

Definition at line 272 of file indicators.h.

◆ count

int WU_Mean::count

Definition at line 271 of file indicators.h.

◆ delete

void(* WU_Mean::delete) (struct WU_Mean_ *self)

Definition at line 269 of file indicators.h.

◆ update

double(* WU_Mean::update) (struct WU_Mean_ *self, double value)

Definition at line 268 of file indicators.h.

◆ value

double WU_Mean::value

Definition at line 270 of file indicators.h.


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