[英]Python Binance - How to get the last PRICES traded in futures with websocket?
I would like to get the last PRICES traded in futures with websocket, but I can only get the last mark prices of the futures using the next code:我想用 websocket 获得期货交易的最后价格,但我只能使用以下代码获得期货的最后标记价格:
BinanceWS = BinanceSocketManager(Binance)
conn_key = BinanceWS.start_symbol_mark_price_socket('BTCUSDT', MarketDataHandler)
BinanceWS.start()
Is there any command to get the last prices?有什么命令可以获取最新价格吗? Thank you very much
非常感谢
For futures prices you can use start_symbol_ticker_futures_socket
对于期货价格,您可以使用
start_symbol_ticker_futures_socket
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.