Positions


Summary

The list of all open positions of the account.

Syntax

public Positions Positions{ get; }

Example 1

foreach (var position in Positions)
{
    if (position.StopLoss == null)
        ModifyPosition(position, 10, position.TakeProfit);
}
Reference