docstring added

This commit is contained in:
misagh 2018-11-24 17:10:51 +01:00
parent afd0a054b2
commit 531d9ecd0c
1 changed files with 6 additions and 3 deletions

View File

@ -666,9 +666,12 @@ class FreqtradeBot(object):
return False
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
# is on
"""
Check if trade is fulfilled in which case the stoploss
on exchange should be added immediately if stoploss on exchnage
is enabled.
"""
result = False
if trade.is_open and not trade.open_order_id and not trade.stoploss_order_id:
if self.edge: