fix SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE
This commit is contained in:
parent
2e01271903
commit
08bb049aa1
@ -252,7 +252,7 @@ function check_sell_conditions_strategy {
|
||||
|
||||
|
||||
# check for SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE
|
||||
if [ -z ${SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE} ]
|
||||
if [ -n "${SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE}" ]
|
||||
then
|
||||
if [ $(echo "${f_BUY_PRICE_LAST_RATE_DIFF} < ${SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE}" | bc -l) -ne 0 ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user