add asset name
This commit is contained in:
@@ -16,6 +16,8 @@ function get_vars_from_csv {
|
||||
f_last_line="$(tail -n1 "${f_ASSET_HIST_FILE}"),${f_market_performance}"
|
||||
|
||||
readarray -d "," -t f_last_line_array < <(echo "0,${f_last_line}")
|
||||
|
||||
f_asset=$(basename ${f_ASSET_HIST_FILE} | cut -d\. -f1)
|
||||
|
||||
# basics
|
||||
get_var_from_line date 1
|
||||
|
||||
Reference in New Issue
Block a user