Position CLASS

Account PROPERTY (Account)
Gives access to all information of the account that opened the position. SYNTAX public Account Account { get; } EXAMPLE using System; using ...
Amount PROPERTY (double)
Value of the position in lots. SYNTAX public double Amount { get; } EXAMPLE using System; using System.Collections; using System.Collections...
CloseOrderId PROPERTY (string)
ID of closing order (if position was closed). SYNTAX public string CloseOrderId { get; } EXAMPLE using System; using System.Collections; usi...
ClosePrice PROPERTY (double)
Closing position price (for closed positions). SYNTAX public double ClosePrice { get; } EXAMPLE using System; using System.Collections; usin...
CloseTime PROPERTY (DateTime)
Time when position was closed (for closed positions). SYNTAX public DateTime CloseTime { get; } EXAMPLE using System; using System.Collectio...
Comment PROPERTY (string)
Returns comment for the selected position. SYNTAX public string Comment { get; } EXAMPLE using System; using System.Collections; using Syste...
CurrentPrice PROPERTY (double)
The market price obtainable from your broker. SYNTAX public double CurrentPrice { get; } EXAMPLE using System; using System.Collections; usi...
Exp1 PROPERTY (double)
Returns amount of base instrument part on which your position is open. Fixing when position was open. SYNTAX public double Exp1 { get; } EXAMPLE...
Exp1Close PROPERTY (double)
Returns amount of base instrument part on which your position is open. SYNTAX public double Exp1Close { get; } EXAMPLE using System; using S...
Exp2 PROPERTY (double)
Returns amount of counter instrument part on which your position is open. Fixing when position was open. The Exposure calculated using the amount and cross ...