From fa2bc5ac9d3474a9f68358937b1bb490afbbb314 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 26 Mar 2024 14:31:52 +0100 Subject: [PATCH] lolower for STOCK_EXCHANGE --- dabo/functions/ccxt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dabo/functions/ccxt.sh b/dabo/functions/ccxt.sh index 7d48c90..eb21afa 100644 --- a/dabo/functions/ccxt.sh +++ b/dabo/functions/ccxt.sh @@ -1,9 +1,9 @@ function f_ccxt { - if [ -s /dabo/.${STOCK_EXCHANGE}-secrets ] + if [ -s /dabo/.${STOCK_EXCHANGE,,}-secrets ] then - . /dabo/.${STOCK_EXCHANGE}-secrets + . /dabo/.${STOCK_EXCHANGE,,}-secrets else - g_echo_error "No secrets found (/dabo/.${STOCK_EXCHANGE}-secrets) found" + g_echo_error "No secrets found (/dabo/.${STOCK_EXCHANGE,,}-secrets) found" return 1 fi