Full Quotes in Websocket

subhash494
I am using the python KiteConnect Library, I have changed the default self.subscribed_tokens[token] = self.MODE_QUOTE to self.subscribed_tokens[token] = self.MODE_FULL ; to get data with mode='full' instead of mode='quote'; however even though instruments are subscribed with mode as full. I am only getting back quote data. How to get data with mode='full' ?
  • sujith
    Are you setting mode after subscribing or before subscribing for data?
  • subhash494



    I am changing it here, in the subscribe function
  • rakeshr
    I have changed the default self.subscribed_tokens[token] = self.MODE_QUOTE to self.subscribed_tokens[token] = self.MODE_FULL
    No, changing mode value in subscribed_tokens dict won't help as it's used only to maintain instrument token dict at the client side for the re-connection scenarios.
    You would have to use set mode, check this, for changing mode.
  • subhash494
    Hi, changed as below, now getting full quotes. Thank You


This discussion has been closed.