Click or drag to resize

OrderClientOrderMultipleCloseByAsync Method

Close of multiple open orders without awiting reply from server. Use OnOrderProgress event to get result.

Namespace:  TradingAPI.MT4Server
Assembly:  MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
Syntax
public int OrderMultipleCloseByAsync(
	string symbol
)

Parameters

symbol
Type: SystemString
Symbol for trading.

Return Value

Type: Int32
Temporary ID to identify order until it get a ticket number.
Exceptions
ExceptionCondition
TradeContextBusyExceptionAll trade connections are busy.
ServerExceptionCheck exception message for details.
TradeTimeoutExceptionNo reply from server in TradeTimeout milliseconds.
See Also