Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Why does rsi strategy sell if it continues to drop? and how can I stop it? #1644

Open
rountrey opened this issue Jul 1, 2018 · 0 comments
Open

Comments

@rountrey
Copy link

rountrey commented Jul 1, 2018

System information

  • Have I written custom code (as opposed to using zenbot vanilla): no
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 18.04
  • Zenbot version (commit ref, or version): 4.10 (downloaded May 27, 2018)
  • Zenbot branch:
  • NodeJS version: 8.11.2
  • Python version (when using a python script): 2.17.4
  • Exact command to reproduce (include everything): Any options
  • Did I make any changes to conf-sample.js?:No, other than changing strategy and buy_loss/sell_loss

Describe the problem

Possible bug. As the title says, rsi gets a sell signal after the buy signal after the oversold_rsi continues to drop (screenshot added). rsi_recover and rsi_drop are set as default. I've had to set the max_sell_loss_pct to 0 in order to stop this but I don't want to do that. I can't figure this out in the strategy.js file, is there a way to stop this?

Source code / Error logs

./zenbot.sh trade --buy_pct 25 --sell_pct 99 --max_sell_loss_pct 0 --max_buy_loss_pct 3 gdax.LTC-USD --conf configs/gdax-LTC-USD-rsi.js --period=1m --rsi_periods=6 --oversold_rsi=27 --overbought_rsi=82 --rsi_divisor=2 --reset_profit
untitled

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants