added support for the adjusteable stop loss, if we made profit. Implementation based on the cocnept: use positive stop loss, if made profit is > 0
This commit is contained in:
@@ -141,7 +141,7 @@ class Trade(_DECL_BASE):
|
||||
else:
|
||||
logger.debug("keeping current stop loss")
|
||||
|
||||
print(
|
||||
logger.debug(
|
||||
"{} - current price {:.8f}, bought at {:.8f} and calculated "
|
||||
"stop loss is at: {:.8f} initial stop at {:.8f}. trailing stop loss saved us: {:.8f} "
|
||||
"and max observed rate was {:.8f}".format(
|
||||
|
||||
Reference in New Issue
Block a user