Review fixes

This commit is contained in:
peterkorodi 2018-05-16 22:25:14 +02:00 committed by GitHub
parent 1ef7cbdfd0
commit 89669c9743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)