IAllocationBlockDetailedPositions Property

GF API Documentation
Detailed allocation block/contract IPosition items.

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

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

Property Value

Type: IReadOnlyDictionaryIContract, IReadOnlyListIPosition
Remarks

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 for open ones.
See Also

Reference