It looks like you're new here. If you want to get involved, click one of these buttons!
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
function txtdisplay(){
$.ajax({
type: "POST",
url:"ajax.php",
data:"data1=get",
success:function(html){
$("#currentprice").html(html);
}
});
}
setInterval(function(){
txtdisplay();
},1000);
</script>
<div id="currentprice"></div>
<img src="https://kite.trade/forum/uploads/editor/vx/bom08w7ccijc.png" alt="" />
<img src="https://kite.trade/forum/uploads/editor/1q/3n3a9qz455is.png" alt="" />
You can check out the API rate limit here.
You can either send the request for multiple instruments with more interval or use Kite Ticker from kiteconnectjs library.
Because I am sending 1 request per second still its showing these error SOMETIME
Not all the times
phpkiteconnect doesn't have websockets feature.