wrong historical minute data

Vinnce
I am constantly getting wrong historical minute data if I make a call to get data for previous minute
e.g. if I get minute data for POWERGRID for minute 2019-06-07 10:33:00
and say i am making that call on 2019-06-07 10:34:03 .. I am getting all wrong values for High Low Close as well as volume
  • rakeshr
    @Vinnce
    Historical data is meant for backtesting only.We don't recommend using it for live/real-time strategies. You can generate candles at your end for the required instruments using WebSocket.
    It involves a database writing operation,and there can be few ticks in the queue to be written, so you need to increase your delay(may be more than 10 secs) while requesting for the previous minute candle.
  • Vinnce
    I have increased delay up to 30sec .. and still data is wrong
    do you have any php code sample for web-socket streaming
  • rakeshr
    @Vinnce
    We don't have WebSocket streaming for php client.
Sign In or Register to comment.