|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
WU_JsonReader is a concrete implementation of the WU_Reader interface that reads data from a JSON Lines file (one valid JSON object per line). More...
#include <readers.h>
Data Fields | |
| struct WU_Reader_ | base |
| FILE * | file |
| char | line_buffer [WU_JSON_MAX_LINE_SIZE] |
| WU_DataType | data_type |
| WU_JsonError | last_error |
| union { | |
| WU_Candle candle | |
| WU_Trade trade | |
| WU_Single single_value | |
| } | data |
WU_JsonReader is a concrete implementation of the WU_Reader interface that reads data from a JSON Lines file (one valid JSON object per line).
| struct WU_Reader_ WU_JsonReader::base |
| union { ... } WU_JsonReader::data |
| WU_DataType WU_JsonReader::data_type |
| WU_JsonError WU_JsonReader::last_error |
| char WU_JsonReader::line_buffer[WU_JSON_MAX_LINE_SIZE] |