Wrong data in historical Api

deepmangukiya
deepmangukiya edited September 2020 in .Net API client
Hello team,

I found wrong candle information data from the historical api 5 mint interval. consider the following cases

BRITANNIA Time => 9/22/2020 13:40:00 Open => 282.15 High => 282.5 Low => 279.7 Close => 279.75
ASIANPAINT Time => 9/22/2020 13:40:00 High Price= > 282.5 Low Price => 281.0985
DIVISLAB Time => 9/22/2020 13:40:00 Open => 158.3 High => 158.35 Low => 157.35 Close => 157.4
PVR Time => 9/22/2020 13:40:00 Open => 314.9 High => 315.5 Low => 313.7 Close => 314.45

How this is possible??

Can you please check details and solve it out because this is crucial problem.

Thanks.

  • sujith
    Can you elaborate what is the issue here and are you fetching historical data real-time?
  • deepmangukiya
    yes for the same day but just five minute before data. i passed instrument token date from time to time and date.

    for example if current this is 11:16 minute i passed 11:10 to 11:15 data. but this kind of wrong data i got and this is not happen every time but some times it provide me wrong data.
  • sujith
    For live market strategies, we suggest generating candles at your end using the live market data provided over websocket API.
    You can know more here.
  • sujith
    The historical data is meant for backtesting only.
  • deepmangukiya
    i agree it is meant for the back testing. but some times wrong data provided so how can we back test on right way. our back testing also becomes a wrong .
  • sujith
    You can know more here.
  • deepmangukiya
    you can close the ticket.
This discussion has been closed.