mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
* #3264 fixing some autocomplete on historical * fixing autocomplete on historical TICKER Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -75,6 +75,13 @@ class FuturesController(BaseController):
|
||||
self.choices["about"] = self.ABOUT_CHOICES
|
||||
|
||||
self.choices["historical"] = {c: None for c in self.all_tickers}
|
||||
self.choices["historical"]["--ticker"] = {c: None for c in self.all_tickers}
|
||||
self.choices["historical"]["-t"] = "--ticker"
|
||||
self.choices["historical"]["--start"] = {}
|
||||
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.completer = NestedCompleter.from_nested_dict(self.choices) # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user