Skip to content

Commit

Permalink
shorten default zerolag stats window & add comment
Browse files Browse the repository at this point in the history
The stats window SHOULD NOT be larger than your historySize!!!
  • Loading branch information
kuzetsa committed Aug 26, 2014
1 parent cf58bb5 commit ad46d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ config.tradingAdvisor = {
enabled: true,
method: 'ZERO',
candleSize: 1,
historySize: 1439
historySize: 1440
};

// Exponential Moving Averages settings:
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ad46d8e

Please sign in to comment.