We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161a68d commit 7f34184Copy full SHA for 7f34184
examples/ubwa-demo/ubwa-demo.py
@@ -38,7 +38,7 @@ async def main(self):
38
channels: list = ['trade', 'kline_1m', 'depth20']
39
for channel in channels:
40
self.ubwa.create_stream(channels=channel,
41
- markets=markets[:self.ubwa.get_limit_of_subscriptions_per_stream()],
+ markets=markets[:100],
42
process_asyncio_queue=self.process_data,
43
stream_label=channel)
44
@@ -59,7 +59,7 @@ async def process_data(self, stream_id=None):
59
60
61
if __name__ == "__main__":
62
- with BinanceWebSocketApiManager(auto_data_cleanup_stopped_streams=True) as ubwa:
+ with BinanceWebSocketApiManager() as ubwa:
63
bdp = BinanceDataProcessor(ubwa_manager=ubwa)
64
try:
65
asyncio.run(bdp.main())
0 commit comments