sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.01k stars 2.2k forks source link

spot depth and futures deph with multiplex_socket? #1304

Closed CopyPasteJedi closed 1 year ago

CopyPasteJedi commented 1 year ago

Hi,

How to subscribe spot and futures depth with multiplex_socket? In binance doc there is stream name: <symbol>@depth<levels>@100ms for both spot and futures, but how to separate it in manager?

Regards Thx

Edit: Need to use "futures_multiplex_socket()" for futures.