Navigation

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

    How to get ltp data of option chain

    General Discussion
    0
    6
    98
    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
      shubhavn last edited by

      Hi @Moderator_2 , i am getting strike price , delta, gamma, theta using option greek api, but i want ltp data also, pls help me to get ltp data of option chain for each strike price.

      S 1 Reply Last reply Reply Quote 0
      • S
        shubhavn @shubhavn last edited by shubhavn

        @shubhavn said in How to get ltp data of option chain:

        Hi @Moderator_2 , i am getting strike price , delta, gamma, theta using option greek api, but i want ltp data also, pls help me to get ltp data of option chain for each strike price.

        M 1 Reply Last reply Reply Quote 0
        • M
          Moderator_2 @shubhavn last edited by Moderator_2

          hi @shubhavn

          For any option call/put scrips, we can retrieve the LTP from Live Market API. Please find the required token on
          "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"
          And pass the token on Live market API to fetch LTP.
          Ref:
          https://smartapi.angelbroking.com/docs/MarketData

          Regards,
          SmartAPI team

          S 1 Reply Last reply Reply Quote 0
          • S
            shubhavn @Moderator_2 last edited by

            @Moderator_2 Thank you for your response, but market API doesn't provide strike price, i need strike price & ltp for each strike price. pls help me to get it.

            M 1 Reply Last reply Reply Quote 0
            • M
              Moderator_2 @shubhavn last edited by

              hi @shubhavn

              Strike price for any stocks can be fetched from instrument json file.
              "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"
              Ref:
              {"token":"154976","symbol":"LT28MAR243120PE","name":"LT","expiry":"28MAR2024","strike":"312000.000000","lotsize":"300","instrumenttype":"OPTSTK","exch_seg":"NFO","tick_size":"5.000000"}

              Regards,
              SmartAPI team

              S 1 Reply Last reply Reply Quote 0
              • S
                shubhavn @Moderator_2 last edited by

                @Moderator_2 Thank you for your response

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