Event CloseOrderResult(Result As VertexFXClientAPI.NewOrderResultEnum,AtPrice As Double,PosOrOrder As Short, OrderID As Integer,BuySell As VertexGeneral.OperationTypeEnum,Lots As Double,Symbol As VertexFXClientAPI.COSymbol, ServerTime As String,OpenTicket As Long,TransTag As String)
This event is raised after calling CloseMarketOrder method with result from server.
||The response from the server,value of type VertexFXClient.NewOrderResultEnum.
||Price that order close on it ,value of type double.
||If 1 it means the position was closed automatically,2 means the order transferred to BackOffice side as market order, value of type Short
||The order number If PosOrOrder = 2 ,value of type Integer.
||Operation type,value of type OperationTypeEnum
||Amount of lot , value of type Double.
||Trading symbol object ,value of type COSymbol
||The server time at closing moment , value of type String
||Ticket number of closed open position , value of type Integer
||The same string that was sent through CloseMarketOrder method.
VertexFX Client API Index