Public Event CloseOpenPosMsg(OpenTicket As Integer, ByRef CloseTicket As Integer, ClosePrice As Double, OpenPrice As Double, vType As OperationTypeEnum, Lots As Double, SymbolID As Integer, CloseTime As String, AccountID As String, Commission As Double, Interest As Double, ProfitLoss As Double, Comment As String)
This event is raised when an open position has been closed for its entire overall or partially amount.
||The ticket number which requested to close. Value of type is Integer
||The closed order number, the value of type is Integer
||The closing price value, as a value of type Double
||The open price, that takes the order at it, the value of type is Double
||The open ticket type as a value of type OperationTypeEnum
||The amount of lots that closed from the open ticket, the value of type is Double
||The Symbol identifier, value of type is an integer
||The closing time as the value of type String
||The Account identifier which the closed ticket belongs to, the value of type is String.
||Commission value for the closed position, the value of type is Double
||The swap value as Value of type is Double
||Profit / loss value for the closed ticket as a value of type Double
||The ticket note as a value of type String
VertexFX Client API Index