Knowledgebase:
OpenPositionAdded
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 04 July 2018 12:18 PM

Syntax

 Public Event OpenPositionAdded (Client As Integer, Account As Integer, Ticket As Integer ,Symbol As Integer, lots As Double, PosType As OperationTypeEnumOpenPrice As Double, Interest As Double, Time As String, Note As String, IsFreezed As Boolean)

This event fires when new position added to the trading list for any accounts under the login dealer.

Parameters

Parameter Description 
Client Client Id that position belongs to, the value of type Integer.
Account  Account number that position belongs to, the value of type Integer.
Ticket  Position ticket number, the value of type Integer.
Symbol  Position trading symbol ID, the value of type Integer.
lots  Position lots value, the value of type Double.
PosType  Postion type , value of type OperationTypeEnum.
OpenPrice  Position open price , value of type Double.
Interest  Position interest value, the value of type Double
Time  Position takes time, the value of type String.
Note  Position note, the value of type String.
IsFreezed To detect if the new position that added is frozen or no, the value of type Boolean.

 


See Also


VertexFX Backoffice 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