frostybot-js icon indicating copy to clipboard operation
frostybot-js copied to clipboard

Feature Request: Layered Profit Taking

Open AndrewIammatteo opened this issue 3 years ago • 4 comments

Hey CryptoMF, loving this.

Do you think you can make a layered profit taking?

I might be able to code it and make a pull request but I only know python so it would be a bit of a struggle for me.

Thanks

AndrewIammatteo avatar Apr 14 '21 13:04 AndrewIammatteo

In theory it should be part of your strategy - the job of frosty seems to me to execute on that strategy rather than take control of that strategy. Focus of frosty should be doing the execution part as efficiently and stably as possible, no?

streaky avatar May 20 '21 13:05 streaky

hi @AndrewIammatteo ,

if have a time you can look at my fork repo https://github.com/ekopradesga/frostybot-js i have been modify module order to support layered take profit. has been tested on binance future with percentage level. example profittrigger=10%,150%,5 will floating from profit 10% to 150% on 5 take profit orders and split your initial position size for 5 place.

cheers!

ekopradesga avatar Oct 14 '21 12:10 ekopradesga

Would be nice if you could do a pull request, that frosty or rose can merge it into this here. :)

itsXactlY avatar Oct 14 '21 13:10 itsXactlY

I have one pull request pending... fixing bug for hedge mode support for binance future exchange..

i want to make sure everything is works... because this is on core trade modules. if was ready, i will create pull request for it.

thank you

ekopradesga avatar Oct 14 '21 13:10 ekopradesga