plaid2.model.investments_transactions_override module
- class plaid2.model.investments_transactions_override.InvestmentsTransactionsOverride(*, quantity: float, fees: Optional[float] = None, date: str, currency: str, security: Optional[SecurityOverride] = None, price: float, name: str, type: str)[source]
Bases:
BaseModel
- currency: str
Either a valid iso_currency_code or unofficial_currency_code
- date: str
//wikipedia.org/wiki/ISO_8601) date.
- Type
Posting date for the transaction. Must be formatted as an [ISO 8601](https
- dict(**kwargs: Any) Dict[str, Any] [source]
Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict
- fees: Optional[float]
The combined value of all fees applied to this transaction.
- json(**kwargs: Any) str [source]
Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json
- name_: str
The institution’s description of the transaction.
- classmethod parse_obj(data: Any) InvestmentsTransactionsOverride [source]
Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj
- classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) InvestmentsTransactionsOverride [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw
- price: float
The price of the security at which this transaction occurred.
- quantity: float
The number of units of the security involved in this transaction. Must be positive if the type is a buy and negative if the type is a sell.
- security: Optional[SecurityOverride]
Specify the security associated with the holding or investment transaction. When inputting custom security data to the Sandbox, Plaid will perform post-data-retrieval normalization and enrichment. These processes may cause the data returned by the Sandbox to be slightly different from the data you input. An ISO-4217 currency code and a security identifier (ticker_symbol, cusip, isin, or sedol) are required.
- type: str
The type of the investment transaction. Possible values are: buy: Buying an investment sell: Selling an investment cash: Activity that modifies a cash position fee: A fee on the account transfer: Activity that modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transfer