diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 2187a9e..379cd92 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -68,7 +68,11 @@ function analyze { if ! [ -f "${g_tmp}/open-${tmpfile}" ] then f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//') - [ -z "${f_market_performance}" ] && continue + if [ -z "${f_market_performance}" ] + then + g_echo_note "No market performanvce data found - forcing good market (100)" + f_market_performance=100 + fi for f_strategy in $(find strategies -name "buy.*.conf" -type f) do if [ "${ANALYZE_VERBOSE}" -eq "0" ]