use five minute ticker for a much more stable indicators
This commit is contained in:
parent
cedc207097
commit
1280670ea3
@ -22,7 +22,7 @@ def get_ticker(pair: str, minimum_date: arrow.Arrow) -> dict:
|
|||||||
}
|
}
|
||||||
params = {
|
params = {
|
||||||
'marketName': pair.replace('_', '-'),
|
'marketName': pair.replace('_', '-'),
|
||||||
'tickInterval': 'OneMin',
|
'tickInterval': 'fiveMin',
|
||||||
'_': minimum_date.timestamp * 1000
|
'_': minimum_date.timestamp * 1000
|
||||||
}
|
}
|
||||||
data = requests.get(url, params=params, headers=headers).json()
|
data = requests.get(url, params=params, headers=headers).json()
|
||||||
|
Loading…
Reference in New Issue
Block a user