Files
OpenBB/openbb_terminal/miscellaneous/gpt_index/data/stocks_options_plot.txt
minhhoang1023 c34d703786 Large Language Model - Text to command (#4695)
* POC for text-to-command

* POC

* gimme -> askobb (#4740)

* Add file to generate index data

* Add generate index file

* Remove data file

* Modified data generator

* Update .gitignore

* linting

* run all cmds with root access. new!

* output msg

* modify model name

* weird logging issue

* refactor for new llama index version

* black

* in case model doesnt know

* black linting

* linting

* more ruff

* imports

* nicer messages

* removing function from economy

* poetry

* prompt refinement

* Update spec to bring in new files

* fix llama import

* help command

* missed trailing ]

* -q parameter

* remove experimental

* switching gpt model functionality

* update prompt

* tik tok on the clock

* fixed print statements

* user run commands

* add return

* fix

* fix

* removing a few depr functions

* Add filter for slashes in askobb query

* force -q command

* removing returns

* Add edge case for custom filter

* add back -q if its not in other args

* minor checks

* new prompt - a little better

* more cases for not finding answer

* return clause

* new txt with summaries

* update index ver

* new index

* Add a log_askobb

* revision on prompt

* black

* poetry lock

* req files

* Codespell

* ruff

* Linting some stuff.  Change OpenAI from local to HUB

* Update api-keys.md

* openai key

* remove this. bye bye mypy

* mypy

* mypy...

* mypy2

* fix test

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
Co-authored-by: martinb-bb <martin.bufi@openbb.finance>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-09 16:00:47 +00:00

11 lines
2.3 KiB
Plaintext
Vendored

parent_command: stocks/options/
usage: plot [-p] [-x {ltd,s,lp,b,a,c,pc,v,oi,iv}] [-y {ltd,s,lp,b,a,c,pc,v,oi,iv}] [-c {smile}] [-h] [--export EXPORT] Shows a plot for the given x and y variables optional arguments: -p, --put Shows puts instead of calls (default: False) -x {ltd,s,lp,b,a,c,pc,v,oi,iv}, --x_axis {ltd,s,lp,b,a,c,pc,v,oi,iv} ltd- last trade date, s- strike, lp- last price, b- bid, a- ask,c- change, pc- percent change, v- volume, oi- open interest, iv- implied volatility (default: s) -y {ltd,s,lp,b,a,c,pc,v,oi,iv}, --y_axis {ltd,s,lp,b,a,c,pc,v,oi,iv} ltd- last trade date, s- strike, lp- last price, b- bid, a- ask,c- change, pc- percent change, v- volume, oi- open interest, iv- implied volatility (default: iv) -c {smile}, --custom {smile} Choose from already created graphs (default: None) -h, --help show this help message (default: False) --export EXPORT Export figure into png, jpg, pdf, svg (default: ) For more information and examples, use 'about plot' to access the related guide.
Summary: Display a customizable plot for various x and y variables related to options data. You can choose between calls and puts, select the x and y axis variables, and pick from pre-created graphs. Additionally, you can export the plot in various formats.
Examples:
- Display a plot of strike price vs implied volatility for call options of a specific stock: stocks/load <SYMBOL>/options/plot
- Display a plot of last trade date vs volume for put options of a specific stock: stocks/load <SYMBOL>/options/plot -p -x ltd -y v
- Display a plot of open interest vs percent change for call options of a specific stock: stocks/load <SYMBOL>/options/plot -x oi -y pc
- Display a plot of bid price vs ask price for put options of a specific stock: stocks/load <SYMBOL>/options/plot -p -x b -y a
- Display a pre-created "smile" graph for call options of a specific stock: stocks/load <SYMBOL>/options/plot -c smile
- Export a plot of strike price vs implied volatility for call options of a specific stock in pdf format: stocks/load <SYMBOL>/options/plot --export pdf