typo corrected
This commit is contained in:
parent
a9ec5c6699
commit
afd0a054b2
@ -556,7 +556,7 @@ class FreqtradeBot(object):
|
|||||||
trade.update(order)
|
trade.update(order)
|
||||||
|
|
||||||
if self.strategy.stoploss_on_exchange:
|
if self.strategy.stoploss_on_exchange:
|
||||||
result = self.handle_stoploss_on_exchage(trade)
|
result = self.handle_stoploss_on_exchange(trade)
|
||||||
if result:
|
if result:
|
||||||
self.wallets.update()
|
self.wallets.update()
|
||||||
return result
|
return result
|
||||||
@ -665,7 +665,7 @@ class FreqtradeBot(object):
|
|||||||
logger.info('Found no sell signals for whitelisted currencies. Trying again..')
|
logger.info('Found no sell signals for whitelisted currencies. Trying again..')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def handle_stoploss_on_exchage(self, trade: Trade) -> bool:
|
def handle_stoploss_on_exchange(self, trade: Trade) -> bool:
|
||||||
# Check uf trade is fulfulled in which case the stoploss
|
# Check uf trade is fulfulled in which case the stoploss
|
||||||
# on exchange should be added immediately if stoploss on exchnage
|
# on exchange should be added immediately if stoploss on exchnage
|
||||||
# is on
|
# is on
|
||||||
|
Loading…
Reference in New Issue
Block a user