small fixes
This commit is contained in:
parent
bd3fec41e8
commit
a69801b9e0
@ -166,7 +166,7 @@ function check_sell_conditions_strategy {
|
||||
# hold on negative result
|
||||
if [ "${SELL_HOLD_IF_RESULT_NEGATIVE}" -gt 0 ]
|
||||
then
|
||||
if [ $(echo "(${f_BUY_PRICE_LAST_RATE_DIFF} - ${FEE}) < 0" | bc -l) -ne 0 ]
|
||||
if [ $(echo "(${f_BUY_PRICE_LAST_RATE_DIFF} + -${FEE}) < 0" | bc -l) -ne 0 ]
|
||||
then
|
||||
g_echo_note "Result negative - holding (INTERIM RESULT ${f_BUY_PRICE_LAST_RATE_DIFF}% - FEE ${FEE}% < 0"
|
||||
f_SELL=""
|
||||
|
Loading…
Reference in New Issue
Block a user