Can someone please help with python code to convert start_Time that we get from daily_minute_chart API to relevant timestamp?
Hey @pahadi_trader
You can take reference from the below snippet which should help you convert to datetime
.
def ConvertToDateTime(JulianDate):
Dt1980= datetime(year=1980,month=1,day=1,hour=5,minute=30)
DtObj= Dt1980+ timedelta(seconds=JulianDate)
return DtObj
Hope this helps! Will soon add this on Documentation as well.
1 Like
Thanks. This is working.
1 Like