python ccxt

This commit is contained in:
olli 2024-03-26 16:18:34 +01:00
parent 228ce59dd7
commit 6189a7c7fe

View File

@ -10,7 +10,7 @@ function f_ccxt {
local g_ccxt_jobs local g_ccxt_jobs
mapfile -t g_ccxt_jobs < <(jobs -r) mapfile -t g_ccxt_jobs < <(jobs -r)
# 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 unset f_ccxt_initialized
g_python 'import os' || return 1 g_python 'import os' || return 1