Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
r0fls committed Nov 27, 2024
1 parent 2e43bdb commit dec688b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions order_manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ async def reconcile_order(self, order):
# If the order has no broker_id, mark it as stale
logger.info(f'Marking order {order.id} as stale, missing broker_id', extra={'order_id': order.id})
await self.db_manager.update_trade_status(order.id, 'stale')
return
filled = await broker.is_order_filled(order.broker_id)
if filled:
try:
Expand Down

0 comments on commit dec688b

Please sign in to comment.