From fd2dc55bd0466f76ded1bd0d2c9a04b1397da4df Mon Sep 17 00:00:00 2001 From: andrewkenreich Date: Fri, 4 Nov 2022 10:20:57 -0400 Subject: [PATCH] #3264 fixing some autocomplete on historical (#3295) * #3264 fixing some autocomplete on historical * fixing autocomplete on historical TICKER Co-authored-by: James Maslek --- openbb_terminal/futures/futures_controller.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openbb_terminal/futures/futures_controller.py b/openbb_terminal/futures/futures_controller.py index 31e94503385..b3554f6aff9 100644 --- a/openbb_terminal/futures/futures_controller.py +++ b/openbb_terminal/futures/futures_controller.py @@ -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