Adjust imports in scripts

This commit is contained in:
Matthias
2018-12-13 06:34:37 +01:00
parent 432cc00283
commit 4ca6aad99a
3 changed files with 5 additions and 5 deletions

View File

@@ -38,9 +38,9 @@ import pytz
from plotly import tools
from plotly.offline import plot
import freqtrade.optimize as optimize
from freqtrade import persistence
from freqtrade.arguments import Arguments, TimeRange
from freqtrade.data import history
from freqtrade.exchange import Exchange
from freqtrade.optimize.backtesting import setup_configuration
from freqtrade.persistence import Trade
@@ -141,7 +141,7 @@ def plot_analyzed_dataframe(args: Namespace) -> None:
exchange.refresh_tickers([pair], tick_interval)
tickers[pair] = exchange.klines(pair)
else:
tickers = optimize.load_data(
tickers = history.load_data(
datadir=_CONF.get("datadir"),
pairs=[pair],
ticker_interval=tick_interval,