get ltp data not providing recent data


  • The api to get ltp data is providing stale data and it giving same data for last 20 minutes.

    api in questions:
    "api.ltp.data": "/rest/secure/angelbroking/order/v1/getLtpData",

    python function:

    def ltpData(self,exchange,tradingsymbol,symboltoken):
        params={
            "exchange":exchange,
            "tradingsymbol":tradingsymbol,
            "symboltoken":symboltoken
        }