Type/to search

SeamlessConnWS

Tool
8
Follow
1364
Followers
Source
JavaScript
function WSConnecter_Huobi (method, symbol) {
    // wss : wss://api.huobi.pro/ws
    /* Subscribe 
    {
        "sub": "market.btcusdt.detail",
    }
    */
    /* Subscribe string
        '{"sub": "market.btcusdt.detail"}'
    */

    var strSubscribe = ""
Strategy parameters
Strategy parameters
是否启用WebSocket
Hook行情接口GetTicker
Comment
All comments (2)

    这个返回的不是最新的数据吧,read(-2)会不会好点

    7 years ago

    可以 ,可以根据需求,调整。

    7 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)