0
Follow
1
Followers
Hilfe, warum gibt Binance Spot BTCUSDT GetDepth() nur eine kleine Datenmenge zurück und die Tiefe reicht nicht aus? Frage 2: Warum ist der Parameter falsch, wenn stattdessen get verwendet wird?
Created 2022-11-22 11:59:45 Updated 2022-11-22 15:05:39
1
1359
Binance Cash BTCUSDT GetDepth () gibt nur wenige Daten zurück, die nicht tief genug sind
Gibt nur Daten zwischen 1589 und 15885 zurück
"Info": null,
"Asks": [{
"Price": 15889.68,
"Amount": 0.02221
。。。。。。。
。。。。。。。
"Price": 15885.16,
"Amount": 0.42772
Das ist eine sehr schwierige Aufgabe, die ich nicht bewältigen kann.
exchanges[1].IO("api", "GET", "/api/v3/depth?symbol=BTCUSDT");
"Illegal characters found in parameter 'symbol'; legal range is '^" (in der Rubrik "Futures_OP 4: 400"): {"code":-1100", "msg": "Illegal characters found in parameter 'symbol'; legal range is '^" (in der Rubrik "Futures_OP 4: 400")[A-Z0-9-_.]{1,20}$'."}
Es ist nicht nötig, klein zu schreiben oder groß zu machen.
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
