Hi,
When using the get_prices function in Python, there seems to be a bug if you use pd.Timestamp to specify a start date.
If i use CLI to get prices for NVDA (FIBBG000BBJQV0) from 2020-09-03 until 2020-10-02, the price in the first row (2020-09-03) is correct (134.9609).
$ quantrocket history get usstock-1d -s 2020-09-30 -e 2020-10-02 -i
FIBBG000BBJQV0 -f Close
Sid,Date,Close
FIBBG000BBJQV0,2020-09-30,134.9609
FIBBG000BBJQV0,2020-10-01,135.7987
FIBBG000BBJQV0,2020-10-02,130.2903
But when i use get_prices function in Python by specifying start_date with pandas Timestamp, the price in the first row (2020-09-03) is incorrect (541.2200)
from quantrocket import get_prices
get_prices('usstock-1d', sids='FIBBG000BBJQV0', start_date=pd.Timestamp(2020, 9, 30), end_date=pd.Timestamp(2020, 10, 2), fields=['Close'])
Sid FIBBG000BBJQV0
Field Date
Close 2020-09-30 541.2200
2020-10-01 135.7987
2020-10-02 130.2903
If i use string to specify start_date, the price in the first row (2020-09-03) is correct (134.9609).
from quantrocket import get_prices
get_prices('usstock-1d', sids='FIBBG000BBJQV0', start_date='2020-09-30', end_date
=pd.Timestamp(2020, 10, 2), fields=['Close'])
Sid FIBBG000BBJQV0
Field Date
Close 2020-09-30 134.9609
2020-10-01 135.7987
2020-10-02 130.2903
Am I missing something here?