more pure bash to speed up things

This commit is contained in:
olli 2023-11-12 17:42:22 +01:00
parent 9a041c2b33
commit 999d3a25c2

View File

@ -73,7 +73,9 @@ function analyze {
f_sell_score=""
f_buy_score=""
echo "$line"
get_vars_from_csv ${file}
echo "$f_date"
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]/}