Gekko Forum
Double Strategy Updates - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Support (https://forum.gekko.wizb.it/forum-19.html)
+--- Thread: Double Strategy Updates (/thread-57590.html)



Double Strategy Updates - limejuice - 08-23-2018

Hi,

does anyone else ever see two strategy updates one after the other as if the 'check' function of your strategy is being called twice instead of once? Looks something like this for me (using NNv2):

2018-08-23 10:42:37 (DEBUG):
       Current market: bear
       Percent change predicted: 0.10299030411228689
       Current price: 0.00077024
       Last buy price: 0
       Current position: short
2018-08-23 10:42:37 (DEBUG):
       Current market: bear
       Percent change predicted: 0.08582525343061481
       Current price: 0.00077024
       Last buy price: 0
       Current position: short


RE: Double Strategy Updates - askmike - 08-23-2018

On a live market (paper trader or real trader)? This might happen in case you have a small candle size (like 5 minutes) and you are watching a market without many trades. If there are no trades for 10 minutes and than there is one Gekko will pump ten new (1 minute) candles through, also two 5 min candles. Read this: https://github.com/askmike/gekko/issues/2461#issuecomment-414219225


RE: Double Strategy Updates - limejuice - 08-23-2018

(08-23-2018, 04:16 PM)askmike Wrote: On a live market (paper trader or real trader)? This might happen in case you have a small candle size (like 5 minutes) and you are watching a market without many trades. If there are no trades for 10 minutes and than there is one Gekko will pump ten new (1 minute) candles through, also two 5 min candles. Read this: https://github.com/askmike/gekko/issues/2461#issuecomment-414219225

Live market, 10 second tickrate, 5 minute candles and somewhat low volume yes. But that explains it, thanks.