OrderClient Class |
Namespace: TradingAPI.MT4Server
The OrderClient type exposes the following members.
Name | Description | |
---|---|---|
![]() | OrderClient |
Initialize order client. For using with COM. Call Init() after constructor.
|
![]() | OrderClient(QuoteClient) |
Main constructor.
|
Name | Description | |
---|---|---|
![]() | Init |
Initialize order client. For using with COM.
|
![]() | OrderClose |
Close opened order.
|
![]() | OrderCloseAsync |
Close opened order without awiting reply from server. Use OnOrderProgress event to get result.
|
![]() | OrderCloseBy |
Close of pair of opposite open orders.
|
![]() | OrderCloseByAsync |
Close of pair of opposite open orders without awiting reply from server. Use OnOrderProgress event to get result.
|
![]() | OrderDelete |
Delete pending order.
|
![]() | OrderDeleteAsync |
Delete pending order without awiting reply from server. Use OnOrderProgress event to get result.
|
![]() | OrderModify |
Modification of characteristics for the previously opened position or pending orders.
|
![]() | OrderModifyAsync |
Modification of characteristics for the previously opened position or pending orders without awiting reply from server. Use OnOrderProgress event to get result.
|
![]() | OrderMultipleCloseBy |
Close of multiple open orders.
|
![]() | OrderMultipleCloseByAsync |
Close of multiple open orders without awiting reply from server. Use OnOrderProgress event to get result.
|
![]() | OrderSend(String, Op, Double, Double) |
The main function used to open a position or place a pending order.
|
![]() | OrderSend(String, Op, Double, Double, Int32, Double, Double, String, Int32, DateTime) |
The main function used to open a position or place a pending order.
|
![]() | OrderSendAsync |
Send order without awiting reply from server. Use OnOrderProgress event to get result.
|
Name | Description | |
---|---|---|
![]() | OnOrderProgress |
Open/close progress of the order before ticket number assign.
|
Name | Description | |
---|---|---|
![]() | PlacedManually | |
![]() | TradeTimeout |
How long to wait for trade execution, if TradeTimeoutException no reply from server.
|