Freqtrade: Skip a sell order if the price is lower than buying price

Created on 24 Aug 2020  路  2Comments  路  Source: freqtrade/freqtrade

Hello,

So basically I want to know what command can I add to my code inside freqtrade strategy in order to skip a sell order if the price is lower than buying price (or negative profit (loss) ) so when next sell order appears it should be more than buying price in order to place the order for getting profit. Or if there is a price comparison between the buy price and sell price (sell price - buy price, if it's + positive then sell)

How can I implement this in my strategy populate_sell_trend section of the code?

Question

Most helpful comment

https://www.freqtrade.io/en/latest/configuration/#configuration-parameters the answer is here :) sell_profit_only

All 2 comments

https://www.freqtrade.io/en/latest/configuration/#configuration-parameters the answer is here :) sell_profit_only

It also depends on your buy strategy. There are prices if you buy with, you will never make a profit 馃榿 so keep that in mind. Buy signal is the most important component of the strategy, in the sense that you can leave the sell signal empty and still sell with trailing stop loss and ROI. If I were you I would concentrate on the buy signal.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

konstantin-doncov picture konstantin-doncov  路  4Comments

Dante2333 picture Dante2333  路  4Comments

mj1300 picture mj1300  路  3Comments

macd2 picture macd2  路  4Comments

aak-dev picture aak-dev  路  4Comments