mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 15:32:04 +00:00
capitalization fix (#3319)
This commit is contained in:
@@ -81,8 +81,9 @@ class FuturesController(BaseController):
|
||||
self.choices["historical"]["-s"] = "--start"
|
||||
self.choices["historical"]["--expiry"] = {}
|
||||
self.choices["historical"]["-e"] = "--expiry"
|
||||
|
||||
self.choices["curve"] = {c: None for c in self.all_tickers}
|
||||
self.choices["curve"]["--ticker"] = {c: None for c in self.all_tickers}
|
||||
self.choices["curve"]["-t"] = "--ticker"
|
||||
|
||||
self.completer = NestedCompleter.from_nested_dict(self.choices) # type: ignore
|
||||
|
||||
@@ -224,7 +225,7 @@ class FuturesController(BaseController):
|
||||
"--ticker",
|
||||
dest="ticker",
|
||||
type=str,
|
||||
choices=self.all_tickers,
|
||||
default="",
|
||||
help="Future curve to be selected",
|
||||
metavar="Futures symbol",
|
||||
required="-h" not in other_args,
|
||||
@@ -237,9 +238,10 @@ class FuturesController(BaseController):
|
||||
export_allowed=EXPORT_ONLY_RAW_DATA_ALLOWED,
|
||||
raw=True,
|
||||
)
|
||||
|
||||
if ns_parser:
|
||||
yfinance_view.display_curve(
|
||||
ticker=ns_parser.ticker,
|
||||
ticker=ns_parser.ticker.upper(),
|
||||
raw=ns_parser.raw,
|
||||
export=ns_parser.export,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user