diff --git a/dabo/functions/get_assets.sh b/dabo/functions/get_assets.sh index 5c7e738..0ba7604 100644 --- a/dabo/functions/get_assets.sh +++ b/dabo/functions/get_assets.sh @@ -16,6 +16,7 @@ function get_assets { bitpanda-api-call GET "public/v1/market-ticker" || return 1 cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | select(.state=="ACTIVE") | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp fi + cp -p ${g_tmp}/API_CMD_OUT PRICETICKER # timestamp for data f_timestamp=$(g_date_print)