Syntax
Public Sub MarketOrderFailed (ByVal BOOrderID As String, ByVal Reason As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOAccountID As String)
Description
This method should be called after calling NewMarketOrder function and receiving failing server response.
Parameters
Part | Description |
BOOrderID | The BackOffice order number received by NewMarketOrder function .Value of type String |
Reason | The failed reason sent to server, value of type String |
BuySell | Market order type, received by NewMarketOrder function. Value of type OperationType |
Amount | Amount of lots, received by NewMarketOrder function. Value of type Double |
LPSymbolName | Symbol name that created market order on, received by NewMarketOrder function. Value of type String |
LPAccountID | LP account numbers that get the order on, received by NewMarketOrder function. Value of type String |
BOAccountID | The BackOffice account number, received by NewMarketOrder function. Value of type String |
See Also