From a00e90a8d2d04314519fbc54af9c2c3790316547 Mon Sep 17 00:00:00 2001 From: Mert Nuhuz Date: Mon, 16 Jan 2023 19:32:46 +0300 Subject: [PATCH] Feature/macro convert (#3924) * Fix plot look when using eval and add query to choices (#3881) * convert index to datetime and update choices * uncomment economy integration test * fix treasury concat bug * fix datasets concat on duplciates * Issue #3882 Fixed * 2 files reformatted by black * tests added * Lock ruff version so that new lints dont break our CI (#3905) * Lock ruff version so that new lints dont break our CI * Bumped pre-commit ruff version * fixed mypy errors * Fixed parser options for currency conversion Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Co-authored-by: James Maslek --- openbb_terminal/economy/economy_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_terminal/economy/economy_controller.py b/openbb_terminal/economy/economy_controller.py index d7454d171ab..cc8b8f73ad1 100644 --- a/openbb_terminal/economy/economy_controller.py +++ b/openbb_terminal/economy/economy_controller.py @@ -544,7 +544,7 @@ class EconomyController(BaseController): dest="currency", help="Convert the currency of the chosen country to a specified currency. To find the " "currency symbols use '--show countries'", - choices=econdb_model.COUNTRY_CURRENCIES, + choices=econdb_model.COUNTRY_CURRENCIES.values(), default=False, ) if other_args and "-" not in other_args[0][0]: