From ad46d8e0cdbc6c1cb0b25f660f6da8f0e08fd249 Mon Sep 17 00:00:00 2001 From: kuzetsa Date: Tue, 26 Aug 2014 03:06:35 -0400 Subject: [PATCH] shorten default zerolag stats window & add comment The stats window SHOULD NOT be larger than your historySize!!! --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 97c6c5168..cb5bb546d 100644 --- a/config.js +++ b/config.js @@ -40,7 +40,7 @@ config.tradingAdvisor = { enabled: true, method: 'ZERO', candleSize: 1, - historySize: 1439 + historySize: 1440 }; // Exponential Moving Averages settings: @@ -126,7 +126,7 @@ config.ZERO = { // how optimistic is the MACD extrapolation going to be? crystalball: 0.00001234, // how large is the stats window for sanity checking? - window: 4320, + window: 1440, // SHOULD NOT be larger than your historySize!!! // the difference between the EMAs (to act as triggers) thresholds: { down: -9999,