Syntax
Public Overrides Function NewLimitOrder(ByVal LOType As LimitOrderType, ByVal Amount As Double, ByVal LPSymbolName As String, ByVal LimitPrice As Double, ByVal LPAccountID As String, ByVal BOOrderID As String, ByVal BOAccountID As String, Optional ByVal SL As Double = 0, Optional ByVal TP As Double = 0 ,Optional BOOrderPrice As Double = 0 ) As TransResult
Description
This function is used to create new limit order at LP side and returns the object of type
Parameters
Part | Description |
Order operation |
|
Amount | Amount of |
LPSymbolName | Symbol name to create limit order for, the value of type String |
Entry order open price, the value of type Double | |
LPAccountID | The account number on LP side to create limit order for it, a value of type String |
BOOrderID | BackOffice order number, a value of type String |
BOAccountID | BackOffice account number, a value of type String |
SL | The stop |
TP | Take profit value, an optional value of Double |
BOOrderPrice | BackOffice price which takes BO order at |
Remarks
Above parameters should be returned when you receive the server response for the order in calling MyBase.OrderState.LimitOrderAcceptor MyBase.OrderState.LimitOrderRejected.For more information checkLimit Order Cycle