|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
WU_Candle represents an aggregated data point to represent how prices moved within a specific time period. More...
#include <data.h>
Data Fields | |
| WU_TimeStamp | timestamp |
| double | open |
| double | high |
| double | low |
| double | close |
| double | volume |
| WU_DataType | data_type |
WU_Candle represents an aggregated data point to represent how prices moved within a specific time period.
It includes the timestamp of the start of the period, the open price, the high price, the low price, the close price, and the volume traded during that period. Instead of directly using the WU_Candle structure, the wu_candle_init function should be used to create a new WU_Candle instance, ensuring all fields are properly initialized.
| WU_DataType WU_Candle::data_type |
| WU_TimeStamp WU_Candle::timestamp |