Websocket Token list format Error.

Jalal
Hi Team,

I am facing issue when i am parsing tokens list through a variable it gives an error. But when i harcode instrument list it works. Please see the attachments.

  • rakeshr
    TypeError: Object of type 'int64' is not JSON serializable
    Are tokens a list of Numpy int64 types?
    Json does not recognize NumPy data types. You will need to convert the number to a Python int.
  • Jalal
    int64 types ? I havent checked on this since in Zerodha Documentation its not mentioned. can we get this handled in the Kiteconnect class ?
Sign In or Register to comment.