Syntax
Public Overrides Function UpdateSLTPOrder(ByVal OrderID As Long, ByVal Lots As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "") As TransResult
This function is used to update an SL/TP order.
Parameters
Key | Description |
OrderID | Value of typelong |
Lots | Value of type double |
SL | Optional. object |
TP | Optional. object |
Sample
Public Sub BOChatOrderReceived (ByVal BOOrder As VertexFXBridgeAPI.Order) Dim Result As VertexFXBridgeAPI.TransResult Result=BO.GetBO.UpdateSLTPOrder (523146,1, 1.5 1.8) End Sub
See Also