|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
WU_Signal represents a trading signal generated by a strategy. More...
#include <types.h>
Data Fields | |
| WU_TimeStamp | timestamp |
| WU_Side | side |
| double | price |
| double | quantity |
WU_Signal represents a trading signal generated by a strategy.
It includes a timestamp, a side (buy, sell, or hold), a price at which to execute the trade, and a quantity to trade.
For multi-asset strategies, the position of the signal in the returned array indicates which asset it applies to (0-based index).
| WU_TimeStamp WU_Signal::timestamp |