Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. ashokkmr22
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 3
    • Best 2
    • Groups 0

    Posts made by ashokkmr22

    • RE: Websocket 2.0

      Below code will work use it for time being

      @staticmethod
          def _parse_token_value(binary_packet):
              token = ""
              token_data = binary_packet.split(b'\x00')
              for split in token_data:
                  if split:
                      token = split.decode("UTF-8")
              return token
      
      posted in Python SDK
      A
      ashokkmr22
    • RE: Websocket 2.0

      @rajanprabu

      Below code will work. Use it for time being.

      @staticmethod
          def _parse_token_value(binary_packet):
              token = ""
              token_data = binary_packet.split(b'\x00')
              for split in token_data:
                  if split:
                      token = split.decode("UTF-8")
              return token
      
      posted in Python SDK
      A
      ashokkmr22
    • How to get Sector data like nifty pharma, media, reality

      How to get Sector data in websocket?. I find token for banknifty, nifty but nifty pharma, nifty media, nifty reality etc

      posted in Python SDK
      A
      ashokkmr22