mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
chore: properly remove ccxt reference
This commit is contained in:
@@ -10,7 +10,6 @@ from io import BytesIO
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
import ccxt
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from pandas import DataFrame
|
from pandas import DataFrame
|
||||||
|
|
||||||
|
|||||||
@@ -953,12 +953,6 @@ def test_get_historic_ohlcv_binance(
|
|||||||
since_ms = dt_ts(since)
|
since_ms = dt_ts(since)
|
||||||
until_ms = dt_ts(until)
|
until_ms = dt_ts(until)
|
||||||
|
|
||||||
mocker.patch("freqtrade.exchange.binance_public_data.ccxt.binance")
|
|
||||||
mocker.patch(
|
|
||||||
"freqtrade.exchange.binance_public_data.ccxt.binance.markets",
|
|
||||||
{"BTC/USDT": {"id": "BTCUSDT"}},
|
|
||||||
)
|
|
||||||
|
|
||||||
df = exchange.get_historic_ohlcv(pair, timeframe, since_ms, candle_type, is_new_pair, until_ms)
|
df = exchange.get_historic_ohlcv(pair, timeframe, since_ms, candle_type, is_new_pair, until_ms)
|
||||||
|
|
||||||
if df.empty:
|
if df.empty:
|
||||||
|
|||||||
Reference in New Issue
Block a user