Hello sir, I am not getting below values as mentioned in the docs for the kites quotes API also for few scripts not getting data. Please find the details below :- 1) I am not getting net_change parameter from quotes API for any script. Input :- Instrument token = 969473 Symbol = WIPRO Name = WIPRO Exchange = NSE API :- Quotes Kites Response :-
2) I am not getting correct values for last_price and ohlc.close for Commodity. Input :- Instrument token = 56530439 Symbol = GOLD21JUNFUT Name = GOLD Exchange = MCX API :- Quotes Kites Response : {"status":"success","data":{"56530439":{"instrument_token":56530439,"timestamp":"2021-01-19 13:46:51","last_trade_time":"2021-01-08 20:12:47","last_price":49010,"last_quantity":0,"buy_quantity":4,"sell_quantity":3,"volume":0,"average_price":0,"oi":19,"oi_day_high":19,"oi_day_low":19,"net_change":0,"lower_circuit_limit":47540,"upper_circuit_limit":50480,"ohlc":{"open":0,"high":0,"low":0,"close":49010},"depth":{"buy":[{"price":49178,"quantity":1,"orders":1},{"price":49095,"quantity":1,"orders":1},{"price":49066,"quantity":1,"orders":1},{"price":48970,"quantity":1,"orders":1},{"price":0,"quantity":0,"orders":0}],"sell":[{"price":49234,"quantity":2,"orders":1},{"price":49262,"quantity":1,"orders":1},{"price":0,"quantity":0,"orders":0},{"price":0,"quantity":0,"orders":0},{"price":0,"quantity":0,"orders":0}]}}}}
3) For few script i am not getting data from kits quotes API even if status = success. We expect data if status = success. Input :- Instrument token = 7648513 Symbol = VIVIDHA Name = VISAGAR POLYTEX Exchange = NSE API :- Quotes Kites Response : {"status":"success","data":{}}
@rakeshr For all my points this is is the response received from kits trade api for each request instrument token is passed no ignore other parameters that are just for reference. Can we connect on Skype or google meet as what response i have got from kits api same you will get.
We have got Input :- Instrument token = 7648513,Symbol = VIVIDHA,Name = VISAGAR POLYTEX,Exchange = NSE on 17 Dec 20201 (NSE)
We have got Input :- Instrument token = 129573380,Symbol = VIVIDHA,Name = VISAGAR POLYTEX,Exchange = BSE on 17 Dec 20201 (NSE)
Any reason for getting some wrong values from kites on 17 Dec 2021 as today getting only VIVIDHA-BE, instrument_token=7649537 and no entry for bse ideally it should be there?
Should we ignore the data of 17 and add logic to ignore all the old scripts which we don't get data?
@akashchopda555 Recently VIVIDHA is migrated to the BE category, so the difference. You can understand more about BE category in this article.
no entry for bse ideally it should be there?
It's there in the latest instrument list. 129573380,506146,VIVIDHA,,0,,0,0.01,1,EQ,BSE,BSE
Should we ignore the data of 17 and add logic to ignore all the old scripts which we don't get data?
Yes, you can try looking for other category symbol(BE, BZ, etc), if you were getting empty response for Quote call. Daily instrument list will always have today's trading contract. So, you should ideally fetch daily instrument list at BOD(beginning of the every trading day) and store at your end.
VIVIDHA-BE
, instrument_token=7649537
.We don't provide one to one support for Kite Connect. You can post the response here. We will take a look at it.
Reply :- Hello @rakeshr we are getting below 2 records on 17 Dec from kites Instrument api. Reference
https://kite.trade/docs/connect/v3/market-quotes/#instruments
We have got Input :- Instrument token = 7648513,Symbol = VIVIDHA,Name = VISAGAR POLYTEX,Exchange = NSE on 17 Dec 20201 (NSE)
We have got Input :- Instrument token = 129573380,Symbol = VIVIDHA,Name = VISAGAR POLYTEX,Exchange = BSE on 17 Dec 20201 (NSE)
Any reason for getting some wrong values from kites on 17 Dec 2021 as today getting only VIVIDHA-BE, instrument_token=7649537 and no entry for bse ideally it should be there?
Should we ignore the data of 17 and add logic to ignore all the old scripts which we don't get data?
Recently VIVIDHA is migrated to the BE category, so the difference. You can understand more about BE category in this article. It's there in the latest instrument list.
129573380,506146,VIVIDHA,,0,,0,0.01,1,EQ,BSE,BSE
Yes, you can try looking for other category symbol(BE, BZ, etc), if you were getting empty response for Quote call. Daily instrument list will always have today's trading contract. So, you should ideally fetch daily instrument list at BOD(beginning of the every trading day) and store at your end.