Forum Discussion
manthena2020
9 months agoAdvisor
if i use this i am getting data
current_timestamp = int(datetime.utcnow().timestamp())
start_timestamp = int((datetime.utcnow() - timedelta(days=30)).timestamp())
queryParams = f'?start={start_timestamp}&end={current_timestamp}'
print(start_timestamp)
From today to last 30 days we are getting data
epoch = str(int(time.time() * 1000)) ( both the cases we are using this)
Related Content
- 3 months ago
- 2 years ago