Issue order stop-loss modification transactions for all orders in family
Public export to expose private methods for testing
Makes the initial take-profit a little less conservative
The level
in getStopLoss is the average of open & close unless we
are closing TP1 in which case we make the break-even just slightly better
than the entry price.
Determine if the given command is for buying (as opposed to selling)
Set the family stop loss if our trade is closed due to take-profit
Generated using TypeDoc
Public export to expose private methods for documentation