diff --git a/dabo/functions/get_ohlcv-candle.sh b/dabo/functions/get_ohlcv-candle.sh index 57f573e..73be3f5 100644 --- a/dabo/functions/get_ohlcv-candle.sh +++ b/dabo/functions/get_ohlcv-candle.sh @@ -54,7 +54,7 @@ function get_ohlcv-candles { get_ohlcv-candle "${f_eco_asset}" ${f_timeframe} "${f_histfile}" "ECONOMY-${f_eco_asset}" fi # refresh latest indicators - [ -s "${f_histfile}" ] && get_indicators "${f_histfile}" 900 + [ -s "${f_histfile}" ] && get_indicators "${f_histfile}" 51 done done @@ -83,7 +83,7 @@ function get_ohlcv-candles { get_ohlcv-candle "$f_symbol" $f_timeframe "${f_histfile}" && printf '%(%Y-%m-%d %H:%M:%S)T' >>"$f_histfile.fetched" # refresh latest indicators - get_indicators "${f_histfile}" 900 + get_indicators "${f_histfile}" 51 rm -f "${f_histfile}.fetching" @@ -664,5 +664,3 @@ function f_add_missing_ohlcv_intervals { cat "$g_tmp/f_add_missing_ohlcv_intervals_result" >"$f_histfile" fi } - -