Holding
One asset balance on one account (≡ Plaid Holding).
price is the unit USD price; value is the position USD value.
Pricing is all-or-nothing: both set (priced) or both None
(unpriced). Exactly one of the two being None raises
ValidationError at construction.
Fields
caip19strsymbolstr | NonequantityQuantitypriceMoney | NonevalueMoney | None__init__
__init__(self, caip19: str, symbol: str | None, quantity: Quantity, price: Money | None, value: Money | None) -> None
Parameters
caip19required, strnone
symbolrequired, str | Nonenone
quantityrequired, Quantitynone
pricerequired, Money | Nonenone
valuerequired, Money | Nonenone