mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 12:22:35 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2.7 KiB
Vendored
2.7 KiB
Vendored
title, description, keywords
| title | description | keywords | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| add | This page guides on the usage of the 'add' command to add options to the trading diagram. The command has parameters allowing the user to buy a put instead of a call, short an option, and specify an option's identifier. |
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
Add options to the diagram.
Usage
add [-p] [-s] -i {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59}
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| put | Buy a put instead of a call | False | True | None |
| short | Short the option instead of buying it | False | True | None |
| identifier | The identifier of the option as found in the list command | None | False | range(0, 60) |
Examples
2022 May 10, 09:17 (🦋) /stocks/options/hedge/ $ add 25
┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ ┃ Positions ┃
┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Delta │ 1.00 │
├────────────────────┼───────────┤
│ Gamma │ 7253.89 │
├────────────────────┼───────────┤
│ Vega │ 0.14 │
├────────────────────┼───────────┤
│ Implied Volatility │ 1.00e-05 │
├────────────────────┼───────────┤
│ Strike Price │ 147.00 │
└────────────────────┴───────────┘
Current Option Positions
┏━━━━━━┳━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Type ┃ Hold ┃ Strike ┃ Implied Volatility ┃
┡━━━━━━╇━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ Call │ Long │ 147.00 │ 1.00e-05 │
└──────┴──────┴────────┴────────────────────┘