more pure bash to speed up things

This commit is contained in:
olli 2023-11-12 17:28:31 +01:00
parent 84b6f8b5e4
commit 9a041c2b33

View File

@ -72,7 +72,8 @@ function analyze {
do
f_sell_score=""
f_buy_score=""
echo "$line"
time=$(echo $line | cut -d, -f1 | cut -d: -f1,2)
#f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//')
time=${time//[^0-9]/}