Skip to content

Commit

Permalink
fix other typo
Browse files Browse the repository at this point in the history
  • Loading branch information
r0fls committed Dec 5, 2024
1 parent 2ecc90e commit 142fea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brokers/base_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ async def cancel_order(self, order_id):
try:
cancel_status = self._cancel_order(order_id)
async with self.Session() as session:
trade = await.session.execute(select(Trade).filter_by(id=order_id))
trade = await session.execute(select(Trade).filter_by(id=order_id))
trade = trade.scalars().first()
if trade:
await self.update_trade(session, trade.id, 'cancelled')
Expand Down

0 comments on commit 142fea1

Please sign in to comment.