OrderClientSafeOrderDelete Method
|
Delete pending order.
Namespace:
TradingAPI.MT4Server
Assembly:
MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
Syntax public void OrderDelete(
int ticket,
Op type,
string symbol,
double volume,
double price
)
Public Sub OrderDelete (
ticket As Integer,
type As Op,
symbol As String,
volume As Double,
price As Double
)
public:
void OrderDelete(
int ticket,
Op type,
String^ symbol,
double volume,
double price
)
member OrderDelete :
ticket : int *
type : Op *
symbol : string *
volume : float *
price : float -> unit
Parameters
- ticket
- Type: SystemInt32
Unique number of the order ticket. - type
- Type: TradingAPI.MT4ServerOp
Operation type. - symbol
- Type: SystemString
Symbol for trading. - volume
- Type: SystemDouble
Number of lots. - price
- Type: SystemDouble
Preferred deleting price.
Exceptions See Also