Syntax
Public Overrides Function UpdateLimitOrder(OrderID As String, Amount As Double, NewPrice As Double, Optional SL As Object = 0, Optional TP As Object = 0, Optional ByVal AccountID as String = "") As VertexFXBridgeAPI.TransResult
This function should update limit orders with the LP, this will return an object of typeTransResultthat represnts a fail or success result.
Parameters
Key | Description |
OrderID | Order IDof typestring |
Amount | Amount to be traded |
NewPrice | The new open price |
SL | Stop Loss |
TP | Take Profit |
AccountID | The ID of Account |
Sample
Public sub main () Dim Result As VertexFXBridgeAPI.TransResult Result=LP.GetLP(“Description”).UpdateLimitOrder (“553210″,1, 2100, , ,) End Sub |
See Also