Java code: Need Market Feed for BankNifty

UI7661
I need a java code for getting market feed for Banknifty, Nifty 50, and FinNifty.

Do I need to do two-factor authentication if I only need market feed and not place the orders?

Can you share the code for the same?

Thanks in advance for your help.
  • sujith
    You can refer to the FAQs to know about the usage of Kite Connect APIs and javakiteconnect examples here.

    Kite Connect is purely an execution platform. We don't provide support or solutions to write strategies.
  • UI7661
    Will I able to get 5 Min OHLC data by subscribing to Kite Connect or I need to subscribe KiteConnect for Historical Data also?
  • sujith
    Though you get current day's data on historical data add-on subscription. For live market strategies, we suggest building candles at your end with the live market data provided on the Websocket API.
    You can know more about generating candles here.
Sign In or Register to comment.