more pure bash to speed up things

This commit is contained in:
2023-11-15 17:08:03 +01:00
parent 7eeabb270f
commit 839680820e
2 changed files with 41 additions and 36 deletions

View File

@@ -97,7 +97,8 @@ function check_buy_conditions {
echo "BUY: ${f_BUY}"
#echo "${csv_headline},Marketperformance
#${f_last_line}" | cut -d, -f 2-22 | perl -pe 's/([0-9].[0-9][0-9][0-9][0-9][0-9][0-9])[0-9]+/$1/g' | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s,
echo "${f_echo_prefix}${f_BUY}" >${g_tmp}/open-${tmpfile}
f_open_trade=1
#echo "${f_echo_prefix}${f_BUY}" >${g_tmp}/open-${tmpfile}
BUY_PRICE=$f_price
f_BUY=""
fi