|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
WU_Trade represents a single trade in the market, including the timestamp, price, volume, and side (buy or sell) of the trade. More...
#include <data.h>
Data Fields | |
| WU_TimeStamp | timestamp |
| double | price |
| double | volume |
| WU_Side | side |
| WU_DataType | data_type |
WU_Trade represents a single trade in the market, including the timestamp, price, volume, and side (buy or sell) of the trade.
This is a tick-level data point that represents a single transaction in the market. As with WU_Candle, the wu_trade_init function should be used to create a new WU_Trade instance.
| WU_DataType WU_Trade::data_type |
| WU_TimeStamp WU_Trade::timestamp |