Navigation

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

    Dynamic token generation for Bank nifty options

    Python SDK
    3
    3
    59
    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
      sudhakar last edited by

      I want to generate Banknifty options token dynamically based on spot price. How can I find the respective token for specific spot price?

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

        @sudhakar

        You can download the instruments.json locally and search in there.. or did I understand your question wrong ?

        1 Reply Last reply Reply Quote 0
        • A
          admin @sudhakar last edited by

          Hi @sudhakar you need to round off your instrument value to the multiples of strike prices and search it in JSON file to get the token.

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