lolower for STOCK_EXCHANGE

This commit is contained in:
olli 2024-03-26 15:00:21 +01:00
parent fa2bc5ac9d
commit bddb49f63c

View File

@ -17,7 +17,7 @@ function f_ccxt {
g_python 'sys.path.append("/ccxt/python")' || return 1
g_python 'import ccxt' || return 1
sleep 0.5
g_python "exchange = ccxt.${STOCK_EXCHANGE}({'apiKey': '${API_KEY}','secret': '${API_SECRET}','options': {'defaultType': 'swap',},})" || return 1
g_python "exchange = ccxt.${STOCK_EXCHANGE,,}({'apiKey': '${API_KEY}','secret': '${API_SECRET}','options': {'defaultType': 'swap',},})" || return 1
f_ccxt_initialized=true
fi