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