add asset name

This commit is contained in:
olli 2023-11-01 16:52:39 +01:00
parent 7b345ee08e
commit 44bfe2bcf9

View File

@ -16,6 +16,8 @@ function get_vars_from_csv {
f_last_line="$(tail -n1 "${f_ASSET_HIST_FILE}"),${f_market_performance}" f_last_line="$(tail -n1 "${f_ASSET_HIST_FILE}"),${f_market_performance}"
readarray -d "," -t f_last_line_array < <(echo "0,${f_last_line}") readarray -d "," -t f_last_line_array < <(echo "0,${f_last_line}")
f_asset=$(basename ${f_ASSET_HIST_FILE} | cut -d\. -f1)
# basics # basics
get_var_from_line date 1 get_var_from_line date 1