strategy sell signal
This commit is contained in:
parent
7b61b62fdb
commit
858da38c22
@ -146,6 +146,13 @@ function check_sell_conditions_strategy {
|
||||
fi
|
||||
[ -n "${BOT}" ] && g_echo_note "${f_echo_prefix}Running SELL checks"
|
||||
|
||||
# Check sell signal from strategy
|
||||
if [ -n "${f_do_sell}" ]
|
||||
then
|
||||
$f_SELL="Strategy sell signal: ${f_do_sell}"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# check if the result (profit/loss until now) is lowering and sell if too low ()
|
||||
if [ -f ${f_TRADE_HIST_FILE_INTERIM} ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user