From 3f6795962f421710e3a5e5b359c4e6b2ad6a8551 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Mar 2023 19:49:59 +0100 Subject: [PATCH] Update bybit orderbook test --- tests/exchange/test_ccxt_compat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/exchange/test_ccxt_compat.py b/tests/exchange/test_ccxt_compat.py index f06a53308..872cf5059 100644 --- a/tests/exchange/test_ccxt_compat.py +++ b/tests/exchange/test_ccxt_compat.py @@ -463,7 +463,9 @@ class TestCCXTExchange(): if exchangename == 'gate': # TODO: Gate is unstable here at the moment, ignoring the limit partially. return - for val in [1, 2, 5, 25, 100]: + for val in [1, 2, 5, 25, 50, 100]: + if val > 50 and exchangename == 'bybit': + continue l2 = exch.fetch_l2_order_book(pair, val) if not l2_limit_range or val in l2_limit_range: if val > 50: