Can someone please help with python code to convert start_Time that we get from daily_minute_chart API to relevant timestamp?
You can take reference from the below snippet which should help you convert to
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.
Thanks. This is working.
I am getting start_Time as list of float
Welcome to Dhan Community. Great to see you our APIs!
Can you please tell me what is the exact response you are getting here and whether the date is in Julian or not, so that we can assist you accordingly!