python ccxt

This commit is contained in:
olli 2024-03-26 16:05:58 +01:00
parent 3913db9854
commit b2d1828f42

View File

@ -12,6 +12,7 @@ function f_ccxt {
# Initialize ccxt in python # Initialize ccxt in python
if ! [[ ${g_python_jobs[*]} =~ python-pipeexec.py ]] || [ -z "$f_ccxt_initialized" ] if ! [[ ${g_python_jobs[*]} =~ python-pipeexec.py ]] || [ -z "$f_ccxt_initialized" ]
then then
unset f_ccxt_initialized
g_python 'import os' || return 1 g_python 'import os' || return 1
g_python 'import sys' || return 1 g_python 'import sys' || return 1
g_python 'sys.path.append("/ccxt/python")' || return 1 g_python 'sys.path.append("/ccxt/python")' || return 1