fixed flake

This commit is contained in:
hroff-1902 2019-02-10 22:28:40 +03:00 committed by GitHub
parent 08d35f3e15
commit 5e741a0f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', {})