Position CLASS

GroupId PROPERTY (long)
The ID of the position group. This group created when position opened by the MAM account. SYNTAX public long GroupId { get; } EXAMPLE using ...
Sat, May 5, 2018 at 4:04 PM
Id PROPERTY (string)
A unique number that the trading system assigns to each position. SYNTAX public string Id { get; } EXAMPLE using System; using System.Collec...
Sat, May 5, 2018 at 4:05 PM
Instrument PROPERTY (Instrument)
Represents the information of instrument for position. SYNTAX public Instrument Instrument { get; } EXAMPLE using System; using System.Colle...
Sat, May 5, 2018 at 4:06 PM
IsGroupPart PROPERTY (bool)
Return true when position was sent by MAM account. SYNTAX public bool IsGroupPart { get; } EXAMPLE using System; using System.Collections; u...
Sat, May 5, 2018 at 4:08 PM
MagicNumber PROPERTY (int)
Returns a magic number of chosen position. SYNTAX public int MagicNumber { get; } EXAMPLE using System; using System.Collections; using Syst...
Sat, May 5, 2018 at 4:09 PM
OpenOrderId PROPERTY (string)
Order number that opened a position. Unique number that the trading system assigns to each order. If a position opens based on an order, the position's ...
Sat, May 5, 2018 at 4:10 PM
OpenPrice PROPERTY (double)
Price at which the position was opened. SYNTAX public double OpenPrice { get; } EXAMPLE using System; using System.Collections; using System...
Sat, May 5, 2018 at 4:11 PM
OpenTime PROPERTY (DateTime)
Date and time the position was opened. SYNTAX public DateTime OpenTime { get; } EXAMPLE using System; using System.Collections; using System...
Sat, May 5, 2018 at 4:18 PM
Side PROPERTY (Operation)
Operation with which the position was opened (BUY or SELL). SYNTAX public Operation Side { get; } EXAMPLE using System; using System.Collect...
Sat, May 5, 2018 at 4:20 PM
StopLossOrder PROPERTY (Order)
Provide access to Stop Loss order of the current position or null if it isn't exist. SYNTAX public Order StopLossOrder { get; } EXAMPLE ...
Sat, May 5, 2018 at 4:21 PM