Skip to content

Commit

Permalink
fix: not all trades always exists
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikdevcom committed Nov 1, 2022
1 parent 49f6d5f commit 0ad02fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_private.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ async def test_account_market_orders(
for order_id in order_ids["buy"] + order_ids["sell"]
]
)
await asyncio.sleep(10)
await asyncio.sleep(20)

for order in orders:
assert order.trades, order
assert order.trades or order.is_filled, order

assert l_orders
assert l_balances
Expand Down

0 comments on commit 0ad02fb

Please sign in to comment.