chrisleekr / binance-trading-bot

Automated Binance trading bot - Trade multiple cryptocurrencies. Buy low/sell high with Grid Trading. Integrated with TradingView technical analysis
MIT License
5.05k stars 1.09k forks source link

Update Stop Loss after grid sell #261

Open Elmoftakis opened 3 years ago

Elmoftakis commented 3 years ago

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

chrisleekr commented 3 years ago

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,

Elmoftakis commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

yes exactly

chrisleekr commented 3 years ago

I will put it in the TODO list.

Thanks for suggestions @Elmoftakis

bangbaew commented 3 years ago

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