change trending window to 6 hours

This commit is contained in:
Alex Grintsvayg 2019-09-25 10:07:05 -04:00 committed by Lex Berezhny
parent b3f087dbc7
commit 9c5b4e3cc9

View file

@ -1,6 +1,6 @@
from math import sqrt from math import sqrt
TRENDING_WINDOW = 650 # number of blocks, ~24hr period TRENDING_WINDOW = 134 # number of blocks in ~6hr period (21600 seconds / 161 seconds per block)
TRENDING_DATA_POINTS = 7 # WINDOW * DATA_POINTS = ~1 week worth of trending data TRENDING_DATA_POINTS = 7 # WINDOW * DATA_POINTS = ~1 week worth of trending data
CREATE_TREND_TABLE = """ CREATE_TREND_TABLE = """