Type/to search
1
Follow
0
Followers
Das Problem besteht darin, dass ftx das Datenformat zurückgibt.
Help
Created 2021-10-21 21:49:07  
 1
 1335

Sprache: Python
Börse: ftx
Code:account = exchange.IO ("api","GET","/api/account")
balance = exchange.IO("api","GET","/api/wallet/balances")
position = exchange.IO("api","GET","/api/positions")

Der Code verwendet eine private Schnittstelle und kann die Daten normal zurückgeben. Die Felder für die zurückgegebenen Daten sind identisch mit den Dokumenten des ftx api.
img

Aber das Format der Rücksendung lautet: "Was ist das?"

Related Recommendations
Comment
All comments (1)

    返回的是个字典结构,打印需要转为字符串

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