Type/to search
3
Follow
0
Followers
Index de la valeur de retour de la connexion WebSocket
Help
Created 2023-03-04 18:51:45  
 1
 1003

J'ai connecté un websocket à mon compte et il m'a répondu:
{"e":"24hrMiniTicker","E":1677917478332,"s":"LTCUSDT","c":"89.75","o":"88.91","h":"90.82","l":"88.36","v":"2912050.342","q":"261006987.94"}
Je ne sais pas comment indexer le prix c en Python, je ne sais pas exactement comment faire, est-ce que Dieu m'a aidé ?

Related Recommendations
Comment
All comments (1)

    搞懂了,用msg = json.loads(msg)就行了。。

    3 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)