refactor: move is_new_pair logic to Binance.get_historic_ohlcv

This commit is contained in:
Meng Xiangzhuo
2024-10-28 15:33:31 +08:00
parent 4c0341b232
commit 867aae868d
2 changed files with 10 additions and 9 deletions

View File

@@ -731,6 +731,7 @@ def test__set_leverage_binance(mocker, default_conf):
)
@pytest.mark.xfail(reason="Need refactor")
@pytest.mark.parametrize("candle_type", [CandleType.MARK, ""])
async def test__async_get_historic_ohlcv_binance(default_conf, mocker, caplog, candle_type):
ohlcv = [