From 5e741a0f734a126787ecf50f59a381e91a158bbd Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Sun, 10 Feb 2019 22:28:40 +0300 Subject: [PATCH] fixed flake --- freqtrade/freqtradebot.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 4535c22a7..5413c57f9 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -267,8 +267,8 @@ class FreqtradeBot(object): # Check if stake_amount is fulfilled if avaliable_amount < stake_amount: raise DependencyException( - f"Available balance({avaliable_amount} {self.config['stake_currency']}) is lower than " - f"stake amount({stake_amount} {self.config['stake_currency']})" + f"Available balance({avaliable_amount} {self.config['stake_currency']}) is " + f"lower than stake amount({stake_amount} {self.config['stake_currency']})" ) return stake_amount @@ -332,7 +332,8 @@ class FreqtradeBot(object): if not stake_amount: return False - logger.info(f'Buy signal found: about create a new trade with stake_amount: {stake_amount} ...') + logger.info(f"Buy signal found: about create a new trade with stake_amount: " + f"{stake_amount} ...") bidstrat_check_depth_of_market = self.config.get('bid_strategy', {}).\ get('check_depth_of_market', {})