Sha256: 6df37c56fe444efe39191d18a9b5f7cfedd5b414a73003ede59f4d9cf29eec02

Contents?: true

Size: 927 Bytes

Versions: 6

Compression:

Stored size: 927 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] |

## 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

6 entries across 6 versions & 1 rubygems

Version Path
snaptrade-1.16.3 docs/OptionsPosition.md
snaptrade-1.16.2 docs/OptionsPosition.md
snaptrade-1.16.1 docs/OptionsPosition.md
snaptrade-1.16.0 docs/OptionsPosition.md
snaptrade-1.15.1 docs/OptionsPosition.md
snaptrade-1.15.0 docs/OptionsPosition.md