Detailed allocation block/contract
IPosition items.
Namespace:
GF.Api.Allocation
Assembly:
GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
IReadOnlyDictionary<IContract, IReadOnlyList<IPosition>> DetailedPositions { get; }
ReadOnly Property DetailedPositions As IReadOnlyDictionary(Of IContract, IReadOnlyList(Of IPosition))
Get
property IReadOnlyDictionary<IContract^, IReadOnlyList<IPosition^>^>^ DetailedPositions {
IReadOnlyDictionary<IContract^, IReadOnlyList<IPosition^>^>^ get ();
}
Property Value
Type:
IReadOnlyDictionaryIContract,
IReadOnlyListIPosition
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.
Reference