Double Strategy Updates
#1
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
  Reply
#2
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/...-414219225
  Reply
#3
(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/...-414219225

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


Forum Jump:


Users browsing this thread: