0
Follow
1
Followers
Ayuda, ¿por qué Binance spot BTCUSDT GetDepth() solo devuelve una pequeña cantidad de datos y la profundidad no es suficiente? Pregunta 2: ¿Por qué el parámetro es incorrecto cuando se utiliza ge...
Created 2022-11-22 11:59:45 Updated 2022-11-22 15:05:39
1
1359
BTCUSDT GetDepth () solo puede devolver una pequeña cantidad de datos y no tiene suficiente profundidad
Solo devuelve datos entre 1589 y 15885 por sólo $4
"Info": null,
"Asks": [{
"Price": 15889.68,
"Amount": 0.02221
。。。。。。。
。。。。。。。
"Price": 15885.16,
"Amount": 0.42772
No hay nada que hacer, solo ver los resultados.
exchanges[1].IO("api", "GET", "/api/v3/depth?symbol=BTCUSDT");
Volviendo a Futures_OP 4: 400: {"code":-1100", "msg":"Illegal characters found in parameter 'symbol'; legal range is '^[A-Z0-9-_.]{1,20}$'."}
No importa que el tamaño sea pequeño o grande.
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
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
