Hi,
I’m hoping to listen to trades in realtime for a lot of pairs… like a lot
Before I go down this route, am I going to encounter problems? Right now, I’m basing code on example from python-binance documentation.
My intention is to create listeners for each symbol and have them run in parallel. Right now I have 6 listeners setup but only see callbacks (trade data) for about 3 symbols/pairs.
-
Is this approach wrong? Or is it simply a case that I’ve coded it wrong (I’ve put the listeners in objects and create each one identically. Only 3 receive callbacks with trade information.
-
Am I going to hit “limits” with this approach, assuming its feasible.
async def main():
client = await AsyncClient.create()
bsm = BinanceSocketManager(client)
async with bsm.trade_socket(‘ETHBTC’) as ts:
while true
res = await ts.recv()
Appreciate any feedback. Hints.
Thanks much,
Graham