diff --git a/dabo/functions/get_asset.sh b/dabo/functions/get_asset.sh index 242cb33..c6d1d6c 100644 --- a/dabo/functions/get_asset.sh +++ b/dabo/functions/get_asset.sh @@ -32,7 +32,7 @@ function get_asset { fi f_ASSET_HIST_FILE="asset-histories/${f_ASSET}.history.csv" - if [ ${f_linecount} -lt 30 ] && [ ${f_lines} -ge 50 ] + if [ ${f_linecount} -lt 30 ] && [ ${f_lines} -ge 50 ] && [ ${INTERVAL} -lt 300 ] then g_echo_note "${f_ASSET_HIST_FILE}: set price to 5 minute period" if ! echo "${f_timestamp}" | egrep -q ":[0-5]0:|:[0-5]5:"