From c75cbec2a304aecd7bde1073a8e6376d5ac95468 Mon Sep 17 00:00:00 2001 From: DJ Nieto Date: Fri, 9 Apr 2021 03:43:41 -0600 Subject: [PATCH] A line was joined on accident --- gamestonk_terminal/oanda/oanda_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gamestonk_terminal/oanda/oanda_functions.py b/gamestonk_terminal/oanda/oanda_functions.py index 8843d337526..caa303b77c1 100644 --- a/gamestonk_terminal/oanda/oanda_functions.py +++ b/gamestonk_terminal/oanda/oanda_functions.py @@ -52,7 +52,8 @@ def list_orders(accountID, state="ALL", count="50"): "state": state, "count": count } - request = orders.OrderList(accountID, parameters) response = client.request(request) + request = orders.OrderList(accountID, parameters) + response = client.request(request) for i in range(0, int(count), 1): try: order_id = response["orders"][i]["id"]