IProtectable
interface
Methods for handling the stop-loss and take-profit orders
Properties
StopLossOrder Order | Gets current stop-loss order or null if it isn't exist |
TakeProfitOrder Order | Gets current take-profit order or null if it isn't exist |
Methods
RemoveStopLoss () Return: bool | Removes current stop-loss order |
RemoveStopLossAsync (Action<bool> callback) Return: bool | Removes current stop-loss order asynchronously |
RemoveTakeProfit () Return: bool | Removes current take-profit order |
RemoveTakeProfitAsync (Action<bool> callback) Return: bool | Removes current take-profit order asynchronously |
SetStopLoss (double slPrice) Return: bool | Sets a new (modifies existed) stop-loss order |
SetStopLossAsync (double slPrice, Action<bool> callback) Return: bool | Sets a new (modifies existed) stop-loss order asynchronously |
SetStopLossTrail (double slPrice) Return: bool | Sets a new (modifies existed) stop-loss order with trailing |
SetStopLossTrailAsync (double slPrice, Action<bool> callback) Return: bool | Sets a new (modifies existed) stop-loss order with trailing asynchronously |
SetTakeProfit (double tpPrice) Return: bool | Sets a new (modifies existed) take-profit order |
SetTakeProfitAsync (double tpPrice, Action<bool> callback) Return: bool | Sets a new (modifies existed) take-profit order asynchronously |