diff --git a/dabo/functions/ccxt.sh b/dabo/functions/ccxt.sh index eb21afa..398a6ed 100644 --- a/dabo/functions/ccxt.sh +++ b/dabo/functions/ccxt.sh @@ -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