Skip to content

Commit

Permalink
fix: add sleep to test amm-arb
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Apr 16, 2024
1 parent 366ed20 commit 219cf03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hummingbot/strategy/amm_arb/amm_arb.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ async def execute_arb_proposals(self, arb_proposals: List[ArbProposal]):
})

if not self._concurrent_orders_submission:
await asyncio.sleep(6)
await arb_side.completed_event.wait()
if arb_side.is_failed:
self.log_with_clock(logging.ERROR,
Expand Down

0 comments on commit 219cf03

Please sign in to comment.