diff --git a/dabo/functions/get_asset.sh b/dabo/functions/get_asset.sh index af1f81b..7a71ccd 100644 --- a/dabo/functions/get_asset.sh +++ b/dabo/functions/get_asset.sh @@ -6,14 +6,6 @@ function get_asset { # write asset hist file local f_ASSET_HIST_FILE="asset-histories/${f_ASSET}.history-raw.csv" - if find "${f_ASSET_HIST_FILE}" -mmin -${INTERVAL_MIN} | grep -q "${f_ASSET_HIST_FILE}" - then - g_echo_note "${f_ASSET_HIST_FILE} already downloaded in the last ${INTERVAL_MIN} minutes" - return 0 - fi - - - [ -f "${f_ASSET_HIST_FILE}" ] || echo "Date and Time,Price" >"${f_ASSET_HIST_FILE}" if ! grep -q "^$(echo "${f_timestamp}" | cut -d: -f1,2)" "${f_ASSET_HIST_FILE}" then