Hi, I am using API to get the instrument list : https://api.kite.trade/instruments As a response we are getting :: instrument_token, exchange_token, tradingsymbol, name, last_price, expiry, strike, tick_size, lot_size, instrument_type, segment, exchange
But; we are not getting the name as defined in zerodha; which helps me to provide searching easy. Example: Nifty 7th 21Jan 14000 CE the name is given at Zerodha; but as an api response we are getting the appropriate symbol "NIFTY2110714000CE" not the exact text.
Pease guide. I want to improve my searching feature.
@sachinstlko09, The formatted tradingsymbol is just for readability purposes only. It has nothing to do with search.
A plain text search on the instruments dump should do the job. If you want to further optimize the search you may breakdown the list into subsets based on segments, exchange, etc.
Hi, We are getting the following details with respect to the " NIFTY2110714000CE " instrument_token,exchange_token,tradingsymbol,name,last_price,expiry,strike,tick_size,lot_size,instrument_type,segment,exchange 11110402,43400,NIFTY2110714000CE,"NIFTY",0,2021-01-07,14000,0.05,75,CE,NFO-OPT,NFO
There is no such text with respect to the Nifty 7th 21Jan 14000 CE; so that we can apply search as Zerodha integrated.
The formatted tradingsymbol is just for readability purposes only. It has nothing to do with search.
A plain text search on the instruments dump should do the job. If you want to further optimize the search you may breakdown the list into subsets based on segments, exchange, etc.
We are getting the following details with respect to the " NIFTY2110714000CE "
instrument_token,exchange_token,tradingsymbol,name,last_price,expiry,strike,tick_size,lot_size,instrument_type,segment,exchange
11110402,43400,NIFTY2110714000CE,"NIFTY",0,2021-01-07,14000,0.05,75,CE,NFO-OPT,NFO
There is no such text with respect to the Nifty 7th 21Jan 14000 CE; so that we can apply search as Zerodha integrated.