Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    SmartWebSocketOrderUpdate: Response message format: json or list or dictionary or string?

    Python SDK
    0
    1
    0
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sb last edited by

      When I tries to use commands like message["orderData"] or message.get("user-id") in ipython, it showed error.
      Then I have to do do resp_dict = json.loads(message) to check and access for values stored in message.

      Can you please confirm the data type of message received in SmartWebSocketOrderUpdate.

      Also in SmartWebSocketV2 to receive LTP, I need not do json.loads(message).

      Will someone please mention the data type of message response?
      @Moderator_3 @Moderator_1

      1 Reply Last reply Reply Quote 0
      • First post
        Last post