Fix import sorting
This commit is contained in:
parent
c938edc01b
commit
e0d3ca6c6d
@ -824,8 +824,8 @@ class RPC:
|
|||||||
)
|
)
|
||||||
if pair not in _data:
|
if pair not in _data:
|
||||||
raise RPCException(f"No data for {pair}, {timeframe} in {timerange} found.")
|
raise RPCException(f"No data for {pair}, {timeframe} in {timerange} found.")
|
||||||
from freqtrade.resolvers.strategy_resolver import StrategyResolver
|
|
||||||
from freqtrade.data.dataprovider import DataProvider
|
from freqtrade.data.dataprovider import DataProvider
|
||||||
|
from freqtrade.resolvers.strategy_resolver import StrategyResolver
|
||||||
strategy = StrategyResolver.load_strategy(config)
|
strategy = StrategyResolver.load_strategy(config)
|
||||||
strategy.dp = DataProvider(config, exchange=None, pairlists=None)
|
strategy.dp = DataProvider(config, exchange=None, pairlists=None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user