Knowledgebase:
NewOrderResult
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 20 July 2017 12:06 PM

Syntax

Event NewOrderResult(Result As NewOrderResultEnum,AtPrice As Double,PosOrOrder As Integer,OrderID As Integer,BuySell As OperationTypeEnum,Lots As Double, Symbol As COSymbol,ServerTime As String,TransTag As String)

This event is raised after calling the NewMarketOrder method and receive its result from the server.

Parameters

Part Description 
Result The response from the server, Value of type VertexFXClientAPI.NewOrderResultEnum
AtPrice The market order requested a price, value of type Double. 
PosOrOrder If 1 it means the position was closed automatically,2 means the order transferred to BackOffice side and it’s pending, a value of type is Integer.
OrderID Number of order when the PosOrOrder = 2 , value of type Integer.
BuySell Operation type,value of type VertexFXClientAPI.OperationTypeEnum.
Lots Amount of lots, a value of type Double.
Symbol Trading symbol object, a value of type COSymbol.
ServerTime The server time when the operation is proceeded, a value of type String.
TransTag The same string that was sent through NewMarketOrder method.

Remarks  

Use this event know the result for the new order.


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