Sha256: 79ad12e501401f98f8a1ac34f952b6e7caed9e1ebe3e7d7cd4606ca58037369b
Contents?: true
Size: 905 Bytes
Versions: 2
Compression:
Stored size: 905 Bytes
Contents
# SnapTrade::OptionsPosition ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **symbol** | **BrokerageSymbol** | | [optional] | | **price** | **Float** | Trade Price if limit or stop limit order | [optional] | | **units** | **Float** | | [optional] | | **currency** | [**OptionsPositionCurrency**](OptionsPositionCurrency.md) | | [optional] | | **average_purchase_price** | **Float** | Average purchase price for this position | [optional] | | **open_pnl** | **Float** | | [optional] | | **fractional_units** | **Float** | Deprecated, use the units field for both fractional and integer units going forward | [optional] | ## Example ```ruby require 'snaptrade' instance = SnapTrade::OptionsPosition.new( symbol: null, price: 31.33, units: 10, currency: null, average_purchase_price: 108.3353, open_pnl: 0.44, fractional_units: 1.44 ) ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
snaptrade-1.17.1 | docs/OptionsPosition.md |
snaptrade-1.17.0 | docs/OptionsPosition.md |