Sha256: 78b0ec0a07346909a6d443e484592e7c1c4f7436224cf7c41e59495527fc3f7a

Contents?: true

Size: 1.77 KB

Versions: 4

Compression:

Stored size: 1.77 KB

Contents

# Plaid::Holding

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **account_id** | **String** | The Plaid `account_id` associated with the holding. |  |
| **security_id** | **String** | The Plaid `security_id` associated with the holding. |  |
| **institution_price** | **Float** | The last price given by the institution for this security. |  |
| **institution_price_as_of** | **String** | The date at which `institution_price` was current. | [optional] |
| **institution_value** | **Float** | The value of the holding, as reported by the institution. |  |
| **cost_basis** | **Float** | The cost basis of the holding. | [optional] |
| **quantity** | **Float** | The total quantity of the asset held, as reported by the financial institution. |  |
| **iso_currency_code** | **String** | The ISO-4217 currency code of the holding. Always `null` if `unofficial_currency_code` is non-`null`. | [optional] |
| **unofficial_currency_code** | **String** | The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.  See the [currency code schema](/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.  | [optional] |

## Example

```ruby
require 'plaid'

instance = Plaid::Holding.new(
  account_id: null,
  security_id: null,
  institution_price: null,
  institution_price_as_of: null,
  institution_value: null,
  cost_basis: null,
  quantity: null,
  iso_currency_code: null,
  unofficial_currency_code: null
)
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plaid-14.0.0.beta.4 docs/Holding.md
plaid-14.0.0.beta.3 docs/Holding.md
plaid-14.0.0.beta.2 docs/Holding.md
plaid-14.0.0.beta.1 docs/Holding.md