How to clear all subscribe list and register new list of instrument tokens ?

  • okhatavkar007
    I tried above but did not worked, I wanted to unsubscribed all tokens from earlier and then resubscribe new tokens
  • okhatavkar007
    Okay got it

    ws.unsubscribe(old_instrument_list)
    ws.subscribe(new_instrument_list)
This discussion has been closed.