Closed tspenov closed 5 years ago
to_date=2018-10-29 defaults to 2018-10-29T00:00:00. It will be better to default to 2018-10-29T23:59:59 so it returns all the data for the day.
to_date=2018-10-29
2018-10-29T00:00:00
2018-10-29T23:59:59
san.get('transaction_volume/omisego', from_date='2018-10-28', to_date='2018-10-29') transactionVolume datetime 2018-10-28 00:00:00+00:00 3.226938e+05 2018-10-29 00:00:00+00:00 1.281221e+03
>>> san.get('transaction_volume/omisego', from_date='2018-10-28', to_date='2018-10-29T00:00:00') transactionVolume datetime 2018-10-28 00:00:00+00:00 322693.810945 2018-10-29 00:00:00+00:00 1281.220900
san.get('transaction_volume/omisego', from_date='2018-10-28', to_date='2018-10-29T23:59:59') transactionVolume datetime 2018-10-28 00:00:00+00:00 3.226938e+05 2018-10-29 00:00:00+00:00 9.269391e+05
to_date=2018-10-29
defaults to2018-10-29T00:00:00
. It will be better to default to2018-10-29T23:59:59
so it returns all the data for the day.