I am trying to get the LTP, Quote and ohlc but it just returns the argument i am passing. This is the format i am passing. Please point it out if i am doing anything wrong.
quote = kite.ltp('NSE:INFY') and how do i pass multiple instruments ?
@sujith Hi.. I am trying to fetch bid prices for an instrument by the below python code. data=kite.quote.get("NFO:NMDC19JULFUT").depth.buy.get(4).getPrice(); some where my syntax is wrong. Can you please let me know the correct syntax to fetch depth of the buy price?
instruments = ["NSE:INFY", "BSE:INFY"]
Working fine at our end.Can you post your code?
instruments = ["NSE:INFY", "BSE:INFY"]
quote = kite.ltp(instruments)
return quote
and the response i get is BSE:INFYNSE:INFY
pip install kiteconnect --upgrade --pre
You can enable debugging and check the final URL sent with header details.
I am trying to fetch bid prices for an instrument by the below python code.
data=kite.quote.get("NFO:NMDC19JULFUT").depth.buy.get(4).getPrice();
some where my syntax is wrong. Can you please let me know the correct syntax to fetch depth of the buy price?
this worked for me
kite.quote("NFO:NMDC19JULFUT")['NFO:NMDC19JULFUT']['depth']['buy'][4]['price']
please try dict_digger, works charming....