IAccountDetailedPositions Property

GF API Documentation
List of detailed IPosition lists for an IAccount. See DetailedPositions.
Detailed account/contract IPosition items.

Namespace:  GF.Api.Accounts
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201

IReadOnlyDictionary<IContract, IReadOnlyList<IPosition>> DetailedPositions { get; }

Property Value

Type: IReadOnlyDictionaryIContract, IReadOnlyListIPosition

List contains IPosition items indexed by contract.
Each PositionList could contain zero or more closed positions and one open position, if any.

In this collection, a list of atomic positions opened and closed during the trading session is available per each contract. The position list can hold multiple closed positions, open position (if any) is the last item in the list.
Detailed positions contains bought/sold information and profit/loss information - realized for closed positions, theoretical per open ones.
See Also