From f15825e3a772a02194f9a509a0ca8bbac0fe31f2 Mon Sep 17 00:00:00 2001 From: misagh Date: Fri, 28 Sep 2018 14:28:05 +0200 Subject: [PATCH] long line broken to two --- freqtrade/edge/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/freqtrade/edge/__init__.py b/freqtrade/edge/__init__.py index 7d915a984..f9549cd90 100644 --- a/freqtrade/edge/__init__.py +++ b/freqtrade/edge/__init__.py @@ -129,9 +129,11 @@ class Edge(): # Not a nice hack but probably simplest solution: # When backtest load data it loads the delta between disk and exchange - # The problem is that exchange consider that recent. it is but it is incomplete (c.f. _async_get_candle_history) + # The problem is that exchange consider that recent. + # it is but it is incomplete (c.f. _async_get_candle_history) # So it causes get_signal to exit cause incomplete ticker_hist - # A patch to that would be update _pairs_last_refresh_time of exchange so it will download again all pairs + # A patch to that would be update _pairs_last_refresh_time of exchange + # so it will download again all pairs # Another solution is to add new data to klines instead of reassigning it: # self.klines[pair].update(data) instead of self.klines[pair] = data in exchange package. # But that means indexing timestamp and having a verification so that