lolower for STOCK_EXCHANGE

This commit is contained in:
olli 2024-03-26 14:31:52 +01:00
parent 5b4c2a9500
commit fa2bc5ac9d

View File

@ -1,9 +1,9 @@
function f_ccxt { function f_ccxt {
if [ -s /dabo/.${STOCK_EXCHANGE}-secrets ] if [ -s /dabo/.${STOCK_EXCHANGE,,}-secrets ]
then then
. /dabo/.${STOCK_EXCHANGE}-secrets . /dabo/.${STOCK_EXCHANGE,,}-secrets
else 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 return 1
fi fi