OptionDetails

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)

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

Sources

jvm source
Link copied to clipboard