use five minute ticker for a much more stable indicators

This commit is contained in:
Janne Sinivirta 2017-09-12 10:53:42 +02:00
parent cedc207097
commit 1280670ea3

View File

@ -22,7 +22,7 @@ def get_ticker(pair: str, minimum_date: arrow.Arrow) -> dict:
}
params = {
'marketName': pair.replace('_', '-'),
'tickInterval': 'OneMin',
'tickInterval': 'fiveMin',
'_': minimum_date.timestamp * 1000
}
data = requests.get(url, params=params, headers=headers).json()