fixed flake
This commit is contained in:
parent
08d35f3e15
commit
5e741a0f73
@ -267,8 +267,8 @@ class FreqtradeBot(object):
|
|||||||
# Check if stake_amount is fulfilled
|
# Check if stake_amount is fulfilled
|
||||||
if avaliable_amount < stake_amount:
|
if avaliable_amount < stake_amount:
|
||||||
raise DependencyException(
|
raise DependencyException(
|
||||||
f"Available balance({avaliable_amount} {self.config['stake_currency']}) is lower than "
|
f"Available balance({avaliable_amount} {self.config['stake_currency']}) is "
|
||||||
f"stake amount({stake_amount} {self.config['stake_currency']})"
|
f"lower than stake amount({stake_amount} {self.config['stake_currency']})"
|
||||||
)
|
)
|
||||||
|
|
||||||
return stake_amount
|
return stake_amount
|
||||||
@ -332,7 +332,8 @@ class FreqtradeBot(object):
|
|||||||
if not stake_amount:
|
if not stake_amount:
|
||||||
return False
|
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', {}).\
|
bidstrat_check_depth_of_market = self.config.get('bid_strategy', {}).\
|
||||||
get('check_depth_of_market', {})
|
get('check_depth_of_market', {})
|
||||||
|
Loading…
Reference in New Issue
Block a user