WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
mvar.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "wu/indicators.h"

Go to the source code of this file.

Functions

static double update (WU_MVar self, double value)
static void delete (WU_MVar mvar)
WU_MVar wu_mvar_new (int window_size, int dof)
 Creates a new WU_MVar (Moving Variance) indicator with the specified window size and degree of freedom.

Function Documentation

◆ delete()

void delete ( WU_MVar mvar)
static

Definition at line 26 of file mvar.c.

◆ update()

double update ( WU_MVar self,
double value )
static

Definition at line 5 of file mvar.c.

◆ wu_mvar_new()

WU_MVar wu_mvar_new ( int window_size,
int dof )

Creates a new WU_MVar (Moving Variance) indicator with the specified window size and degree of freedom.

Definition at line 32 of file mvar.c.