Skip to content

Commit

Permalink
exch_client.py fix init error
Browse files Browse the repository at this point in the history
  • Loading branch information
DogsTailFarmer committed Dec 16, 2023
1 parent 3432235 commit 9f41d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/exch_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ async def main(_exchange, _symbol):
client_id_msg = await stub.OpenClientConnection(api_pb2.OpenClientConnectionRequest(
trade_id=trade_id,
account_name=_exchange,
symbol=SYMBOL,
rate_limiter=RATE_LIMITER))
except asyncio.CancelledError:
pass # Task cancellation should not be logged as an error.
Expand Down

0 comments on commit 9f41d8a

Please sign in to comment.