NIFTY and BANKNIFTY SPOT Prices Subscription

arunpanjala
Dear Kite Support,

Can you tell me the syntax/statement I need to use to subscribe NIFTY/BANKNIFTY SPOT prices (not futures price but spot price). I have given sample statement to subscribe for Spot prices of Wipro. I need the relevant syntax for BankNifty spot. I have gone through your documentation on it, but could not find how to get Index prices. Please help.

objKite.SubscribeQuotes("NSE", "WIPRO");

Regards,
Arun
  • rishiswethan
    rishiswethan edited September 2019
    kite.instruments()

    Find the java equivalent for this python function, you can get a list of all instruments
  • arunpanjala
    Thanks for the response. I could not find out the respective function in kite class.

    @HowUTrade Could you please answer this one
  • HowUTrade
    @arunpanjala

    You can check the below file for full list of indices.
    [APPDIR]\KiteNet\[DDMMMYYYY]\NSE_Index.txt

    The syntax is same as you mentioned except the exchange name is "NSE_Index"
    objKite.SubscribeQuotes("NSE_Index", "NIFTY 50");
    objKite.SubscribeQuotes("NSE_Index", "NIFTY BANK");

    once subscribed, you will receive quotes in QuotesReceivedEvent in case of custom application or in RTD if you use excel application.
  • arunpanjala
    @HowUTrade Thanks for the response. Much appreciated
This discussion has been closed.