Syntax
Public Function LPNewOrder(ByVal LPDescreption As String, ByVal BuySell As OperationType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LPAccountID As String, ByVal BOOrderID As String) As TransResult
Description
This function creates a new order for a certain symbol on the liquidity provider side.
Parameters
Key | Description |
LPDescreption | ID of the liquidity provider |
BuySell | The type of the order of type OperationType |
Amount | Amount of the order |
LPSymbolName | Symbol name |
LPAccount | ID of liquidity provider account |
BOOrderID | Backoffice order ID |
Return value
Returns TransResult value.
Sample
Public Sub main() Msgbox (LP. LPNewLimitOrder("LP",1,1,"GOLD",1500,4454).Succeeded)End Sub
See Also