| Xlight API用户手册 v1.6.0.23 Xlight极速柜台接口文档

载入中...
搜索中...
未找到
命名空间 | 类型定义 | 枚举 | 变量
xlt_trade_data_type.h 文件参考
`#include <cstdint>`
`#include <climits>`
`#include "xlt_data_type.h"`

浏览该文件的源代码.

## 命名空间
namespace | x1

## 类型定义
typedef uint32_t | x1::trade_message_type_t
| 交易消息类型

## 枚举
enum class | x1::TradeResumeType : uint8_t { x1::RESTART = 1 , x1::QUICK = 2 , x1::SPECIFY = 3 , x1::NONE = 99 }
| 交易消息推送类型 更多...
enum class | x1::OrderType : uint8_t { x1::NONE = 0 , x1::BEST_FIVE_PRICE_OR_CANCEL = 1 , x1::LIMIT_PRICE = 2 , x1::BEST_FIVE_PRICE_TO_LIMIT = 3 , x1::SELF_BEST = 4 , x1::COUNTER_BEST = 5 , x1::MARKET_PRICE_OR_CANCEL = 6 , x1::MARKET_PRICE_ALL_OR_CANCEL = 7 }
| 报单价格类型 更多...
enum class | x1::BusinessType : uint8_t { x1::NONE = 0 , x1::CASH = 1 , x1::BOND_MATCH = 2 , x1::ETF = 3 , x1::ISSUE = 4 , x1::ALLOT = 5 , x1::BOND_CONVERT = 6 , x1::PLEDGE_STYLE_REPO = 7 }
| 业务类型 更多...
enum class | x1::OrderStatus : uint8_t { x1::INIT = 0 , x1::ALL_TRADED = 1 , x1::PART_TRADED = 2 , x1::PART_CANCELED = 3 , x1::NOT_TRADED = 4 , x1::ALL_CANCELED = 5 , x1::REJECTED = 6 , x1::COUNT = 7 }
| 订单状态 更多...
enum | x1::ExOrdStatus : char { x1::ORD_STATUS_NEW = '0' , x1::ORD_STATUS_PARTIAL_FILLED = '1' , x1::ORD_STATUS_FILLED = '2' , x1::ORD_STATUS_CANCELLED = '4' , x1::ORD_STATUS_REJECT = '8' }
| 交易所订单状态 更多...
enum | x1::ExExecType : char { x1::EXEC_TYPE_NEW = '0' , x1::EXEC_TYPE_CANCELED = '4' , x1::EXEC_TYPE_REJECT = '8' , x1::EXEC_TYPE_TRADE = 'F' }
| 交易所执行类型 更多...
enum | x1::TradeMessageType : trade_message_type_t { x1::REPORT = 1 , x1::RAW_REPORT = 1<<1 , x1::ORDER_BOOK = 1<<2 }
| 交易消息类型枚举 更多...
enum class | x1::TradeReportType : uint8_t { x1::UNKNOWN = 0 , x1::ORDER_RESPONSE = 1 , x1::CANCEL_RESPONSE = 2 , x1::TRADE_REPORT = 3 , x1::ORDER_ERROR_RESPONSE = 4 , x1::ORDER_END = 5 }
| 订单回报通知类型 更多...
enum class | x1::FundTransSource : uint8_t { x1::ADMIN = 0 , x1::OTHER = 1 }
| 资金划转请求来源 更多...
enum class | x1::FundTransSide : uint8_t { x1::UNKNOWN = 0 , x1::IN = 1 , x1::OUT = 2 }
| 资金划转方向 更多...
enum class | x1::FundTransStatus : uint8_t { x1::DOING = 0 , x1::SUCCESS = 1 , x1::FAIL = 2 , x1::EXCEPTION = 3 }
| 资金划转状态 更多...
enum class | x1::FundTransExecType : uint8_t { x1::NORMAL = 0 , x1::ROLLBACK = 1 }
| 资金划转执行类型 更多...

## 变量
constexpr uint8_t | x1::CONST_CL_ORD_ID_LEN = 11
| 委托合同号长度，含字符串终止符
constexpr uint8_t | x1::CONST_REPORT_ID_LEN = 32
| 回报ID长度
constexpr uint16_t | x1::CONST_TRD_EXEC_ID_LEN = 16 + 1
| 成交编号长度，含字符串终止符
constexpr uint8_t | x1::CONST_FUND_ACC_NAME_LEN = 14 + 1
| 资金账户名称长度
constexpr uint8_t | x1::CONST_BIZ_NO_LEN = 20
| 资金划拨业务流水号长度，含字符串终止符