score and strategies

This commit is contained in:
olli 2023-10-29 12:06:26 +01:00
parent 9ca89ce26c
commit a882640db9

View File

@ -36,7 +36,7 @@ function check_sell_conditions {
f_result=$(g_percentage-diff ${f_BUY_PRICE} ${f_price}) f_result=$(g_percentage-diff ${f_BUY_PRICE} ${f_price})
f_BUY_PRICE_LAST_RATE_DIFF=${f_result} f_BUY_PRICE_LAST_RATE_DIFF=${f_result}
result=${f_BUY_PRICE_LAST_RATE_DIFF} result=${f_BUY_PRICE_LAST_RATE_DIFF}
f_real_result=$(echo "${f_result-$FEE}" | bc) f_real_result=$(echo "${f_result}-${FEE}" | bc)
# store new interim result # store new interim result
echo ${f_BUY_PRICE_LAST_RATE_DIFF} >>${f_TRADE_HIST_FILE_INTERIM} echo ${f_BUY_PRICE_LAST_RATE_DIFF} >>${f_TRADE_HIST_FILE_INTERIM}