Navigation

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

    Maximum number of tokens for market feed

    Python SDK
    4
    4
    69
    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.
    • D
      Dhilip Krishna last edited by

      Hi,

      For the market feed, we can get feed of multiple scrip IDs by the & parameter. Is there a limit on the number of tokens I can put? Can I, for example, have 2000 tokens in one query?

      More importanlty, would there be any performance issues with multiple tokens?

      Regards,

      S A 2 Replies Last reply Reply Quote 0
      • S
        Surya 1 @Dhilip Krishna last edited by

        @Dhilip-Krishna

        I have tried nifty 50 and it worked like a charm. when I try to subscribe all FNO stocks, ticks were a bit delayed.. But I was resampling them to 1 min candles. You can give multiple tokens in the following format

        token = "nse_cm|3456&nse_cm|7229&nse_cm|1594&nse_cm|3787&nse_cm|1330&nse_cm|10999&nse_cm|4717"

        P 1 Reply Last reply Reply Quote 0
        • A
          admin @Dhilip Krishna last edited by

          @Dhilip-Krishna said in Maximum number of tokens for market feed:

          Hi,
          For the market feed, we can get feed of multiple scrip IDs by the & parameter. Is there a limit on the number of tokens I can put? Can I, for example, have 2000 tokens in one query?

          you can get feed for 2000 tokens in one query.

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post