From 89669c9743a0d01b048cdb1124ae4f15f451ddd6 Mon Sep 17 00:00:00 2001 From: peterkorodi Date: Wed, 16 May 2018 22:25:14 +0200 Subject: [PATCH] Review fixes --- scripts/plot_dataframe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/plot_dataframe.py b/scripts/plot_dataframe.py index d132b9aea..108c0b609 100755 --- a/scripts/plot_dataframe.py +++ b/scripts/plot_dataframe.py @@ -55,7 +55,7 @@ def plot_analyzed_dataframe(args: Namespace) -> None: tick_interval = analyze.strategy.ticker_interval - tickers = [] + tickers = {} if args.live: logger.info('Downloading pair.') # Init Bittrex to use public API @@ -74,7 +74,7 @@ def plot_analyzed_dataframe(args: Namespace) -> None: dataframe = analyze.populate_buy_trend(dataframe) dataframe = analyze.populate_sell_trend(dataframe) - trades = {} + trades = [] if args.db_url: engine = create_engine('sqlite:///' + args.db_url) persistence.init(_CONF, engine)