From 2a7ea587a4d1c493ffd1d3f6301971ac88293f8a Mon Sep 17 00:00:00 2001 From: DJ Date: Mon, 26 Apr 2021 17:24:01 -0600 Subject: [PATCH] change type --- gamestonk_terminal/forex/fx_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamestonk_terminal/forex/fx_view.py b/gamestonk_terminal/forex/fx_view.py index 0ac34599671..4ea9438c3b8 100644 --- a/gamestonk_terminal/forex/fx_view.py +++ b/gamestonk_terminal/forex/fx_view.py @@ -233,7 +233,7 @@ def create_order(accountID, instrument, other_args: List[str]): "--price", dest="price", action="store", - type=float, + type=check_non_negative, required=True, help="The price to set for the limit order. ", )