Hi ... I've subscribed to your historical data feed and looking to extract the following columns (ATP(Average Traded Price), Percentage Change, Open Interest and Values In addition to open, high, low, close. The code that i've written uses historical function and retrieves only open, high low and close. Could you kindly let me know how i can extract the other columns as well.
Hi, We only provide OHLCV data in historical data as mentioned here. Our historical data doesn't contain average traded price, change and open interest.
You can get all these in live market data. You can dump it at your end and use it.
@sujith I am using a php code for scanning all the stocks that have mis multiplier greater then 3x while scanning the 400 stocks i get below error after running it one some scripts. I am running this in a loop with 1 second delay after each script.
We only provide OHLCV data in historical data as mentioned here. Our historical data doesn't contain average traded price, change and open interest.
You can get all these in live market data. You can dump it at your end and use it.
@sujith I am using a php code for scanning all the stocks that have mis multiplier greater then 3x while scanning the 400 stocks i get below error after running it one some scripts. I am running this in a loop with 1 second delay after each script.
Fatal error: Uncaught ClientNetworkException (504) 'file_get_contents(https://api.kite.trade/instruments/historical/3040257/day?instrument_token=3040257&from=2017-12-08&to=2018-01-08&interval=day&access_token=removed&api_key=removed): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error ' thrown in \xampp\htdocs\kite\kiteconnect.php on line 663