資金費用結算

 //系統公告
  { 
    "id": 1545910660742,                          
    "type": "subscribe",
    "topic": "/contract/announcement",   
    "response": true                              
  }

Topic:/contract/announcement

訂閱此topic,可獲取資金費用結算的推送。

資金費用結算開始
 //資金費用結算開始
  { 
    "topic": "/contract/announcement",
    "subject": "funding.begin",
    "data": {
        "symbol": "XBTUSDTM",                   //合約symbol
        "fundingTime": 1551770400000,          //費用時間
        "fundingRate": -0.002966,             //資金費率
        "timestamp": 1551770400000
    }
  }
資金費用結算結束
  //資金費用結算結束
  { 
    "type":"message",
    "topic": "/contract/announcement",
    "subject": "funding.end",
    "data": {
        "symbol": "XBTUSDTM",                   //合約symbol
        "fundingTime": 1551770400000,          //費用時間
        "fundingRate": -0.002966,            //資金費率
        "timestamp": 1551770410000          
    }
  }