交易所订单确认与最终状态披露雷达
已验证事实边界
1. OKX says failed affected post-only and RPI placement scenarios can emit only state canceled. 2. OKX says successful affected post-only state live is delayed until the order has successfully entered the order book. 3. OKX documentation says users should refer to order WebSocket updates for amendment and cancellation confirmation. 4. Binance says orderRateLimitExceededMode allows cancelReplace to cancel orders but not place new orders when order rate limits are exceeded. 5. NexuAlpha Radar classifies acknowledgement and final state as separate operational fields for source-mapped API content.
收起完整分析
决策矩阵
文章表格:可横向滑动,或聚焦表格区域后使用方向键。
| Check | What it means | Practical action | Unknown to keep explicit |
|---|---|---|---|
| Acknowledgement | the exchange has received or accepted an order message | separate transport acknowledgement from final order state | gateway latency and private matching details |
| Final state | the last usable order state after validation, book entry, fill or cancellation | wait for the explicit state update before reconciling | private account event timing |
| Post-only exception | an order type that can cancel when it would cross the book | treat live-then-canceled sequences as a special case | future matching-engine rules |
| Amend result | the source field that explains a successful or failed amendment | record amend result and source before retrying | venue-specific reject reason depth |
| Cancel result | confirmation that an order is canceled rather than merely requested | wait for canceled state before reusing exposure | network or session failure timing |
| Rate-limit mode | how requests behave when order-rate limits are hit | design retry budgets around documented limits | private account tier or subaccount limits |
| WebSocket channel | the feed that carries order-state updates | subscribe and reconcile before trusting UI-only state | connection drop handling |
| REST fallback | the secondary route for order checks or repair | use only with idempotent identifiers and logs | venue incident behavior |
| Evidence packet | non-secret request id, order id, timestamp and official URL | store operational evidence without API secrets | sensitive account values |
| Stop rule | when the article cannot support action | stop if accepted, live, filled and canceled states are conflated | future API changes |
来源地图
- OKX Europe:OKX WebSocket Orders Channel Push Behavior Adjustment Announcement(okx-websocket-orders)
- OKX Technical Support:OKX API guide(okx-api-guide)
- Binance Support:Binance Spot API Service Upgrade (2024-06-06)(binance-cancelreplace)
- OKX Help Center:API Announcements(okx-api-announcements)
控制说明
1. Acknowledgement
这一项要求读者把公开来源转换成操作规则。这里的含义是:the exchange has received or accepted an order message。可执行动作是:separate transport acknowledgement from final order state。仍然未知的是:gateway latency and private matching details。因此本文不会把未知部分包装成安全承诺、收益承诺、官方背书、审批保证、可用性保证或注册诱导。
2. Final state
这里的含义是:the last usable order state after validation, book entry, fill or cancellation。可执行动作是:wait for the explicit state update before reconciling。仍然未知的是:private account event timing。
3. Post-only exception
这里的含义是:an order type that can cancel when it would cross the book。可执行动作是:treat live-then-canceled sequences as a special case。仍然未知的是:future matching-engine rules。
4. Amend result
这里的含义是:the source field that explains a successful or failed amendment。可执行动作是:record amend result and source before retrying。仍然未知的是:venue-specific reject reason depth。
5. Cancel result
这里的含义是:confirmation that an order is canceled rather than merely requested。可执行动作是:wait for canceled state before reusing exposure。仍然未知的是:network or session failure timing。
6. Rate-limit mode
这里的含义是:how requests behave when order-rate limits are hit。可执行动作是:design retry budgets around documented limits。仍然未知的是:private account tier or subaccount limits。
7. WebSocket channel
这里的含义是:the feed that carries order-state updates。可执行动作是:subscribe and reconcile before trusting UI-only state。仍然未知的是:connection drop handling。
8. REST fallback
这里的含义是:the secondary route for order checks or repair。可执行动作是:use only with idempotent identifiers and logs。仍然未知的是:venue incident behavior。
9. Evidence packet
这里的含义是:non-secret request id, order id, timestamp and official URL。可执行动作是:store operational evidence without API secrets。仍然未知的是:sensitive account values。
10. Stop rule
这里的含义是:when the article cannot support action。可执行动作是:stop if accepted, live, filled and canceled states are conflated。仍然未知的是:future API changes。
实用结论
本文最有价值的地方是克制。NexuAlpha Radar 把订单确认与最终状态拆成两个披露字段,因为 API 用户如果混淆二者,可能重复计算敞口或在旧状态上重试。当前官方证据说明了原因:OKX 调整受影响的 WebSocket 订单推送行为,失败的 post-only 或 RPI 下单可能只发出 canceled;Binance 则记录了 cancelReplace 的速率限制模式,在订单速率限制超出时可以撤单但不能下新订单。有效的交易基础设施文章应先记录平台、端点、订单类型、确认事件、最终状态事件、改单或撤单结果和重试条件,再称订单已修复。 用户应获得一个更清楚的核验路径,而不是一个看似肯定、实则无法由公开证据承担的承诺。
相关专题与工具:任选两家交易所对比
来源与证据
04- OKX WebSocket Orders Channel Push Behavior Adjustment Announcement · okx.com
- OKX API guide · okx.com
- Binance Spot API Service Upgrade (2024-06-06)
- API Announcements · okx.com