Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Stop Loss after grid sell #261

Open
Elmoftakis opened this issue Aug 2, 2021 · 6 comments
Open

Update Stop Loss after grid sell #261

Elmoftakis opened this issue Aug 2, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@Elmoftakis
Copy link

Elmoftakis commented Aug 2, 2021

Is your proposal related to a problem?

NO

Describe the solution you'd like

add an option to update stop loss to a higher value after successful grid sell
example :
Stop lose is set to 0.8
Grid 1 1.04
Grid 2 1.05
Grid 3 1.06

after Grid 1 fulfilled update Stop loss to last buy price or to a configurable percentage X% where it will keep updating with every grid sale

this can assure no loss for the coin

Describe alternatives you've considered

Additional context

@Elmoftakis Elmoftakis added the enhancement New feature or request label Aug 2, 2021
@chrisleekr
Copy link
Owner

chrisleekr commented Aug 2, 2021

Interesting. So you would like to set stop loss per grid trade for selling?

Note that it's already percentage-based.

If I implement this feature,

  • 1st grid trade will execute stop-loss based on the last buy price.
    - After 1st grid trade will execute stop-loss based on which price?

@Elmoftakis
Copy link
Author

you can have multiple options here ,
option 1 :
adding the stop loss configuration to the grid parameters
example
Grid 1 :
Trigger 1:04
Stop Loss : 0.9 from last sell price ( similar to the existing stop loss configuration but using last sell price not last buy price )
Grid 2 :
Trigger 1:06
Stop Loss : 0.85 from last sell price ( similar to the existing stop loss configuration but using last sell price not last buy price )
... etc


option 2 :
change stop loss to have option to use last sell price after successful sell
STOP LOSS : 0.8
Use last sell price : YES / NO
IF No keep the current setup
If Yes bot to update either the percentage to a higher value or store the last sell price from the grid and keep the same percentage

@chrisleekr
Copy link
Owner

chrisleekr commented Aug 2, 2021

I prefer to configure than automatically update.

Grid 1 :
Trigger 1:04
Stop Loss : 0.9 from last sell price ( similar to the existing stop loss configuration but using last sell price not last buy price )

Grid 1 would not have the last sell price, so it will be something like this.

adding the stop loss configuration to the grid parameters
example
- Sell Grid 1 :
  - Trigger 1.04
  - Stop Loss: 0.9 from last buy price
- Sell Grid 2 :
   - Trigger 1.06
   - Stop Loss: 0.85 from last sell price 
... etc

Right?

@Elmoftakis
Copy link
Author

yes exactly

@chrisleekr
Copy link
Owner

I will put it in the TODO list.

Thanks for suggestions @Elmoftakis

@bangbaew
Copy link

bangbaew commented Sep 4, 2021

Can I ask for a recommended configuration for grid trading?
I've never used grid trading before, but I'm interested.

And in the grid sell configuration, the "add new grid trade" button is greyed out, how can I configure grid sell?
I'm currently using v0.0.77

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants