Sha256: dfe97c39c5065d81f03f64672920e8a298c71cad66f90f6be93896b83b934057

Contents?: true

Size: 1.88 KB

Versions: 7

Compression:

Stored size: 1.88 KB

Contents

# MoneyKit::SecurityResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **security_id** | **String** | A unique MoneyKit ID for this security. |  |
| **name** | **String** | A user-facing name for this security. |  |
| **type** | **String** | The type of this security.  Will be one of: <p>`cash`: Cash, currency, and money market funds <p>`crypto`: Digital or virtual currencies <p>`derivative`: Options, warrants, and other derivative instruments <p>`equity`: Equities (stocks) <p>`etf`: Exchange-traded investment funds <p>`bond`: Bonds and certificates of deposit (CDs) <p>`loan`: Loans and loan receivables <p>`fund`: Open- and closed-end vehicles pooling funds of multiple investors <p>`unknown`: Indicates the type is unknown or does not fit into any other category |  |
| **currency** | **String** | The ISO-4217 code for the currency in which this security is priced. |  |
| **ticker** | **String** | The security's public trading symbol, if available. | [optional] |
| **isin** | **String** | The ISO 6166 globally unique ID for this security, if available. | [optional] |
| **sedol** | **String** | The security's SEDOL ID from the London Stock Exchange, if available. | [optional] |
| **close_price** | **String** | The price of the security at the close of the previous trading session, given in pricing currency. | [optional] |
| **close_date** | **Date** | The date for which `close_price` is given. | [optional] |

## Example

```ruby
require 'moneykit'

instance = MoneyKit::SecurityResponse.new(
  security_id: sec_bb6fi893jxdfNxyAjnb784,
  name: Microsoft,
  type: equity,
  currency: USD,
  ticker: MSFT,
  isin: US5949181045,
  sedol: null,
  close_price: 98.12,
  close_date: 2022-02-08
)
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
moneykit-0.1.15 docs/SecurityResponse.md
moneykit-0.1.14 docs/SecurityResponse.md
moneykit-0.1.13 docs/SecurityResponse.md
moneykit-0.1.12 docs/SecurityResponse.md
moneykit-0.1.11 docs/SecurityResponse.md
moneykit-0.1.10 docs/SecurityResponse.md
moneykit-0.1.9 docs/SecurityResponse.md