From ab528ec080c9cb50ec0015031297c59453c460f8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste LE STANG Date: Mon, 1 Jan 2018 20:01:53 +0100 Subject: [PATCH] Fixing flake8 --- freqtrade/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/main.py b/freqtrade/main.py index 316681896..1092668d0 100755 --- a/freqtrade/main.py +++ b/freqtrade/main.py @@ -264,7 +264,7 @@ def create_trade(stake_amount: float) -> bool: amount = stake_amount / buy_limit order_id = exchange.buy(pair, buy_limit, amount) - + fiat_converter = CryptoToFiatConverter() stake_amount_fiat = fiat_converter.convert_amount( stake_amount, @@ -277,7 +277,8 @@ def create_trade(stake_amount: float) -> bool: exchange.get_name().upper(), pair.replace('_', '/'), exchange.get_pair_detail_url(pair), - buy_limit, stake_amount, _CONF['stake_currency'], stake_amount_fiat, _CONF['fiat_display_currency'] + buy_limit, stake_amount, _CONF['stake_currency'], + stake_amount_fiat, _CONF['fiat_display_currency'] )) # Fee is applied twice because we make a LIMIT_BUY and LIMIT_SELL trade = Trade(