|
FIX 4.0 Demo 1.0
|
行情数据结构定义 More...
#include <cstdint>#include <cstring>#include <string>

Go to the source code of this file.
Classes | |
| struct | fix40::MarketData |
| 行情数据结构体 More... | |
Namespaces | |
| namespace | fix40 |
Variables | |
| constexpr size_t | fix40::INSTRUMENT_ID_LEN = 32 |
| 合约代码最大长度 | |
| constexpr size_t | fix40::EXCHANGE_ID_LEN = 16 |
| 交易所代码最大长度 | |
| constexpr size_t | fix40::DATE_LEN = 9 |
| 日期字符串长度 (YYYYMMDD) | |
| constexpr size_t | fix40::TIME_LEN = 9 |
| 时间字符串长度 (HH:MM:SS) | |
行情数据结构定义
定义内部使用的行情数据 POD 结构体,与外部数据源(如 CTP)解耦。 所有外部行情数据都应转换为此格式后再进入系统。