OptionDetails

data class OptionDetails(optionCategory: OptionCategory?, optionRootSymbol: String?, timeStamp: Instant?, adjustedFlag: Boolean?, displaySymbol: String?, optionType: OptionType?, strikePrice: Float?, symbol: String?, bid: Float?, ask: Float?, bidSize: Int?, askSize: Int?, inTheMoney: Boolean?, volume: Int?, openInterest: Int?, netChange: Float?, lastPrice: Float?, quoteDetail: String?, osiKey: String?, greeks: OptionGreeks)

Parameters

optionCategory

STANDARD, ALL, MINI

optionRootSymbol

The root or underlying symbol of the option

timeStamp

The timestamp of the option

adjustedFlag

Indicator signifying whether option is adjusted

displaySymbol

The display symbol

optionType

The option type

strikePrice

The agreed strike price for the option as stated in the contract

symbol

The market symbol for the option

bid

The bid

ask

The ask

bidSize

The bid size

askSize

The ask size

inTheMoney

The "in the money" value; a put option is "in the money" when the strike price of the put is above the current market price of the stock

volume

The option volume

openInterest

The open interest value

netChange

The net change value

lastPrice

The last price

quoteDetail

The option quote detail

osiKey

The Options Symbology Initiative (OSI) key containing the option root symbol, expiration date, call/put indicator, and strike price

greeks

The Greeks for an option

Constructors

OptionDetails
Link copied to clipboard
fun OptionDetails(optionCategory: OptionCategory?, optionRootSymbol: String?, timeStamp: Instant?, adjustedFlag: Boolean?, displaySymbol: String?, optionType: OptionType?, strikePrice: Float?, symbol: String?, bid: Float?, ask: Float?, bidSize: Int?, askSize: Int?, inTheMoney: Boolean?, volume: Int?, openInterest: Int?, netChange: Float?, lastPrice: Float?, quoteDetail: String?, osiKey: String?, greeks: OptionGreeks)
STANDARD, ALL, MINI

Properties

adjustedFlag
Link copied to clipboard
val adjustedFlag: Boolean?
Indicator signifying whether option is adjusted
ask
Link copied to clipboard
val ask: Float?
The ask
askSize
Link copied to clipboard
val askSize: Int?
The ask size
bid
Link copied to clipboard
val bid: Float?
The bid
bidSize
Link copied to clipboard
val bidSize: Int?
The bid size
displaySymbol
Link copied to clipboard
val displaySymbol: String?
The display symbol
expiration
Link copied to clipboard
val expiration: ZonedDateTime?
greeks
Link copied to clipboard
val greeks: OptionGreeks
The Greeks for an option
inTheMoney
Link copied to clipboard
val inTheMoney: Boolean?
The "in the money" value; a put option is "in the money" when the strike price of the put is above the current market price of the stock
lastPrice
Link copied to clipboard
val lastPrice: Float?
The last price
netChange
Link copied to clipboard
val netChange: Float?
The net change value
openInterest
Link copied to clipboard
val openInterest: Int?
The open interest value
optionCategory
Link copied to clipboard
val optionCategory: OptionCategory?
STANDARD, ALL, MINI
optionRootSymbol
Link copied to clipboard
val optionRootSymbol: String?
The root or underlying symbol of the option
optionType
Link copied to clipboard
val optionType: OptionType?
The option type
osiKey
Link copied to clipboard
val osiKey: String?
The Options Symbology Initiative (OSI) key containing the option root symbol, expiration date, call/put indicator, and strike price
quoteDetail
Link copied to clipboard
val quoteDetail: String?
The option quote detail
strikePrice
Link copied to clipboard
val strikePrice: Float?
The agreed strike price for the option as stated in the contract
symbol
Link copied to clipboard
val symbol: String?
The market symbol for the option
timeStamp
Link copied to clipboard
val timeStamp: Instant?
The timestamp of the option
volume
Link copied to clipboard
val volume: Int?
The option volume

Sources

jvm source
Link copied to clipboard