Knowledgebase:
CloseOrderResult
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 24 April 2016 02:06 PM

Syntax

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 CloseMarketOrdermethod with result from server.

Parameters

Part Description 
Result The response from the server,value of type VertexFXClient.NewOrderResultEnum.
AtPrice Price that order close on it ,value of type double.
PosOrOrder If 1 it means the position was closed automatically,2 means the order transferred to BackOffice side as market order, value of type Short
OrderID The order number If PosOrOrder = 2 ,value of type Integer.
BuySell Operation type,value of type OperationTypeEnum
Lots Amount of lot , value of type Double.
Symbol Trading symbol object ,value of type COSymbol
ServerTime The server time at closing moment , value of type String 
OpenTicket Ticket number of closed open position , value of type Integer
TransTag The same string that was sent through CloseMarketOrder method.

 


See Also


VertexFX Client API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions