I want last traded price and days volume for 1000 symbols

keshav_
How can get this for python kite connect. What mode should I set in the example provided.

https://github.com/zerodhatech/pykiteconnect#websocket-usage
  • rakeshr
    @keshav_
    You can access volume and last traded price by subscribing in full mode .Check documentation here.
    Example to get volume and ltp data:
    def on_ticks(ws, ticks):
    #Get volume and ltp for all 1000 scrip one by one
    for tick_data in ticks:
    logging.debug("volume: {} - ltp:{}".format(tick_data['volume'],tick_data['last_price']))
Sign In or Register to comment.