Files
OpenBB/website/versioned_docs/version-v3/bot/reference/telegram/options/hist.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

972 B
Vendored

title, description
title description
hist OpenBB Telegram Command

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

/hist ticker expiry strike opt_type interval [past_days]

Parameters

Name Description Optional Choices
ticker Stock Ticker False None
expiry Expiration Date YYYY-MM-DD format False None
strike Option Strike Price False None
opt_type Calls or Puts (C or P) False calls, puts, C, P
interval Chart Minute Interval. 15m, 30m, 1hr, 1d False 1d, 15m, 30m, 1hr
past_days Past Days to Display. Default: 5 True None

Examples

/hist AMD 2022-07-29 70 Calls 15m 5