Navigation

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

    How to get the symbol/name in ticks data in WS

    Bugs
    3
    4
    49
    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.
    • P
      prajwalbigworld last edited by

      Hi,

      I am using websocket to get the real time data using token id (script: "nse_cm|1594&nse_cm|10738&nse_cm|277&nse_cm|144&nse_cm|685"), After receiving the data getting confusion due to no symbol/name in data. Its showing only "sf" in name field
      {
      to: '217969897.15',
      lo: '2560.05',
      e: 'nse_cm',
      sp: '2655.95',
      😄 '2541.70',
      ltp: '2655.95',
      ltq: '2',
      tk: '1594',
      bs: '8',
      ltt: '21/01/2021 10:30:15',
      tsq: '41966',
      v: '83467',
      bp: '2655.00',
      cng: '114.25',
      bq: '9',
      ap: '2611.45',
      nc: '04.495',
      name: 'sf',
      tbq: '52396'
      }

      How to get the name/symbol of particular token id in ticks data ?

      Thanks

      A S 2 Replies Last reply Reply Quote 0
      • A
        algok @prajwalbigworld last edited by

        @StockM can you share code how put sl order

        P 1 Reply Last reply Reply Quote 0
        • S
          Surya 1 @prajwalbigworld last edited by

          @StockM you need to match and separate based on token value 'tk'

          1 Reply Last reply Reply Quote 0
          • P
            prajwalbigworld @algok last edited by

            @algok

            Hi,

            I have not worked on that..

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