docstring added
This commit is contained in:
parent
afd0a054b2
commit
531d9ecd0c
@ -666,9 +666,12 @@ class FreqtradeBot(object):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def handle_stoploss_on_exchange(self, trade: Trade) -> bool:
|
def handle_stoploss_on_exchange(self, trade: Trade) -> bool:
|
||||||
# Check uf trade is fulfulled in which case the stoploss
|
"""
|
||||||
# on exchange should be added immediately if stoploss on exchnage
|
Check if trade is fulfilled in which case the stoploss
|
||||||
# is on
|
on exchange should be added immediately if stoploss on exchnage
|
||||||
|
is enabled.
|
||||||
|
"""
|
||||||
|
|
||||||
result = False
|
result = False
|
||||||
if trade.is_open and not trade.open_order_id and not trade.stoploss_order_id:
|
if trade.is_open and not trade.open_order_id and not trade.stoploss_order_id:
|
||||||
if self.edge:
|
if self.edge:
|
||||||
|
Loading…
Reference in New Issue
Block a user