交易所動態

Coinbase 与 Kraken FIX 序列重置和断线撤单控制

4 分鐘

本文正文暫以英文原文展示,翻譯版本需完成來源複核後再發布。

已验证事实边界

1. Coinbase International Exchange FIX documentation describes FIX order-entry connectivity and sequence-number reset behavior, including ResetSeqNumFlag. 2. 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. 3. Kraken FIX logon documentation includes a CancelOrdersOnDisconnect field in the logon message surface. 4. Kraken WebSocket documentation describes cancelAllOrdersAfter as an authenticated cancel-on-disconnect control. 5. 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. 6. The safe control record separates session recovery, order cancellation intent, final execution evidence, and manual override authority.

收起完整分析

决策矩阵

文章表格:可橫向滑動,或聚焦表格區域後使用方向鍵。

CheckWhat it meansPractical actionUnknown to keep explicit
Session resetsequence reset is a session-level recovery action, not a portfolio state guaranteerecord who may set ResetSeqNumFlag and when the reset is allowedwhether downstream systems retained every missing execution report
Drop-copy backfillexecution reports can provide evidence across order-entry surfaces tied to an API keyrun drop-copy or REST backfill before declaring orders reconciledorders routed through entities or keys outside the monitored scope
Disconnect timercancel-on-disconnect controls depend on venue-specific timer behaviorrefresh, deactivate and test the timer in a non-production incident drillwhether a network split prevented the venue from seeing the disconnect
Order terminal statecancel intent and cancel acknowledgement are not the same as final order statequery fills, cancels and rejects after reconnectionfills racing during the disconnect window
Evidence hygieneFIX logs can contain sensitive identifiers and account-level statestore non-secret session labels, timestamps and state transitions onlyinternal retention and redaction policy
Manual pauseautomation should stop when local and venue state disagreepause new order entry until sequence, order and fill state reconcilewho 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
  1. Coinbase Developer DocumentationINTX FIX API Overview
  2. Coinbase Developer DocumentationExchange FIX Drop Copy 5.0
  3. Kraken API CenterLogon - FIX API · docs-legacy.kraken.com
  4. Kraken API CenterCancel on Disconnect · docs-legacy.kraken.com