Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 04 July 2018 01:47 PM

An object that holds the open position data.You can invoke it using CVertexFXClientAPI.COOpenPosition and the following are values and the description for every value.


Part Description 
BuySell The operation type,value of type OperationTypeEnum (Read-only)
ClosePrice Closing price for this position, the value of type Double (Read-only)
Commission Get the Commission value, value of type Double.(Read-only)
CommCalcType Set the value for commission calculate Type,value of type CommCalcTypeEnum,(write-only)
FloatingProfitLoss The profit or loss the client gains or loses respectively, the value of type Double (Read-only) 
FormatPrice  Method used to formatted price depending on symbol pip location, the value of type String.
Interest Interest value for the position, value of type Double.(Read-only)
Liquidated  Is liquidated account? , the value of type Boolean(Read-only)  
Lots Amount of lots, the value of type Double (Read-only)
PosTime Time of the open position, the value of type String (Read-only).
Price Price of the open position, value of type Double (Read-only).
RefClosePrice Close Price of the referenced symbol, value of type Double.(Read-only).
SymbolID Position symbol ID,value of type Integer(Read-only).
SymbolName Position symbol name,value of type String(Read-only).
Ticket The position ticket number, value of type Integer(Read-only).
RefAskPrice Ask price of the reference symbol, value of type Double (ReadOnly).
RefBidPrice Bid Price of the reference Symbol, Value of type Double (ReadOnly).
IsFreezed To detect if the position is frozen or not, the value of type Boolean (Read Only).

See Also

VertexFX Client API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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