Syntax
Public Overrides Function NewSLTPOrder(ByVal Ticket As String, ByVal Lots As Double, Optional ByVal SL As Object = "", Optional ByVal TP As Object = "")As TransResult
This function is used to create new SL/TPorder.
Parameters
| Key | Description |
| Ticket | Value of type string |
| 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. NewSLTPOrder (789325,1, 1.6, 1.7) End Sub
See Also