Sha256: d0ce60a28dd4b38b1b6b9e4650e850e906db7db9b4f80080cdf6f735b9cc8e62
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
# SnapTrade::UniversalActivity ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **id** | **String** | | [optional] | | **account** | [**AccountSimple**](AccountSimple.md) | | [optional] | | **amount** | **Float** | | [optional] | | **currency** | [**Currency**](Currency.md) | | [optional] | | **description** | **String** | | [optional] | | **fee** | **Float** | | [optional] | | **institution** | **String** | | [optional] | | **option_type** | **String** | If an option transaction, then it's type (BUY_TO_OPEN, SELL_TO_CLOSE, etc), otherwise empty string | [optional] | | **price** | **Float** | | [optional] | | **settlement_date** | **String** | | [optional] | | **symbol** | [**Symbol**](Symbol.md) | | [optional] | | **option_symbol** | [**OptionsSymbol**](OptionsSymbol.md) | | [optional] | | **trade_date** | **String** | | [optional] | | **type** | **String** | Potential values include - DIVIDEND - BUY - SELL - CONTRIBUTION - WITHDRAWAL - EXTERNAL_ASSET_TRANSFER_IN - EXTERNAL_ASSET_TRANSFER_OUT - INTERNAL_CASH_TRANSFER_IN - INTERNAL_CASH_TRANSFER_OUT - INTERNAL_ASSET_TRANSFER_IN - INTERNAL_ASSET_TRANSFER_OUT - INTEREST - REBATE - GOV_GRANT - TAX - FEE - REI - FXT | [optional] | | **units** | **Float** | Usually but not necessarily an integer | [optional] | ## Example ```ruby require 'snaptrade' instance = SnapTrade::UniversalActivity.new( id: 2f7dc9b3-5c33-4668-3440-2b31e056ebe6, account: null, amount: 263.82, currency: null, description: WALT DISNEY UNIT DIST ON 21 SHS REC 12/31/21 PAY 01/06/22, fee: 0, institution: Passiv Investr, option_type: BUY_TO_OPEN, price: 0.4, settlement_date: 2022-01-06T05:00:00.000Z, symbol: null, option_symbol: null, trade_date: 2022-01-06T05:00:00.000Z, type: null, units: 5 ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snaptrade-1.2.0 | docs/UniversalActivity.md |