RemoveTakeProfit ()
method
Removes current take-profit order
Syntax
public bool RemoveTakeProfit ()
Return
bool
Return true if take-profit order removed successfully, otherwise, false.
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.
Order methods
- Cancel ()
- CancelAsync (Action<bool> callback)
- Modify (ReplaceOrderRequest request)
- Modify (double newPrice)
- Modify (double newPrice, double newAmount)
- RemoveStopLoss ()
- RemoveStopLossAsync (Action<bool> callback)
- RemoveTakeProfitAsync (Action<bool> callback)
- SetStopLoss (double slPrice)
- SetStopLossAsync (double slPrice, Action<bool> callback)
- SetStopLossTrail (double slPrice)
- SetStopLossTrailAsync (double slPrice, Action<bool> callback)
- SetTakeProfit (double tpPrice)
- SetTakeProfitAsync (double tpPrice, Action<bool> callback)
Order properties
- Account
- Amount
- CloseTime
- Comment
- CurrentPrice
- ExpirationTime
- FilledAmount
- FillPrice
- GroupId
- Id
- Instrument
- IsActive
- IsAutoTradeOrder
- IsGroupPart
- IsReplaceable
- IsStopLossOrder
- IsTakeProfitOrder
- LastUpdateTime
- LinkedTo
- MagicNumber
- Price
- RemoteId
- Side
- StopLimitPrice
- StopLossOrder
- TakeProfitOrder
- Time
- TimeInForce
- Type