Coinbase 与 Kraken FIX 序列重置和断线撤单控制
已验证事实边界
- Coinbase International Exchange FIX documentation describes FIX order-entry connectivity and sequence-number reset behavior, including ResetSeqNumFlag.
- Coinbase Exchange drop-copy documentation says drop copy provides execution reports for orders placed through FIX sessions or REST API associated with the API key.
- Kraken FIX logon documentation includes a CancelOrdersOnDisconnect field in the logon message surface.
- Kraken WebSocket documentation describes cancelAllOrdersAfter as an authenticated cancel-on-disconnect control.
- A FIX sequence reset does not prove that live orders were cancelled, and a cancel-on-disconnect timer does not prove that every execution report was received.
- The safe control record separates session recovery, order cancellation intent, final execution evidence, and manual override authority.
收起完整分析
决策矩阵
文章表格:可横向滑动,或聚焦表格区域后使用方向键。
| 核对项 | 含义 | 具体做法 | 尚未确认的事项 |
|---|---|---|---|
| Session reset | sequence reset is a session-level recovery action, not a portfolio state guarantee | record who may set ResetSeqNumFlag and when the reset is allowed | whether downstream systems retained every missing execution report |
| Drop-copy backfill | execution reports can provide evidence across order-entry surfaces tied to an API key | run drop-copy or REST backfill before declaring orders reconciled | orders routed through entities or keys outside the monitored scope |
| Disconnect timer | cancel-on-disconnect controls depend on venue-specific timer behavior | refresh, deactivate and test the timer in a non-production incident drill | whether a network split prevented the venue from seeing the disconnect |
| Order terminal state | cancel intent and cancel acknowledgement are not the same as final order state | query fills, cancels and rejects after reconnection | fills racing during the disconnect window |
| Evidence hygiene | FIX logs can contain sensitive identifiers and account-level state | store non-secret session labels, timestamps and state transitions only | internal retention and redaction policy |
| Manual pause | automation should stop when local and venue state disagree | pause new order entry until sequence, order and fill state reconcile | who can override the pause during a market incident |
来源地图
- Coinbase Developer Documentation:INTX FIX API Overview(coinbase-intx-fix-overview)
- Coinbase Developer Documentation:Exchange FIX Drop Copy 5.0(coinbase-exchange-drop-copy)
- Kraken API Center:Logon - FIX API(kraken-fix-logon)
- Kraken API Center:Cancel on Disconnect(kraken-cancel-all-after)
控制说明
1. Session reset
这一项要求读者先把公开来源翻译成操作规则。这里的含义是:sequence reset is a session-level recovery action, not a portfolio state guarantee。可执行动作是:record who may set ResetSeqNumFlag and when the reset is allowed。仍然未知的是:whether downstream systems retained every missing execution report。因此本文不会把未知部分包装成收益承诺、牌照承诺、审批保证、恢复保证、结算保证、可用性保证、价格暗示或平台排名。
2. Drop-copy backfill
这里的含义是:execution reports can provide evidence across order-entry surfaces tied to an API key。可执行动作是:run drop-copy or REST backfill before declaring orders reconciled。仍然未知的是:orders routed through entities or keys outside the monitored scope。
操作测试也必须很窄。这就是本节保留边界的原因。
3. Disconnect timer
这里的含义是:cancel-on-disconnect controls depend on venue-specific timer behavior。可执行动作是:refresh, deactivate and test the timer in a non-production incident drill。仍然未知的是:whether a network split prevented the venue from seeing the disconnect。
操作测试也必须很窄。这就是本节保留边界的原因。
4. Order terminal state
这里的含义是:cancel intent and cancel acknowledgement are not the same as final order state。可执行动作是:query fills, cancels and rejects after reconnection。仍然未知的是:fills racing during the disconnect window。
操作测试也必须很窄。这就是本节保留边界的原因。
5. Evidence hygiene
这里的含义是:FIX logs can contain sensitive identifiers and account-level state。可执行动作是:store non-secret session labels, timestamps and state transitions only。仍然未知的是:internal retention and redaction policy。
操作测试也必须很窄。这就是本节保留边界的原因。
6. Manual pause
这里的含义是:automation should stop when local and venue state disagree。可执行动作是:pause new order entry until sequence, order and fill state reconcile。仍然未知的是:who can override the pause during a market incident。
操作测试也必须很窄。这就是本节保留边界的原因。
仍需明确的未知项
- whether downstream systems retained every missing execution report
- orders routed through entities or keys outside the monitored scope
- whether a network split prevented the venue from seeing the disconnect
- fills racing during the disconnect window
- internal retention and redaction policy
- who can override the pause during a market incident
实用结论
Coinbase 与 Kraken 的 FIX 控制解决的是不同失败模式,因此交易场景 runbook 不应把 sequence reset、drop-copy recovery 与 cancel-on-disconnect 当成同一个安全动作。Coinbase International Exchange FIX 文档描述 sequence-number resets 与 FIX session endpoints,Coinbase Exchange drop copy 描述与 API key 相关订单的 execution-report recovery,Kraken FIX logon 文档暴露 CancelOrdersOnDisconnect 字段,同时 Kraken WebSocket 文档另行描述 cancelAllOrdersAfter。实用结论是:在交易员或机器人假设已清仓前,必须记录 sequence reset 权限、断线计时行为、最终 execution-report backfill 和人工暂停规则。 本文停在证据边界内,帮助读者决定下一步核验什么,而不是把公开文档改写成私人账户、钱包、回调、政策框架、结算路径或流动性头寸在任何未来条件下都能成功的承诺。
来源与证据
04- 原文标题INTX FIX API Overview
- 原文标题Exchange FIX Drop Copy 5.0
- 原文标题Logon - FIX API · docs-legacy.kraken.com
- 原文标题Cancel on Disconnect · docs-legacy.kraken.com
本文提到Coinbase、Kraken。