small fix
This commit is contained in:
parent
18625b2127
commit
c1d571555c
@ -24,8 +24,9 @@ function check_for_sell {
|
|||||||
fi
|
fi
|
||||||
if tail -n1 $f_ASSET_HIST_FILE | grep -q "^$(date +%Y-%m-%d)"
|
if tail -n1 $f_ASSET_HIST_FILE | grep -q "^$(date +%Y-%m-%d)"
|
||||||
then
|
then
|
||||||
|
check_sell_conditions "${f_ASSET_HIST_FILE}" "${f_strategy}"
|
||||||
|
else
|
||||||
g_echo_warn "SELL $f_ASSET_HIST_FILE no current data of invested asset"
|
g_echo_warn "SELL $f_ASSET_HIST_FILE no current data of invested asset"
|
||||||
fi
|
fi
|
||||||
check_sell_conditions "${f_ASSET_HIST_FILE}" "${f_strategy}"
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user