def historicaldata():
try:
historicParam={
"exchange" : "NFO",
"symboltoken" : "101931",
"interval" : "THREE_MINUTE",
"fromdate" : "2024-12-30 09:20",
"todate" : "2024-12-30 09:21",
}
return smartApi.getOIData(historicParam)
Above function returns blank output. It should throw or show some OI data. Please help.
Output ->
"status": true,
"message": "SUCCESS",
"errorcode": "",
"data": [ ]