Public Sub MarketOrderClosedByHedgeFailed(ByVal LPOrderID1 As String, ByVal LPOrderID2 As String, ByVal Reason As String, ByVal BuySell1 As OperationType, ByVal BuySell2 As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID1 As String, ByVal BOOrderID2 As String, ByVal BOAccountID As String)
Descripton
This function should be called after CloseByHedgefunction if it returns failed result.
Parameter
Part | Description |
LPOrderID1 | The first failedorder number from theLP side, received by CloseByHedge function. Value of type is String |
LPOrderID2 | The second failedorder number on LP side, received by CloseByHedge function. Value of type is String |
Reason | Closing by hedge failed reason. Value of type is String |
BuySell1 | The first order operation type, received by CloseByHedge function. Value of type isOperationType |
BuySell2 | The second order operation type, received by CloseByHedge function. Value of type isOperationType |
Amount | The amount inlot, received by CloseByHedge function. Value of type is Double |
LPSymbolName | The orders symbol name, received by CloseByHedge function. Value of type is String |
LPAccountID | LP account number to close orders on, received by CloseByHedge function. Value of type is String |
BOOrderID1 | The first order number on the BackOffice side, received by CloseByHedge function. Value of type is String |
BOOrderID2 | The second order number on BackOffice side, received by CloseByHedge function. Value of type is String |
BOAccountID | BackOffice account number received by CloseByHedge function. Value of type is String |
See Also