平台中斷選項

上次更新時間: 2026年2月13日

Kraken Derivatives 是一個 24/7 交易平台,致力於為客戶提供 100% 的正常運行時間和連接性。

然而,平台偶爾會因計劃性維護和意外系統問題而停機。

為應對平台中斷情況,我們為客戶提供多種工具,以管理可能遇到的停機時間範圍:

平台停機的大多數情況是因計劃性維護而發生。當有計劃性中斷時,會發送預定通知。

此通知可從 Notifications REST API endpoint 檢索,或透過 Notification Websocket API endpoint 接收:

  • 提前警告:通知動態

  • 意外連接問題:Deadman's Switch

  • 從停機中恢復:訂單管理期

通知 REST API 端點

{
"result":"success",
"notifications":[
{
"type":"general",
"priority":"low",
"note":"We've launched a new Telegram group."
},
{
"type":"settlement",
"priority":"medium",
"note":"Week contracts with maturity 29/Jun/2018 expire and settle.",
"effectiveTime":"2018-06-29T15:00:00Z"
}
],
"serverTime":"2018-06-29T15:22:05.187Z"
}

當平台預計會停機時,通知將包含:
type=maintenance
priority=high

預計停機的開始時間將在:
effectiveTime
這代表 Unix 紀元時間。

此方法將提供充足的警告時間,以便您能以程式方式應對。

此外,UI 中會彈出通知,告知客戶此情況,包括一個彈出視窗,清楚地向客戶說明即將停機。

WebSocket API 端點通知

{
"feed":"notifications_auth",
"notifications":[
{
"id":"The Notification ID",
"type":"maintenance",
"priority":"high",
"note":"A note describing the notification.",
"effective_time":1520288300000
},

...
]
}

當平台預計會停機時,WebSocket API 和 REST API 的通知都將包含:
type=maintenance
priority=high

預計停機的開始時間將在:
effectiveTime
這代表 Unix 紀元時間。

此方法將提供充足的警告時間,以便您能以程式方式應對。

此外,UI 中會彈出通知,告知客戶此情況,包括一個彈出視窗,清楚地向客戶說明即將停機。

在其他時候,網路可能出現連接問題或停機,導致您的應用程式無法再發出請求。

為此,您可以使用 "cancelallordersafter" REST endpoint 來指定一個逾時期間,如果在該期間之前沒有發送新的請求,所有訂單將會被取消。

這對於不希望處理預定停機通知,而寧願讓系統在網路中斷時取消所有未結訂單的客戶來說非常有用。

這是平台從停機中恢復後的一段時間,允許客戶執行以下兩個功能:

  • 取消現有未結訂單

  • 建立 Maker-only 訂單

在此期間:

  • 跨越訂單簿的市價單和限價單將被交易引擎拒絕

  • 觸發入場、止損和止盈訂單在 post-only 期間不會啟動

  • 在 post-only 期間不會發生強制平倉,但是,一旦交易啟用後達到強制平倉門檻,將會按照文件規定進行強制平倉

這將在停機後,平台檢查期間啟用。一旦平台檢查完成,post-only 模式將被移除,交易即可恢復。post-only 狀態將透過平台 UI、Websocket 和 REST API 通知,以及在 Kraken Status 頁面上發布。

平台恢復上線且市場處於 post-only 模式時的通知範例

{"feed":"notifications_auth","notifications":[{"id":419,"type":"market","priority":"high","effective_time":1655917620000,"note":"All contracts are now in post-only mode. Orders can be placed or cancelled, but no trades or liquidations can occur until post-only is disabled."}]}平台恢復上線且市場處於 post-only 模式時的通知範例:

{"feed":"notifications_auth","notifications"[{"id":420,"type":"market","priority":"high","effective_time":1655917620000,"note":"Post-only mode is now disabled and trading has resumed."}]}

需要更多幫助?