mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-11 20:01:16 +00:00
1 line
9.2 KiB
JavaScript
1 line
9.2 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[67028],{3905:(_,l,t)=>{t.d(l,{Zo:()=>s,kt:()=>h});var o=t(67294);function n(_,l,t){return l in _?Object.defineProperty(_,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):_[l]=t,_}function r(_,l){var t=Object.keys(_);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(_);l&&(o=o.filter((function(l){return Object.getOwnPropertyDescriptor(_,l).enumerable}))),t.push.apply(t,o)}return t}function e(_){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{};l%2?r(Object(t),!0).forEach((function(l){n(_,l,t[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(l){Object.defineProperty(_,l,Object.getOwnPropertyDescriptor(t,l))}))}return _}function a(_,l){if(null==_)return{};var t,o,n=function(_,l){if(null==_)return{};var t,o,n={},r=Object.keys(_);for(o=0;o<r.length;o++)t=r[o],l.indexOf(t)>=0||(n[t]=_[t]);return n}(_,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(_);for(o=0;o<r.length;o++)t=r[o],l.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(_,t)&&(n[t]=_[t])}return n}var p=o.createContext({}),c=function(_){var l=o.useContext(p),t=l;return _&&(t="function"==typeof _?_(l):e(e({},l),_)),t},s=function(_){var l=c(_.components);return o.createElement(p.Provider,{value:l},_.children)},u={inlineCode:"code",wrapper:function(_){var l=_.children;return o.createElement(o.Fragment,{},l)}},g=o.forwardRef((function(_,l){var t=_.components,n=_.mdxType,r=_.originalType,p=_.parentName,s=a(_,["components","mdxType","originalType","parentName"]),g=c(t),h=n,i=g["".concat(p,".").concat(h)]||g[h]||u[h]||r;return t?o.createElement(i,e(e({ref:l},s),{},{components:t})):o.createElement(i,e({ref:l},s))}));function h(_,l){var t=arguments,n=l&&l.mdxType;if("string"==typeof _||n){var r=t.length,e=new Array(r);e[0]=g;var a={};for(var p in l)hasOwnProperty.call(l,p)&&(a[p]=l[p]);a.originalType=_,a.mdxType="string"==typeof _?_:n,e[1]=a;for(var c=2;c<r;c++)e[c]=t[c];return o.createElement.apply(null,e)}return o.createElement.apply(null,t)}g.displayName="MDXCreateElement"},62958:(_,l,t)=>{t.r(l),t.d(l,{assets:()=>p,contentTitle:()=>e,default:()=>u,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var o=t(87462),n=(t(67294),t(3905));const r={title:"pick",description:"OpenBB Terminal Function"},e="pick",a={unversionedId:"reference/stocks/options/hedge/pick",id:"reference/stocks/options/hedge/pick",title:"pick",description:"OpenBB Terminal Function",source:"@site/content/terminal/reference/stocks/options/hedge/pick.md",sourceDirName:"reference/stocks/options/hedge",slug:"/reference/stocks/options/hedge/pick",permalink:"/terminal/reference/stocks/options/hedge/pick",draft:!1,editUrl:"https://github.com/OpenBB-finance/OpenBBTerminal/edit/main/website/content/terminal/reference/stocks/options/hedge/pick.md",tags:[],version:"current",frontMatter:{title:"pick",description:"OpenBB Terminal Function"},sidebar:"tutorialSidebar",previous:{title:"list",permalink:"/terminal/reference/stocks/options/hedge/list"},next:{title:"plot",permalink:"/terminal/reference/stocks/options/hedge/plot"}},p={},c=[{value:"Usage",id:"usage",level:3},{value:"Parameters",id:"parameters",level:2}],s={toc:c};function u(_){let{components:l,...t}=_;return(0,n.kt)("wrapper",(0,o.Z)({},s,t,{components:l,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"pick"},"pick"),(0,n.kt)("p",null,"This function plots option hedge diagrams"),(0,n.kt)("h3",{id:"usage"},"Usage"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-python",metastring:"wordwrap",wordwrap:!0},"pick -p {50_long_call,50_long_put,50_short_call,50_short_put,55_long_call,55_long_put,55_short_call,55_short_put,60_long_call,60_long_put,60_short_call,60_short_put,65_long_call,65_long_put,65_short_call,65_short_put,70_long_call,70_long_put,70_short_call,70_short_put,75_long_call,75_long_put,75_short_call,75_short_put,80_long_call,80_long_put,80_short_call,80_short_put,85_long_call,85_long_put,85_short_call,85_short_put,90_long_call,90_long_put,90_short_call,90_short_put,95_long_call,95_long_put,95_short_call,95_short_put,100_long_call,100_long_put,100_short_call,100_short_put,105_long_call,105_long_put,105_short_call,105_short_put,110_long_call,110_long_put,110_short_call,110_short_put,115_long_call,115_long_put,115_short_call,115_short_put,120_long_call,120_long_put,120_short_call,120_short_put,125_long_call,125_long_put,125_short_call,125_short_put,130_long_call,130_long_put,130_short_call,130_short_put,135_long_call,135_long_put,135_short_call,135_short_put,140_long_call,140_long_put,140_short_call,140_short_put,145_long_call,145_long_put,145_short_call,145_short_put,150_long_call,150_long_put,150_short_call,150_short_put,155_long_call,155_long_put,155_short_call,155_short_put,160_long_call,160_long_put,160_short_call,160_short_put,165_long_call,165_long_put,165_short_call,165_short_put,170_long_call,170_long_put,170_short_call,170_short_put,175_long_call,175_long_put,175_short_call,175_short_put,180_long_call,180_long_put,180_short_call,180_short_put,185_long_call,185_long_put,185_short_call,185_short_put,190_long_call,190_long_put,190_short_call,190_short_put,195_long_call,195_long_put,195_short_call,195_short_put,200_long_call,200_long_put,200_short_call,200_short_put,205_long_call,205_long_put,205_short_call,205_short_put,210_long_call,210_long_put,210_short_call,210_short_put,215_long_call,215_long_put,215_short_call,215_short_put,220_long_call,220_long_put,220_short_call,220_short_put,225_long_call,225_long_put,225_short_call,225_short_put,230_long_call,230_long_put,230_short_call,230_short_put,235_long_call,235_long_put,235_short_call,235_short_put,240_long_call,240_long_put,240_short_call,240_short_put,245_long_call,245_long_put,245_short_call,245_short_put} [-a AMOUNT]\n")),(0,n.kt)("hr",null),(0,n.kt)("h2",{id:"parameters"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Name"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"),(0,n.kt)("th",{parentName:"tr",align:null},"Default"),(0,n.kt)("th",{parentName:"tr",align:null},"Optional"),(0,n.kt)("th",{parentName:"tr",align:null},"Choices"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"pick"),(0,n.kt)("td",{parentName:"tr",align:null},"Choose what you would like to pick"),(0,n.kt)("td",{parentName:"tr",align:null},"None"),(0,n.kt)("td",{parentName:"tr",align:null},"False"),(0,n.kt)("td",{parentName:"tr",align:null},"50_long_call, 50_long_put, 50_short_call, 50_short_put, 55_long_call, 55_long_put, 55_short_call, 55_short_put, 60_long_call, 60_long_put, 60_short_call, 60_short_put, 65_long_call, 65_long_put, 65_short_call, 65_short_put, 70_long_call, 70_long_put, 70_short_call, 70_short_put, 75_long_call, 75_long_put, 75_short_call, 75_short_put, 80_long_call, 80_long_put, 80_short_call, 80_short_put, 85_long_call, 85_long_put, 85_short_call, 85_short_put, 90_long_call, 90_long_put, 90_short_call, 90_short_put, 95_long_call, 95_long_put, 95_short_call, 95_short_put, 100_long_call, 100_long_put, 100_short_call, 100_short_put, 105_long_call, 105_long_put, 105_short_call, 105_short_put, 110_long_call, 110_long_put, 110_short_call, 110_short_put, 115_long_call, 115_long_put, 115_short_call, 115_short_put, 120_long_call, 120_long_put, 120_short_call, 120_short_put, 125_long_call, 125_long_put, 125_short_call, 125_short_put, 130_long_call, 130_long_put, 130_short_call, 130_short_put, 135_long_call, 135_long_put, 135_short_call, 135_short_put, 140_long_call, 140_long_put, 140_short_call, 140_short_put, 145_long_call, 145_long_put, 145_short_call, 145_short_put, 150_long_call, 150_long_put, 150_short_call, 150_short_put, 155_long_call, 155_long_put, 155_short_call, 155_short_put, 160_long_call, 160_long_put, 160_short_call, 160_short_put, 165_long_call, 165_long_put, 165_short_call, 165_short_put, 170_long_call, 170_long_put, 170_short_call, 170_short_put, 175_long_call, 175_long_put, 175_short_call, 175_short_put, 180_long_call, 180_long_put, 180_short_call, 180_short_put, 185_long_call, 185_long_put, 185_short_call, 185_short_put, 190_long_call, 190_long_put, 190_short_call, 190_short_put, 195_long_call, 195_long_put, 195_short_call, 195_short_put, 200_long_call, 200_long_put, 200_short_call, 200_short_put, 205_long_call, 205_long_put, 205_short_call, 205_short_put, 210_long_call, 210_long_put, 210_short_call, 210_short_put, 215_long_call, 215_long_put, 215_short_call, 215_short_put, 220_long_call, 220_long_put, 220_short_call, 220_short_put, 225_long_call, 225_long_put, 225_short_call, 225_short_put, 230_long_call, 230_long_put, 230_short_call, 230_short_put, 235_long_call, 235_long_put, 235_short_call, 235_short_put, 240_long_call, 240_long_put, 240_short_call, 240_short_put, 245_long_call, 245_long_put, 245_short_call, 245_short_put")),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},"amount"),(0,n.kt)("td",{parentName:"tr",align:null},"Choose the amount invested"),(0,n.kt)("td",{parentName:"tr",align:null},"1000"),(0,n.kt)("td",{parentName:"tr",align:null},"True"),(0,n.kt)("td",{parentName:"tr",align:null},"None")))),(0,n.kt)("hr",null))}u.isMDXComponent=!0}}]); |