Namespace:
GF.Api.Accounts
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
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.
Reference