Proper stop losses coming soon
#38
Quote:Hello. But how people currently get profit with gekko without proper execution (stop-loss + take-profit) and money-management (% of deposit per order) politics? They are scripting it themselves?

I might have not worded this properly. What I mean:

Most exchanges don't let you actually create orders (submit them into the orderbook) unless you have funds for all of them. So imagine you have some USD and trade on USD/BTC. As soon as you see an entry you:

1. Buy BTC with all your USD.
2. Set a stoploss to sell all your BTC under the price.
3. Set a take profit to sell are your BTC above the price.

Most exchanges won't let you do 2 and 3 at the same time, since you only have enough BTC to do one of these (that's what I meant previously). When you are working Gekko you can:

- Trigger a buy signal to do step 1.
- Add a stoploss to that trigger so Gekko will automatically do step 2 -> Note that it doesn't actually submit any order at this time, but instead Gekko will watch the price contentiously (faster than it will pump candles into your strategy, it's actually watching the orderbook in a live trader - not just historical trade flow).
- In your strategy you can set up a watcher to do the take profit (step 3): you simply register your TP when you trigger a BUY, and after that you check every time if the price hits your TP.

As you can see it is very much possible to do entry + SL + TP. But TP requires you to do it manually for now (5 lines of code you need to add to your strategy). I will add this to Gekko as well at some point, but since TA is so heavy on trends and momentum that I rarely see people wanting to do a TP, instead they want to ride the trend while watching for a potential reversal. If you buy and schedule a stoploss you can at any point manually sell again and Gekko will delete the stop loss.
  Reply


Messages In This Thread
Proper stop losses coming soon - by askmike - 07-07-2018, 07:27 AM
RE: Proper stop losses coming soon - by TCMabe - 07-11-2018, 08:38 PM
RE: Proper stop losses coming soon - by askmike - 07-12-2018, 04:23 AM
RE: Proper stop losses coming soon - by mark.sch - 07-12-2018, 04:41 PM
RE: Proper stop losses coming soon - by askmike - 07-13-2018, 01:36 AM
RE: Proper stop losses coming soon - by mark.sch - 07-13-2018, 09:53 AM
RE: Proper stop losses coming soon - by askmike - 07-13-2018, 12:50 PM
RE: Proper stop losses coming soon - by Kris191 - 07-30-2018, 03:37 PM
RE: Proper stop losses coming soon - by askmike - 07-31-2018, 12:56 PM
RE: Proper stop losses coming soon - by askmike - 08-11-2018, 07:32 AM
RE: Proper stop losses coming soon - by PapoKarlo - 08-12-2018, 10:12 AM
RE: Proper stop losses coming soon - by mark.sch - 08-12-2018, 11:50 AM
RE: Proper stop losses coming soon - by askmike - 08-12-2018, 02:35 PM
RE: Proper stop losses coming soon - by askmike - 08-14-2018, 04:06 AM
RE: Proper stop losses coming soon - by PapoKarlo - 08-14-2018, 04:42 PM
RE: Proper stop losses coming soon - by askmike - 08-14-2018, 04:47 PM
RE: Proper stop losses coming soon - by mark.sch - 08-16-2018, 09:24 AM
RE: Proper stop losses coming soon - by askmike - 08-16-2018, 04:04 PM
RE: Proper stop losses coming soon - by mark.sch - 08-17-2018, 10:26 PM
RE: Proper stop losses coming soon - by askmike - 08-27-2018, 11:49 AM
RE: Proper stop losses coming soon - by askmike - 08-27-2018, 12:27 PM
RE: Proper stop losses coming soon - by mark.sch - 09-06-2018, 11:13 PM
RE: Proper stop losses coming soon - by maxblack - 10-07-2018, 09:46 AM
RE: Proper stop losses coming soon - by mark.sch - 09-03-2018, 12:20 AM
RE: Proper stop losses coming soon - by askmike - 09-03-2018, 04:58 AM
RE: Proper stop losses coming soon - by mark.sch - 09-04-2018, 01:11 PM
RE: Proper stop losses coming soon - by BotsEdge - 09-09-2018, 11:25 PM
RE: Proper stop losses coming soon - by askmike - 09-06-2018, 05:14 AM
RE: Proper stop losses coming soon - by bitsnpcs - 09-11-2018, 11:55 PM
RE: Proper stop losses coming soon - by Presunto - 09-27-2018, 12:43 PM
RE: Proper stop losses coming soon - by askmike - 09-28-2018, 04:16 AM
RE: Proper stop losses coming soon - by askmike - 10-20-2018, 06:14 AM
RE: Proper stop losses coming soon - by askmike - 10-22-2018, 04:26 AM
RE: Proper stop losses coming soon - by askmike - 11-11-2018, 05:01 AM
RE: Proper stop losses coming soon - by askmike - 11-14-2018, 11:15 AM
RE: Proper stop losses coming soon - by askmike - 01-03-2019, 09:05 AM
RE: Proper stop losses coming soon - by askmike - 01-03-2019, 05:28 PM
RE: Proper stop losses coming soon - by hitripley - 01-18-2019, 02:46 PM
RE: Proper stop losses coming soon - by hitripley - 01-18-2019, 03:18 PM

Forum Jump:


Users browsing this thread: