ema800 workaround

This commit is contained in:
olli 2023-11-27 21:21:52 +01:00
parent 77fe1e63da
commit a450af5adf

View File

@ -10,7 +10,7 @@ function get_vars_from_csv {
if [ -z "${f_market_performance}" ]
then
f_market_performance="-50"
f_market_performance="0"
fi
f_all_vars="f_market_performance=${f_market_performance}"
@ -135,7 +135,7 @@ function get_var_from_line {
then
g_echo_note "${f_ASSET_HIST_FILE}: Didn't get $1 in position $2"
declare -g f_$1=0
f_empty_var=1
[[ "$1" =~ ^ema800$ ]] || f_empty_var=1
else
#declare -g f_$1="$(echo ${f_last_line_array[$2]})"
declare -g f_$1="${f_last_line_array[$2]}"