Syntax
Public overrides Function CloseByHedge(ByRef Ticket1 As String,ByRef Ticket2 As String, ByRef Amount as Double)As TransResult
This function closes specific amount of two tickets by hedge.
Parameters
Key | Description |
Ticket1 | The ID of the first Ticket |
Ticket2 | The ID of the Second Ticket |
Amount | The amount that will be closed |
Sample
Public Sub main ()Dim Result As VertexFXBridgeAPI.TransResultResult= BO.GetBO. CloseByHedge (79538, 79539, 1)End Sub
See Also