Type/to search
0
Follow
1
Followers
Socorro, por que o Binance spot BTCUSDT GetDepth() retorna apenas uma pequena quantidade de dados e a profundidade não é suficiente? Pergunta 2: Por que o parâmetro está errado ao usar get?
Help
Created 2022-11-22 11:59:45  Updated 2022-11-22 15:05:39
 1
 1359

O BTCUSDT GetDepth () retorna apenas uma pequena quantidade de dados e não tem profundidade suficiente
Retorna apenas dados entre 1589 e 15885, apenas US$ 4

"Info": null, "Asks": [{ "Price": 15889.68, "Amount": 0.02221

。。。。。。。

。。。。。。。

"Price": 15885.16, "Amount": 0.42772

Não é uma questão de tempo, é melhor usar o get para ver o resultado.

exchanges[1].IO("api", "GET", "/api/v3/depth?symbol=BTCUSDT");

De volta ao Futures_OP 4: 400: {"code":-1100", "msg":"Illegal characters found in parameter 'symbol'; legal range is '^[A-Z0-9-_.]{1,20}$'."}

Não importa o tamanho da letra.

Related Recommendations
Comment
All comments (1)

    javascript 例子

    javascript
    function main() { var ret = HttpQuery("https://api.binance.com/api/v3/depth?symbol=BTCUSDT&limit=1000") return ret }

    exchange.IO是调用私有接口的。访问公共行情接口使用HttpQuery函数。

    4 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)