Reading intrument token list from excel not possible in python ?

tanmay
I am trying to make python read the instrument token list from the excel by way of pd.read_csv. But it gives me an error, but when I copy paste the token list in python code, only then it reads the token ?
  • rakeshr
    @tanmay
    Make sure that you are sending a numerical value format of instrument token as subscription list to Websocket streaming when extracting from excel.
  • tanmay
    @rakeshr
    what exactly do you mean by numerical value format ? I checked the format of tokens in excel in python and its numpy int format . Don't think it shoul be a problem.
  • rakeshr
    @tanmay
    Are you sending it as a list of token or just multiple tokens?
    Can you paste your WebSocket code here?
  • TheRenjithR
    @rakeshr like instead of "HDFCBANK" use 341249
Sign In or Register to comment.