You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm parsing the first datetime in milliseconds I'm getting "2023-09-21 18:30:00" It should be "2023-09-22". It's the same for all the dates. It is d-1. Please resolve it
The text was updated successfully, but these errors were encountered:
Description
I was trying to get the expiries of BSE Index Sensex. But I'm getting the wrong expiry dates. I think it is Nifty expiry dates.
What I Did
client.get_expiry("B","SENSEX")
Response:
{'Expiry': [{'Exch': 'B',
'ExchType': 'D',
'ExpiryDate': '/Date(1695321000000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1695925800000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1696530600000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1697135400000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1697740200000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1698345000000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1698949800000+0530)/'},
{'Exch': 'B', 'ExchType': 'D', 'ExpiryDate': '/Date(1700764200000+0530)/'}],
'Message': 'Success',
'Status': 0,
'lastrate': [{'Exch': 'B',
'ExchType': 'C',
'LTP': 66060.03,
When I'm parsing the first datetime in milliseconds I'm getting "2023-09-21 18:30:00" It should be "2023-09-22". It's the same for all the dates. It is d-1. Please resolve it
The text was updated successfully, but these errors were encountered: