Proper stop losses coming soon
#24
(09-03-2018, 04:58 AM)askmike Wrote: The biggest one being risk management: Gekko strategies should be trying to ride trends upwards, however after going "all in" riding the trend strategies need some ways to dynamically control risk. People have been asking for stop losses for years, and people have been implementing them inside their strategies up until now. Note that stoplosses aren't new or anything, I just noticed that a lot of people want them so I added them. Having them native and not in a strategy opens a lot of doors, such as using native stop losses on exchanges that support them (currently not done yet, but planned in the future).

That said I am trying to not take part in the debate on what indicators / strategies are good and what is bad. A stop loss is a tool that traders have been using for decades. As such I want people who use Gekko to have the ability to use them. I think that they make sense in a lot of scenarios, but you can always get stopped by a flash crash before the price continues to go up. There are definitely scenarios where they cause more harm than good.

Thanks for your comprehensive feedback. I like the new core implementation of stop losses since it steps out from the one minute candle limit and monitor SL in near real time. Good to know being one of the fastest sellers during a flash crash ;-)

For potential strong strategy gain improvements it has to be used with caution, it stops your losses on the one hand but also your gains if SL range is small. I can imagine it is worth to test the new SL with bollinger bands - instead of selling when hitting the upper bollinger band, a stop loss can try to catch further gains when the chart climbs its way upwards the band (BB often sells too early). I wonder, there is a PR for a BB indicator implementation but no complete/advanced BB strategy out there. Do you know projects using BB with Gekko and do you plan to integrate the BB PR?

Since SL was a long awaited feature from the community, I often read questions about multi time frames and multi markets. With the workaround of manual candle batching, the multi time frames work fine already. Like many others I can imagine that candles from a second market offer new potentials for trading strategies. I consider to achieve this with one of the following four ways:

- little helper function to read a (foreign market) candle from db, running from inside the strategy (quick and dirty solution)
- cloning the market functionality inside core
- use of remote candles. Connecting to a socket server to request a certain candle. Similar to the leecher mode, but not using the db but a socket connection, e.g. jabber/xmpp.
- using redis inside the strategy or on a lower layer to communicate between two local running gekkos

What do you think?
  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: