tmp fix for errors on onetrading downtime
This commit is contained in:
parent
f54dd7da6f
commit
d670137769
@ -14,7 +14,8 @@ function get_assets {
|
|||||||
elif [ ${STOCK_EXCHANGE} = "BITPANDA" ]
|
elif [ ${STOCK_EXCHANGE} = "BITPANDA" ]
|
||||||
then
|
then
|
||||||
bitpanda-api-call GET "public/v1/market-ticker" || return 1
|
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
|
#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
|
||||||
|
cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp
|
||||||
fi
|
fi
|
||||||
cp -p ${g_tmp}/API_CMD_OUT PRICETICKER
|
cp -p ${g_tmp}/API_CMD_OUT PRICETICKER
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user