fawdlstty / libfv

libfv is C++20 header-only network library, support TCP/SSL/Http/websocket server and client
http://libfv.fawdlstty.com/en_us/
MIT License
126 stars 16 forks source link

发现前后两次返回数据粘连的情况,请看第一行 #5

Closed sudavida closed 2 years ago

sudavida commented 2 years ago

"tickSz":"0.0001","uly":"ZRX-USDT"}],"msg":""}HTTP/1.1 200 Date: Thu, 19 May 2022 16:00:13 GMT Content-Type: application/json Content-Length: 77679 Connection: keep-alive Vary: Accept-Encoding Set-Cookie: locale=en-US; Max-Age=604800; Expires=Thu, 26-May-2022 16:00:13 GMT; Path=/ Set-Cookie: locale=en-US; Max-Age=604800; Expires=Thu, 26-May-2022 16:00:13 GMT; Path=/ X-BrokerID: 0 Strict-Transport-Security: max-age=63072000; includeSubdomains; preload

{"code":"0","data":[{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse"

sudavida commented 2 years ago

导致数据解析失败

sudavida commented 2 years ago

数据长度?结束位置?看下哪里的问题

sudavida commented 2 years ago

这也可能是前面出乱码的原因

sudavida commented 2 years ago

所谓的粘包问题

fawdlstty commented 2 years ago

"tickSz":"0.0001","uly":"ZRX-USDT"}],"msg":""}这一段,上一个请求是否已正确读出并使用?

sudavida commented 2 years ago

没有,和后面的数据一起使用的

fawdlstty commented 2 years ago

上一个请求ContentLength不对?

sudavida commented 2 years ago

也有这个可能,但是读取数据还需要其他方式进行结束检查。中间是否有http协议开始,头部开始等

fawdlstty commented 2 years ago

这块检查不应由库来操作。http返回内容完全可以再嵌套一个http报文。再做检查则无法处理这种正确的返回格式

sudavida commented 2 years ago
inline Task<std::string> IConn::ReadCount (size_t _count) {
    if (_count == 0)
        co_return "";
    std::string _tmp = "";
    while (TmpData.size () < _count) {
        char _buf [1024];
        size_t _readed = co_await RecvImpl (_buf, sizeof (_buf));
       // std::string_view { _buf, _readed }; 如果放在这里检查呢
        TmpData += std::string_view { _buf, _readed };

    }
    _tmp = TmpData.substr (0, _count);
    TmpData.erase (0, _count);
    co_return _tmp;
}
fawdlstty commented 2 years ago

“做检查则无法处理正确的返回格式”

sudavida commented 2 years ago

TmpData,这里是一直暂存数据流吧,如果自己检查,正确位置截断,能不能解决问题

fawdlstty commented 2 years ago

想要具体解决问题,首先需要调查上一个包的ContentLength对不对。如果不对,那么库无法正确处理。想要手工处理非标准HTTP报文,建议自建tcp/ssl客户端然后手工发request请求、手工解析response

sudavida commented 2 years ago

如果放在response,已经在业务函数处理过程中了,多余部分也只能丢掉,可能不是合理的

sudavida commented 2 years ago
    while (TmpData.size () < _count) {
        char _buf [1024];
        size_t read_size = _count - TmpData.size ();//我改了这里
        read_size = read_size>1024? 1024 : read_size;//
        size_t _readed = co_await RecvImpl (_buf, read_size);//
        TmpData += std::string_view { _buf, _readed };//
    }
   原来实际上读取数据超出了_count,如果后面有数据,就会发生错误,粘包
sudavida commented 2 years ago

改了以后,有时取到的content_length会大于实际的数据长度 : 77679:77679

