Skip to main content

hist

This command allows the user to retrieve the historical price of options for the given parameters of a ticker, expiry, strike , option type, and interval for the past x days in a chart format.

Usage

/op hist ticker expiry strike opt_type interval [past_days]

Parameters

NameDescriptionOptionalChoices
tickerStock TickerFalseNone
expiryExpiration Date YYYY-MM-DD formatFalseNone
strikeOption Strike PriceFalseNone
opt_typeCalls or PutsFalseCalls, Puts
intervalChart Minute Interval, 1440 for DailyFalse15 (15), 30 (30), 60 (60), 1440 (1440)
past_daysPast Days to Display. Default: 5TrueNone

Examples

/op hist ticker:AMD expiry:2024-12-20 strike:80 opt_type:Calls interval:15 past_days:5
/op hist ticker:AMD expiry:2024-12-20 strike:80 opt_type:Calls interval:15