small fixes
This commit is contained in:
parent
ee895e5168
commit
9edcc7ed98
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user