quantityInPies
T212-veld dat aangeeft hoeveel van een positie binnen pies zit.
quantityInPies is een veld in T212's /equity/positions response. Het laat zien hoeveel van een aandeel binnen pies wordt gehouden — als subset van de totale quantity.
Voorbeeld:
{
"ticker": "AAPL_US_EQ",
"quantity": 10.0, // Totaal
"quantityInPies": 4.0, // Waarvan in pies
"averagePricePaid": 175.50,
"currentPrice": 192.40
}
Dit betekent: 10 Apple-aandelen totaal, waarvan 4 binnen één of meer pies zitten, en 6 als directe positie buiten pies.
Cruciaal voor onze sync:
T212-docs zeggen letterlijk: 'quantity is the TOTAL quantity owned, including those in pies'. Dus als wij quantity (10) optellen + pie-detail (4) → 14, en dat is fout (dubbeltellen).
Onze fix: positions is autoritair voor totaal. Pies zijn alleen voor pie-only ISINs (die niet in positions staan).
Voor jou zichtbaar:
In ons positions-overzicht tonen we 'X of Y in pies' indicator zodat je ziet hoe je 10 Apple-aandelen verspreid zijn.