This commit is contained in:
olli 2023-05-19 08:02:24 +02:00
parent d323c568b5
commit 7d27642d9a

View File

@ -68,7 +68,11 @@ function analyze {
if ! [ -f "${g_tmp}/open-${tmpfile}" ] if ! [ -f "${g_tmp}/open-${tmpfile}" ]
then then
f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//') 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) for f_strategy in $(find strategies -name "buy.*.conf" -type f)
do do
if [ "${ANALYZE_VERBOSE}" -eq "0" ] if [ "${ANALYZE_VERBOSE}" -eq "0" ]