Sha256: 45d2ec92bd166a0c476d1c526143f1e87489f6b818be97080bddd89bc7a5779e

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 KB

Contents

# MoneyKit::SecurityResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **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(
  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

4 entries across 4 versions & 1 rubygems

Version Path
moneykit-0.1.6 docs/SecurityResponse.md
moneykit-0.1.5 docs/SecurityResponse.md
moneykit-0.1.4 docs/SecurityResponse.md
moneykit-0.1.3 docs/SecurityResponse.md