crypto-trading-bot
crypto-trading-bot copied to clipboard
The tradingbot has a take profit possibility?
Hello everybody... The tradingbot has a take profit settings? In instance.js?
Best Regards Susan
feel free to edit the strategies. You are not forced to use them as they are. Also this project is open source, please do the effort to read the code like we all did
Hello @Wladastic ... yes sure. But my knowledge is unfortunately not that big.
Ok signals, trades and stoploss works for me :-).
But the most important thing for me is that you can set a "TakeProfit" and maybe in the 2nd step an automatic increase of the "TakeProfit" based on the course.
Can you implement something like this for me for "binance_futures"?
For example as parameter in the "instance.js" file takeProfit: '0.6' // in percent
But I don't know in which source file the trade is opened and where I can install that with the new trade a "takeProfit" is saved.
Best Regards Susan
I had a similar idea too, but not sure how to create a pullrequest here... Also not yet 100% sure where it picks up the watchdogs, as they are checked for on multiple places.
Hi @Wladastic ... you have a solution :-)? You can send me this privat ....
I didn't even start yet, Try to create one, I am sure half the code can be used from the stoploss feature
@MeoncoSusan @Wladastic Any solution for this auto. increase TP with SL feature?
I have no need for a take profit automation yet. So I never wrote one
@SuselK here's an example:
src/modules/strategy/strategies/dip_catcher/dip_catcher.js
module.exports = class DipCatcher {
...
period(indicatorPeriod) {
...
if (lastSignal && indicatorPeriod.getProfit() > 0.4)
emptySignal.setSignal('close');
return emptySignal;
}
...
}