I am trying to get Open Interest and LTP of option contracts using instruments = kite.instruments("NFO") But there is OI field and LTP is zero for all contracts. Kindly guide to get real time OI and LTP
Please note that the instrument master file you are fetching is generated early in the morning after the BOD run and is not intended to serve as a real-time market data source. You may refer to the API documentation to fetch quotes.
logging.debug("Ticks: {}".format(ticks)) def on_connect(ws, response): # Subscribe to a list of instrument_tokens (RELIANCE Futures) ws.subscribe([14721794])
In the above code I am getting price and order related details. Kindly guide me how to get Open Chain details.
Kite Connect doesn't offer option chain out of the box. You will have to create option chain at your end. You may refer to the library which might help you in that.
logging.debug("Ticks: {}".format(ticks))
def on_connect(ws, response):
# Subscribe to a list of instrument_tokens (RELIANCE Futures)
ws.subscribe([14721794])
In the above code I am getting price and order related details. Kindly guide me how to get Open Chain details.