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
@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.
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.
do you have any php code sample for web-socket streaming
We don't have WebSocket streaming for php client.