Sha256: 8a8f09f804a7720b31d7c050a2f5e555849296c72b90d81c02ce5aa272e5830a

Contents?: true

Size: 1.19 KB

Versions: 11

Compression:

Stored size: 1.19 KB

Contents

# MoneyKit::HoldingResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **account_id** | **String** | The MoneyKit ID of the account for this holding. |  |
| **security_id** | **String** | The MoneyKit ID of the security for this holding. |  |
| **quantity** | **String** | The units of this security (aka \"shares\") held. |  |
| **price** | **String** | The per-share price of this holding, as reported by the institution, denominated in account currency. | [optional] |
| **price_datetime** | **Time** | The timestamp for which the institution-reported price is valid. | [optional] |
| **value** | **String** | The value of this holding, as reported by the institution, denominated in account currency. | [optional] |
| **cost_basis** | **String** | The total purchase cost of the holding, as reported by the institution, denominated in account currency. | [optional] |

## Example

```ruby
require 'moneykit'

instance = MoneyKit::HoldingResponse.new(
  account_id: acc_6Tef269B6ZArSVpYrxtjBV,
  security_id: sec_bb6fi893jxdfNxyAjnb784,
  quantity: 10,
  price: 98.12,
  price_datetime: 2023-02-16T09:14:11,
  value: 987.15,
  cost_basis: 781.38
)
```

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
moneykit-0.1.15 docs/HoldingResponse.md
moneykit-0.1.14 docs/HoldingResponse.md
moneykit-0.1.13 docs/HoldingResponse.md
moneykit-0.1.12 docs/HoldingResponse.md
moneykit-0.1.11 docs/HoldingResponse.md
moneykit-0.1.10 docs/HoldingResponse.md
moneykit-0.1.9 docs/HoldingResponse.md
moneykit-0.1.6 docs/HoldingResponse.md
moneykit-0.1.5 docs/HoldingResponse.md
moneykit-0.1.4 docs/HoldingResponse.md
moneykit-0.1.3 docs/HoldingResponse.md