Too much delay for Indexes historical data from Historical API



  • I am getting much delayed in Historical Data for Indexes like Nifty_50, Nifty_IT etc. Also data is delayed by a minute. Eg at 12:46:26 PM i am expecing candle for 12:45 but getting candle for 44. For other equities data is coming fine. Have look at logs and when i can expect resolution? Time Taken is in milliseconds.

    21/01/2019 12:46:26 PM - GetHistoricalData - NIFTY_INFRA : 1MINUTE : LastCandle: Time:21-Jan-2019 12:44 Open:3044.7 High:3045.15 Low:3043.95 Close:3044.7 Volume:0 TimeTaken: 9795

    21/01/2019 12:46:26 PM - GetHistoricalData - IDBI : 1MINUTE : LastCandle: Time:21-Jan-2019 12:45 Open:56.45 High:56.6 Low:56.45 Close:56.55 Volume:12107 TimeTaken: 52

    21/01/2019 12:46:26 PM - GetHistoricalData - KPIT : 1MINUTE : LastCandle: Time:21-Jan-2019 12:45 Open:219.25 High:219.45 Low:219.15 Close:219.15 Volume:4705 TimeTaken: 79

    21/01/2019 12:46:26 PM - GetHistoricalData - SHREECEM : 1MINUTE : LastCandle: Time:21-Jan-2019 12:45 Open:15650.1 High:15729.7 Low:15650 Close:15729.7 Volume:77 TimeTaken: 70

    21/01/2019 12:46:26 PM - GetHistoricalData - UNIONBANK : 1MINUTE : LastCandle: Time:21-Jan-2019 12:45 Open:92.5 High:92.5 Low:92.45 Close:92.45 Volume:5102 TimeTaken: 94

    21/01/2019 12:46:26 PM - GetHistoricalData - NIFTY_BANK : 1MINUTE : LastCandle: Time:21-Jan-2019 12:44 Open:27576.55 High:27586.1 Low:27573.35 Close:27580.75 Volume:0 TimeTaken: 9784

    21/01/2019 12:46:26 PM - GetHistoricalData - PFC : 1MINUTE : LastCandle: Time:21-Jan-2019 12:45 Open:105.8 High:105.8 Low:105.8 Close:105.8 Volume:0 TimeTaken: 82


  • Support

    @raaxus, which environment you are using??



  • @pratima directly consuming your API without any SDK.
    Have look at logs, Getting NSE_EQ data timely with fast speed. less than 100 ms. but for NSE_INDEX data is delayed by a minute and that too with with delay of more than 8 sec.


  • Support

    @raaxus, we tried for the mentioned scrip of indices and didn't find any delay of historical data for the 1-minute interval.

    {
        "code": 200,
        "status": "OK",
        "timestamp": "2019-01-22T09:20:30+05:30",
        "message": "historical-data",
        "data": [
            "1548128700000,3035.75,3035.75,3030.15,3035.20,0",
            "1548128760000,3035.25,3035.85,3032.65,3033.75,0",
            "1548128820000,3034.05,3034.05,3030.45,3030.45,0",
            "1548128880000,3030.15,3031.65,3028.05,3028.30,0",
            "1548128940000,3029.05,3029.50,3027.00,3029.50,0"
        ]
    }
    


  • This post is deleted!

  • Support

    @raaxus, we tried calling before 15 seconds and we got the response as you can see in the following snapshot the response time is 682 ms.

    0_1548146676205_519ea5b7-e03e-4acf-b6b9-ad251964aaa2-image.png

    0_1548146789039_cc8862a8-19d4-4adc-8d6a-e1a751c7f827-image.png



  • This post is deleted!

  • Support

    @raaxus, we are checking in production and right now we have only 1.


Log in to reply
 

Looks like your connection to Upstox Forum was lost, please wait while we try to reconnect.