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

WU_Single represents a single value with a timestamp, which can be a price, an indicator value, or any other scalar value associated with a specific time. More...

#include <data.h>

Data Fields

WU_TimeStamp timestamp
double value
WU_DataType data_type

Detailed Description

WU_Single represents a single value with a timestamp, which can be a price, an indicator value, or any other scalar value associated with a specific time.

This is a generic data type that can be used to represent any single-valued time series data. The wu_single_init function should be used to create a new WU_Single instance.

Definition at line 47 of file data.h.

Field Documentation

◆ data_type

WU_DataType WU_Single::data_type

Definition at line 50 of file data.h.

◆ timestamp

WU_TimeStamp WU_Single::timestamp

Definition at line 48 of file data.h.

◆ value

double WU_Single::value

Definition at line 49 of file data.h.


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