SmartApi historic data returning none today


  • Is there any issue in SmartApi historic data today ?

    try:
    historicParam={
    "exchange": "NSE",
    "symboltoken": "3045",
    "interval": "ONE_MINUTE",
    "fromdate": "2021-02-08 09:00",
    "todate": "2021-02-08 09:16"
    }
    smartApi.getCandleData(historicParam)
    except Exception as e:
    print("Historic Api failed: {}".format(e.message))

    It is returning none in. please see the snapshot. I checked for other tokens as well and this is happening for others as well

    smart api issue.jpg


  • Hi all,

    Apologies for delayed response.
    It could be technical glitch. Kindly write to us on smartapi@angelbroking.com if the issue still persists with historical data

    Thanks & Regards,
    SmartAPI team


  • When I tried next day it started working fine. Not sure what the issue was. Anyways if admin can enlighten us with some insights that than would be great.


  • Yes, I was also trying but same returned so I thought my program had some mistakes.
    Anyone can tell , please ?


  • I'm getting 0a823873-683c-4266-8f01-3f588d910df3-image.png
    even after trying multiple times with different parameters, the session is successfully created every single time but I still get this error. I tried using both the trading as well as historical api.