more pure bash to speed up things
This commit is contained in:
parent
84b6f8b5e4
commit
9a041c2b33
@ -73,6 +73,7 @@ function analyze {
|
|||||||
f_sell_score=""
|
f_sell_score=""
|
||||||
f_buy_score=""
|
f_buy_score=""
|
||||||
|
|
||||||
|
echo "$line"
|
||||||
time=$(echo $line | cut -d, -f1 | cut -d: -f1,2)
|
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/ *//')
|
#f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//')
|
||||||
time=${time//[^0-9]/}
|
time=${time//[^0-9]/}
|
||||||
|
Loading…
Reference in New Issue
Block a user