From 6893c4fdd5a9749c5ce738c1d273b76d3b6a3b27 Mon Sep 17 00:00:00 2001 From: Morty Space Date: Fri, 6 Nov 2020 01:50:16 +0200 Subject: [PATCH] Fixed limit order price --- tests/test_private.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_private.py b/tests/test_private.py index b12608c..2fea209 100644 --- a/tests/test_private.py +++ b/tests/test_private.py @@ -52,7 +52,7 @@ async def test_no_dublicated_mass_limit_orders( @pytest.mark.asyncio async def test_account_limit_orders( account: cro.Account, exchange: cro.Exchange): - buy_price = round(await exchange.get_price(cro.pairs.CRO_USDT) / 10, 4) + buy_price = round(await exchange.get_price(cro.pairs.CRO_USDT) / 2, 4) order_ids = await asyncio.gather(*[ account.buy_limit(cro.pairs.CRO_USDT, 0.001, buy_price) for i in range(25)