Skip to content

Positions Property

Summary

The list of all open positions of the account.

Signature

1
public Positions Positions {get;}

Return Value

Positions

Declaring Type

cAlgo.API.Internals.Algo

Examples

1
2
3
4
5
 foreach (var position in Positions)
 {
     if (position.StopLoss == null)
         ModifyPosition(position, 10, position.TakeProfit);
 }

Last update: July 1, 2022

Comments