id, title, slug, sidebar_position
| id |
title |
slug |
sidebar_position |
| trade_definition |
交易命名词典 |
trade-definition |
2 |
OrderType
| 枚举值 |
描述 |
| LO |
限价单 |
| ELO |
增强限价单 |
| MO |
市价单 |
| AO |
竞价市价单 |
| ALO |
竞价限价单 |
| ODD |
碎股单挂单 |
| LIT |
触价限价单 |
| MIT |
触价市价单 |
| TSLPAMT |
跟踪止损限价单 (跟踪金额) |
| TSLPPCT |
跟踪止损限价单 (跟踪涨跌幅) |
| TSMAMT |
跟踪止损市价单 (跟踪金额) |
| TSMPCT |
跟踪止损市价单 (跟踪涨跌幅) |
| 枚举值 |
描述 |
| LO |
限价单 |
| MO |
市价单 |
| LIT |
触价限价单 |
| MIT |
触价市价单 |
| TSLPAMT |
跟踪止损限价单 (跟踪金额) |
| TSLPPCT |
跟踪止损限价单 (跟踪涨跌幅) |
| TSMAMT |
跟踪止损市价单 (跟踪金额) |
| TSMPCT |
跟踪止损市价单 (跟踪涨跌幅) |
OrderStatus
| 枚举值 |
描述 |
| NotReported |
待提交 |
| ReplacedNotReported |
待提交 (改单成功) |
| ProtectedNotReported |
待提交 (保价订单) |
| VarietiesNotReported |
待提交 (条件单) |
| FilledStatus |
已成交 |
| WaitToNew |
已提待报 |
| NewStatus |
已委托 |
| WaitToReplace |
修改待报 |
| PendingReplaceStatus |
待修改 |
| ReplacedStatus |
已修改 |
| PartialFilledStatus |
部分成交 |
| WaitToCancel |
撤销待报 |
| PendingCancelStatus |
待撤回 |
| RejectedStatus |
已拒绝 |
| CanceledStatus |
已撤单 |
| ExpiredStatus |
已过期 |
| PartialWithdrawal |
部分撤单 |
Market
WebSocket 推送通知
| 字段名 |
类型 |
注释 |
| side |
string |
买卖方向
可选值
Buy - 买入
Sell - 卖出 |
| stock_name |
string |
公司名称 |
| quantity |
string |
委托数量 |
| symbol |
string |
订单标的 |
| order_type |
string |
订单类型 |
| price |
string |
委托价格 |
| executed_quantity |
string |
成交数量 |
| executed_price |
string |
成交价格 |
| order_id |
string |
订单 id |
| currency |
string |
结算货币 |
| status |
string |
订单状态 |
| submitted_at |
string |
下单时间,格式为时间戳 (秒) |
| updated_at |
string |
最近更新时间 |
| trigger_price |
string |
触发价格 |
| msg |
string |
拒绝理由,备注信息 |
| tag |
string |
订单标记
可选值
Normal - 普通订单
GTC - 长期单
Grey - 暗盘单 |
| trigger_status |
string |
条件单触发状态
可选值
NOT_USED - 未激活
DEACTIVE - 已失效
ACTIVE - 已激活
RELEASED - 已触发 |
| trigger_at |
string |
触发时间 |
| trailing_amount |
string |
条件单跟踪金额 |
| trailing_percent |
string |
条件单跟踪涨跌幅 |
| limit_offset |
string |
指定价差 |
| account_no |
string |
用户端账号 |
示例