Sha256: 00cb68a876c53e12347fd4ab85630e3d41fff265d73fcef09c1d5d58dc771dae
Contents?: true
Size: 1018 Bytes
Versions: 1
Compression:
Stored size: 1018 Bytes
Contents
# SnapTrade::OptionsPosition ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **symbol** | [**BrokerageSymbol**](BrokerageSymbol.md) | | [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] | | **book_price** | **Float** | The book price of the asset | [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, book_price: 5 ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snaptrade-1.14.0 | docs/OptionsPosition.md |