response response------------------:1653030114524 GetContracts1:{"code":"0","data":[{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"100","ctValCcy":"USD","expTime":"","instId":"BTC-USD-SWAP","instType":"SWAP","lever":"125","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"BTC","state":"live","stk":"","tickSz":"0.1","uly":"BTC-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ETH-USD-SWAP","instType":"SWAP","lever":"125","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ETH","state":"live","stk":"","tickSz":"0.01","uly":"ETH-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"LTC-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"LTC","state":"live","stk":"","tickSz":"0.01","uly":"LTC-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"DOT-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIceberSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"FIL","state":"live","stk":"","tickSz":"0.001","uly":"FIL-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"SOL-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1637833825000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"SOL","state":"live","stk":"","tickSz":"0.001","uly":"SOL-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"TRX-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"15000","maxStopSz":"15000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"TRX","state":"live","stk":"","tickSz":"0.00001","uly":"TRX-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"1INCH-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1617959702000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"1INCH","state":"live","stk":"","tickSz":"0.0001","uly":"1INCH-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ADA-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ADA","state":"live","stk":"","tickSz":"0.00001","uly":"ADA-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ALGO-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ALGO","state":"live","stk":"","tickSz":"0.0001","uly":"ALGO-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ATOM-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ATOM","state":"live","stk":"","tickSz":"0.001","uly":"ATOM-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"AVAX-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1637833836000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"AVAX","state":"live","stk":"","tickSz":"0.001","uly":"AVAX-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"BCH-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"BCH","state":"live","stk":"","tickSz":"0.01","uly":"BCH-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"BSV-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"BSV","state":"live","stk":"","tickSz":"0.01","uly":"BSV-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"CRV-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"CRV","state":"live","stk":"","tickSz":"0.0001","uly":"CRV-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"DASH-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"DASH","state":"live","stk":"","tickSz":"0.01","uly":"DASH-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"EOS-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611833669000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"EOS","state":"live","stk":"","tickSz":"0.0001","uly":"EOS-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ETC-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ETC","state":"live","stk":"","tickSz":"0.001","uly":"ETC-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"GRT-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1617959702000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"7000","maxStopSz":"7000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"GRT","state":"live","stk":"","tickSz":"0.0001","uly":"GRT-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"IOST-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"IOST","state":"live","stk":"","tickSz":"0.000001","uly":"IOST-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"IOTA-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"3000","maxStopSz":"3000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"IOTA","state":"live","stk":"","tickSz":"0.0001","uly":"IOTA-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"KNC-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"KNC","state":"live","stk":"","tickSz":"0.0001","uly":"KNC-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"KSM-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1617959702000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"KSM","state":"live","stk":"","tickSz":"0.01","uly":"KSM-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"LINK-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"LINK","state":"live","stk":"","tickSz":"0.001","uly":"LINK-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"MANA-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1637833854000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"MANA","state":"live","stk":"","tickSz":"0.0001","uly":"MANA-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"NEO-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"NEO","state":"live","stk":"","tickSz":"0.001","uly":"NEO-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ONT-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ONT","state":"live","stk":"","tickSz":"0.0001","uly":"ONT-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"QTUM-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"9000","maxStopSz":"9000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"QTUM","state":"live","stk":"","tickSz":"0.001","uly":"QTUM-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"SAND-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1637833844000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"SAND","state":"live","stk":"","tickSz":"0.0001","uly":"SAND-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"SUSHI-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"SUSHI","state":"live","stk":"","tickSz":"0.0001","uly":"SUSHI-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"THETA-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"THETA","state":"live","stk":"","tickSz":"0.0001","uly":"THETA-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"UNI-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"UNI","state":"live","stk":"","tickSz":"0.001","uly":"UNI-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"XLM-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"XLM","state":"live","stk":"","tickSz":"0.00001","uly":"XLM-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"XMR-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"XMR","state":"live","stk":"","tickSz":"0.01","uly":"XMR-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"XRP-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"XRP","state":"live","stk":"","tickSz":"0.00001","uly":"XRP-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"XTZ-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"XTZ","state":"live","stk":"","tickSz":"0.0001","uly":"XTZ-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"YFI-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"YFI","state":"live","stk":"","tickSz":"1","uly":"YFI-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"YFII-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"YFII","state":"live","stk":"","tickSz":"0.1","uly":"YFII-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"10","ctValCcy":"USD","expTime":"","instId":"ZEC-USD-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"ZEC","state":"live","stk":"","tickSz":"0.01","uly":"ZEC-USD"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.01","ctValCcy":"BTC","expTime":"","instId":"BTC-USDT-SWAP","instType":"SWAP","lever":"125","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1600","maxStopSz":"1600","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.1","uly":"BTC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"ETH","expTime":"","instId":"ETH-USDT-SWAP","instType":"SWAP","lever":"125","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4500","maxStopSz":"4500","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"ETH-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"LTC","expTime":"","instId":"LTC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1500","maxStopSz":"1500","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"LTC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"DOT","expTime":"","instId":"DOT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"DOT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000","ctValCcy":"DOGE","expTime":"","instId":"DOGE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000001","uly":"DOGE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"FIL","expTime":"","instId":"FIL-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"51000","maxStopSz":"51000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"FIL-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"SOL","expTime":"","instId":"SOL-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"SOL-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000","ctValCcy":"TRX","expTime":"","instId":"TRX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"1000000","maxLmtSz":"1000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"1000000","maxTwapSz":"1000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"TRX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"1INCH","expTime":"","instId":"1INCH-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"60000","maxStopSz":"60000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"1INCH-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"AAVE","expTime":"","instId":"AAVE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"AAVE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"ADA","expTime":"","instId":"ADA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"ADA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"AGLD","expTime":"","instId":"AGLD-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1631008650000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"22000","maxStopSz":"22000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"AGLD-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"ALGO","expTime":"","instId":"ALGO-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ALGO-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"ALPHA","expTime":"","instId":"ALPHA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1616057942000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"66000","maxStopSz":"66000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ALPHA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"ANT","expTime":"","instId":"ANT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"15000","maxStopSz":"15000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"ANT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"APE","expTime":"","instId":"APE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1647522059000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"100000","maxStopSz":"100000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"APE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"API3","expTime":"","instId":"API3-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1646297716000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"12000","maxStopSz":"12000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"API3-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"ASTR","expTime":"","instId":"ASTR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1649919238000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"40000","maxStopSz":"40000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ASTR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"ATOM","expTime":"","instId":"ATOM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"ATOM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"AVAX","expTime":"","instId":"AVAX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1500","maxStopSz":"1500","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"AVAX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"AXS","expTime":"","instId":"AXS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1627462698000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"25000","maxStopSz":"25000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"AXS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000000","ctValCcy":"BABYDOGE","expTime":"","instId":"BABYDOGE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636113033000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00000000001","uly":"BABYDOGE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"BADGER","expTime":"","instId":"BADGER-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611925859000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"48000","maxStopSz":"48000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"BADGER-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"BAL","expTime":"","instId":"BAL-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"31000","maxStopSz":"31000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"BAL-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"BAND","expTime":"","instId":"BAND-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"BAND-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"BAT","expTime":"","instId":"BAT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"BAT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"BCH","expTime":"","instId":"BCH-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"BCH-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"BICO","expTime":"","instId":"BICO-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1639032617000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"16000","maxStopSz":"16000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"BICO-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"BNT","expTime":"","instId":"BNT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1000","maxStopSz":"1000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"BNT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"BSV","expTime":"","instId":"BSV-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"1000000","maxLmtSz":"1000000","maxMktSz":"1000","maxStopSz":"1000","maxTriggerSz":"1000000","maxTwapSz":"1000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"BSV-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"BTM","expTime":"","instId":"BTM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"5000","maxStopSz":"5000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"BTM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000","ctValCcy":"BTT","expTime":"","instId":"BTT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1646297706000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"50000","maxStopSz":"50000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000000001","uly":"BTT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"BZZ","expTime":"","instId":"BZZ-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1624526024000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"97000","maxStopSz":"97000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"BZZ-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"CELO","expTime":"","instId":"CELO-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1632477785000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"14000","maxStopSz":"14000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"CELO-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"CFX","expTime":"","instId":"CFX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1615542950000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"21000","maxStopSz":"21000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"CFX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"CHZ","expTime":"","instId":"CHZ-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1615542950000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"55000","maxStopSz":"55000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"CHZ-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"COMP","expTime":"","instId":"COMP-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"8000","maxStopSz":"8000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"COMP-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"CONV","expTime":"","instId":"CONV-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617269909000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"80000","maxStopSz":"80000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"CONV-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"CQT","expTime":"","instId":"CQT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1629453790000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"80000","maxStopSz":"80000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"CQT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"CRO","expTime":"","instId":"CRO-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617872003000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"CRO-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"CRV","expTime":"","instId":"CRV-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"34000","maxStopSz":"34000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"CRV-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"CSPR","expTime":"","instId":"CSPR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1620982205000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"300000","maxStopSz":"300000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"CSPR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"CVC","expTime":"","instId":"CVC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"3000","maxStopSz":"3000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"CVC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"DASH","expTime":"","instId":"DASH-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"DASH-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"DOME","expTime":"","instId":"DOME-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1646722523000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000001","uly":"DOME-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"DORA","expTime":"","instId":"DORA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617269910000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"DORA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"DYDX","expTime":"","instId":"DYDX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1631117510000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"15000","maxStopSz":"15000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"DYDX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"EFI","expTime":"","instId":"EFI-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1629453796000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"70000","maxStopSz":"70000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"EFI-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"EGLD","expTime":"","instId":"EGLD-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"7000","maxStopSz":"7000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"EGLD-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000","ctValCcy":"ELON","expTime":"","instId":"ELON-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636113028000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"100000","maxStopSz":"100000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000000001","uly":"ELON-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"ENJ","expTime":"","instId":"ENJ-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617269910000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"55000","maxStopSz":"55000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ENJ-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"ENS","expTime":"","instId":"ENS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636623946000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"33000","maxStopSz":"33000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"ENS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"EOS","expTime":"","instId":"EOS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611833668000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"EOS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"ETC","expTime":"","instId":"ETC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"ETC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"FITFI","expTime":"","instId":"FITFI-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1652252159000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"25000","maxStopSz":"25000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"FITFI-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"FLM","expTime":"","instId":"FLM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"8000","maxStopSz":"8000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"FLM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"FTM","expTime":"","instId":"FTM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1616057943000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"FTM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"GALA","expTime":"","instId":"GALA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1632477789000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"100000","maxStopSz":"100000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"GALA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"GMT","expTime":"","instId":"GMT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1648803369000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"40000","maxStopSz":"40000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"GMT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"GODS","expTime":"","instId":"GODS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636113037000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"15000","maxStopSz":"15000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"GODS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"GRT","expTime":"","instId":"GRT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"GRT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.01","ctValCcy":"ICP","expTime":"","instId":"ICP-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1620982205000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"400000","maxStopSz":"400000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"ICP-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"IMX","expTime":"","instId":"IMX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1637218222000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"18000","maxStopSz":"18000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"IMX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000","ctValCcy":"IOST","expTime":"","instId":"IOST-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"3000","maxStopSz":"3000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000001","uly":"IOST-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"IOTA","expTime":"","instId":"IOTA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"IOTA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"JST","expTime":"","instId":"JST-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"22000","maxStopSz":"22000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"JST-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000000","ctValCcy":"KISHU","expTime":"","instId":"KISHU-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636113023000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00000000001","uly":"KISHU-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"KNC","expTime":"","instId":"KNC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"KNC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"KSM","expTime":"","instId":"KSM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"5000","maxStopSz":"5000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"KSM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"LAT","expTime":"","instId":"LAT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1620982205000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"LAT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"LINK","expTime":"","instId":"LINK-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"LINK-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"LON","expTime":"","instId":"LON-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"12000","maxStopSz":"12000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"LON-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"LOOKS","expTime":"","instId":"LOOKS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1645091480000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"50000","maxStopSz":"50000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"LOOKS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"LPT","expTime":"","instId":"LPT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1619160696000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"LPT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"LRC","expTime":"","instId":"LRC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"12000","maxStopSz":"12000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"LRC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"MANA","expTime":"","instId":"MANA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1615542950000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"MANA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"MASK","expTime":"","instId":"MASK-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1614841291000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"11000","maxStopSz":"11000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"MASK-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"MATIC","expTime":"","instId":"MATIC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1619686612000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"MATIC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"MINA","expTime":"","instId":"MINA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1623228468000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"MINA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.01","ctValCcy":"MKR","expTime":"","instId":"MKR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.1","uly":"MKR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"NEAR","expTime":"","instId":"NEAR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1000","maxStopSz":"1000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"NEAR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"NEO","expTime":"","instId":"NEO-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"5000","maxStopSz":"5000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"NEO-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000","ctValCcy":"NFT","expTime":"","instId":"NFT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1638427904000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"24000","maxStopSz":"24000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000000001","uly":"NFT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"NYM","expTime":"","instId":"NYM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1650524174000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"60000","maxStopSz":"60000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"NYM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"OMG","expTime":"","instId":"OMG-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"18000","maxStopSz":"18000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"OMG-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"ONT","expTime":"","instId":"ONT-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"11000","maxStopSz":"11000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ONT-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"PEOPLE","expTime":"","instId":"PEOPLE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1638427889000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"27000","maxStopSz":"27000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"PEOPLE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"PERP","expTime":"","instId":"PERP-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617354217000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"1000","maxStopSz":"1000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"PERP-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"QTUM","expTime":"","instId":"QTUM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"17000","maxStopSz":"17000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"QTUM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"REN","expTime":"","instId":"REN-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"REN-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"RSR","expTime":"","instId":"RSR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"26000","maxStopSz":"26000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000001","uly":"RSR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"RSS3","expTime":"","instId":"RSS3-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1645685715000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"RSS3-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"RVN","expTime":"","instId":"RVN-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1619160697000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"100000","maxStopSz":"100000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"RVN-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"SAND","expTime":"","instId":"SAND-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617354218000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"3000","maxStopSz":"3000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"SAND-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"SC","expTime":"","instId":"SC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617872003000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"37000","maxStopSz":"37000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000001","uly":"SC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000","ctValCcy":"SHIB","expTime":"","instId":"SHIB-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1620551348000","lotSz":"1","maxIcebergSz":"100000000000","maxLmtSz":"100000000000","maxMktSz":"15000","maxStopSz":"15000","maxTriggerSz":"100000000000","maxTwapSz":"100000000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00000001","uly":"SHIB-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"SLP","expTime":"","instId":"SLP-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1629972222000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"100000","maxStopSz":"100000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"SLP-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"SNX","expTime":"","instId":"SNX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"16000","maxStopSz":"16000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"SNX-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1000000","ctValCcy":"SOS","expTime":"","instId":"SOS-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1640847459000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"22000","maxStopSz":"22000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.000000001","uly":"SOS-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"SRM","expTime":"","instId":"SRM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"33000","maxStopSz":"33000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"SRM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100000","ctValCcy":"STARL","expTime":"","instId":"STARL-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1636113018000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"20000","maxStopSz":"20000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00000001","uly":"STARL-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"STORJ","expTime":"","instId":"STORJ-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"STORJ-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"SUSHI","expTime":"","instId":"SUSHI-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"21000","maxStopSz":"21000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"SUSHI-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"SWRV","expTime":"","instId":"SWRV-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"40000","maxStopSz":"40000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"SWRV-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"THETA","expTime":"","instId":"THETA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"3000","maxStopSz":"3000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"THETA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.01","ctValCcy":"TORN","expTime":"","instId":"TORN-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1614161731000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"30000","maxStopSz":"30000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"TORN-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"TRB","expTime":"","instId":"TRB-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"22000","maxStopSz":"22000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"TRB-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"UMA","expTime":"","instId":"UMA-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"37000","maxStopSz":"37000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"UMA-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"UMEE","expTime":"","instId":"UMEE-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1645685725000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"70000","maxStopSz":"70000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"UMEE-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"UNI","expTime":"","instId":"UNI-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"8000","maxStopSz":"8000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"UNI-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"WAVES","expTime":"","instId":"WAVES-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"4000","maxStopSz":"4000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"WAVES-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"WNCG","expTime":"","instId":"WNCG-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1629453803000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"40000","maxStopSz":"40000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"WNCG-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"WNXM","expTime":"","instId":"WNXM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"7000","maxStopSz":"7000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"WNXM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.01","ctValCcy":"XCH","expTime":"","instId":"XCH-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1620460471000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"37000","maxStopSz":"37000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"XCH-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"XEM","expTime":"","instId":"XEM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1617872004000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"31000","maxStopSz":"31000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"XEM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"XLM","expTime":"","instId":"XLM-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"5000","maxStopSz":"5000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"XLM-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"XMR","expTime":"","instId":"XMR-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"6000","maxStopSz":"6000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"XMR-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"XRP","expTime":"","instId":"XRP-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"5000","maxStopSz":"5000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"XRP-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"XTZ","expTime":"","instId":"XTZ-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"33000","maxStopSz":"33000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"XTZ-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.0001","ctValCcy":"YFI","expTime":"","instId":"YFI-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"41000","maxStopSz":"41000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"1","uly":"YFI-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.001","ctValCcy":"YFII","expTime":"","instId":"YFII-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"47000","maxStopSz":"47000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.1","uly":"YFII-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"YGG","expTime":"","instId":"YGG-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1628240523000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"50000","maxStopSz":"50000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"YGG-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"0.1","ctValCcy":"ZEC","expTime":"","instId":"ZEC-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.01","uly":"ZEC-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"1","ctValCcy":"ZEN","expTime":"","instId":"ZEN-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"2000","maxStopSz":"2000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.001","uly":"ZEN-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"100","ctValCcy":"ZIL","expTime":"","instId":"ZIL-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"12000","maxStopSz":"12000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.00001","uly":"ZIL-USDT"},{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"linear","ctVal":"10","ctValCcy":"ZRX","expTime":"","instId":"ZRX-USDT-SWAP","instType":"SWAP","lever":"75","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000","maxLmtSz":"100000000","maxMktSz":"7000","maxStopSz":"7000","maxTriggerSz":"100000000","maxTwapSz":"100000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"USDT","state":"live","stk":"","tickSz":"0.0001","uly":"ZRX-USDT"}],"msg":""}HTTP/1.1 200
sudavida commented 2 years ago

前面改了那个还是能够起作用,但是如果content_length大于实际数据长度的情况,还是多读取数据出来了

fawdlstty commented 2 years ago

需确认是否因远程服务器端ContentLength不对造成。如果是,那么代表非libfv问题,将不考虑兼容这种不标准的报文

sudavida commented 2 years ago

999%的情况是对的,偶尔一次实际内容长度小于Content_Length数值

sudavida commented 2 years ago

如果按照Content_Length数值读数据,就会跨到了下一个报文。这个是连续大量读数据的极端情况下发生的:一个报文接着一个报文。我只能试着避免这种情况,对报文进行适当检查,补救。

sudavida commented 2 years ago

好在正常报文中间不会出现类似“HTTP/**** 这种

sudavida commented 2 years ago

好像没有几个像我这样做连续的大数据量访问,但确实是我的真实使用情况

fawdlstty commented 2 years ago

改为这样试试

fv::Request::SetDefaultHeader ("Accept-Encoding", "gzip");
sudavida commented 2 years ago

后面我单独试下这个,目前是没用这个。当时是出现乱码的原因,猜测是编码问题,所以取消掉了。

sudavida commented 2 years ago

这个错误在gzip模式下出现: terminate called after throwing an instance of 'std::system_error' what(): cancel: Bad file descriptor

sudavida commented 2 years ago

感觉是socket连接断了,但是报的错和普通模式不一样,普通模式会报:End of file之类

sudavida commented 2 years ago

也可能是压缩数据格式错误

sudavida commented 2 years ago

实际检查发现出现报错:catch error: internal error (SSL routines, ssl3_read_n) wrong version number (SSL routines, SSL3_GET_RECORD) 改了这里: struct SslConn: public IConn { Tcp::resolver ResolverImpl; //Ssl::context SslCtx { Ssl::context::tls }; Ssl::context SslCtx { Ssl::context::context::sslv23 };//改

sudavida commented 2 years ago

改成gzip,chunked模式后还没遇到解析错误的情况

sudavida commented 2 years ago

还是有结束标志比较好解析

sudavida commented 2 years ago

跑出乱码: first line:����{u�F��U���H�$ثc:"оw��]yu]bu��O�jf<ɄKv�:<�.�VO�(-���Y�O�]�L�d�TPO]�ՂH�$�^�EM�H0FM@��d5�$�Aؙ�zui��_ߏ�`���zϺZ�Z,����I|�DKW�Od>�Q$X�i��f�h�y��Q$fħ�+m8^3�(&��xo�;���S�nGuu�򻕟OE��hɣm��-�����$V�ht�S7�R�9D�)���M죬'4"E�%��HZE7d�"d��→4Eb%���A��E◆]G�▒I�£:۹�)����▮��8W�─�┌/├☃F4�DK→

sudavida commented 2 years ago

读http协议第一行就报错,还没进入gzip解压。导致后面跟随5-6个报文都是乱码。再后面逐渐恢复正常

sudavida commented 2 years ago

这个比不使用chunked模式强,原来这种情况基本上恢复不了

sudavida commented 2 years ago

也可能是linux终端缓存的问题,我用的tmux

sudavida commented 2 years ago

乱码的原因可能是:编译覆盖了正在运行的程序

sudavida commented 2 years ago

另chuncked size: try { _sz = std::stoi(_sz_str, 0, 16); }catch(...){ throw Exception ("Unrecognized chunked size"); }

sudavida commented 2 years ago

gzip chunked模式偶尔也会乱码。但是稳定性要强很多,能够从错误流中恢复

sudavida commented 2 years ago
   //解析错误在这里会被捕获,通过重连来解决
    fv::Response _r;
    try{
        if (!session.IsConnect()) {  
            session = co_await fv::Session::FromUrl(host, "");
        }
        _r = co_await session.Get (host+ uri);
    } catch (std::exception& e) {
        std::cout<<"error:"<<e.what()<<"\n";
        session.Conn->Reconnect();
    }
sudavida commented 2 years ago

乱码可能是不可避免的,这么解决可以接受

fawdlstty commented 2 years ago

最好换一些稳定的后台url试试,确认是否就是这个网站服务器的Content-Length问题