Navigation

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

    Announcing Option Greeks API for SmartAPI Users

    General Discussion
    18
    27
    545
    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
      PareshBhatiya last edited by

      @Moderator_1 said in Announcing Option Greeks API for SmartAPI Users:

      {"name":"TCS", // Here Name represents the Underlying stock
      "expirydate":"25JAN2024"}

      can we get this data by socket?

      M 1 Reply Last reply Reply Quote 0
      • M
        M169696 last edited by

        I'm getting this as a response:
        {'status': False, 'message': 'No Data Available', 'errorcode': 'AB9019', 'data': None}

        for body={
        "name":"NIFTY",
        "expirydate":"25JAN2024"
        }

        1 Reply Last reply Reply Quote 0
        • N
          navanecs @Moderator_1 last edited by

          @Moderator_1

          I'm getting the error response for this api as below:

          {"status":false,"message":"No Data Available","errorcode":"AB9019","data":null}

          for body={
          "name":"NIFTY",
          "expirydate":"01FEB2024"
          }

          Also tried the with request
          {"name":"TCS", // Here Name represents the Underlying stock
          "expirydate":"29FEB2024"}

          got the same error response as
          {"status":false,"message":"No Data Available","errorcode":"AB9019","data":null}

          Please help.

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

            Hi @navanecs

            Apologies for delayed response.
            We have verified on both requests(TCS & Nifty) from our end. And we are able to retrieve the data for the same.
            Kindly recheck and let us know if the issue still occurs.

            Thanks & Regards,
            SmartAPI team

            1 Reply Last reply Reply Quote 0
            • M
              Moderator_1 @PareshBhatiya last edited by

              Hi @PareshBhatiya,

              This data is not available on socket yet. Apologies of inconvenience.

              Thank you.

              Regards
              SmartAPI Team

              P S 2 Replies Last reply Reply Quote 0
              • M
                manojtripathi96 last edited by

                @Moderator_1 BRO THIS THING DOES NOT WORK
                import axios from 'axios';
                const requestData = {
                "name": "TCS",
                "expirydate": "28MAR2024"
                };

                var config = {
                method: 'post',
                url: 'https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek',
                data: requestData
                };

                axios(config)
                .then(function(response) {
                console.log(JSON.stringify(response.data));
                })
                .catch(function(error) {
                console.log(error);
                });

                {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}

                M 1 Reply Last reply Reply Quote 0
                • M
                  Moderator_1 @manojtripathi96 last edited by

                  Hello @manojtripathi96,

                  The updated SDKs have been recently released. Please update your SDK to the latest version and try once again and let us know if it is working for you.

                  Thank you.

                  Regards
                  SmartAPI Team

                  1 Reply Last reply Reply Quote 0
                  • P
                    piyush24kp @Moderator_1 last edited by

                    @Moderator_1 When the data is going to be available.?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Moderator_1 @piyush24kp last edited by

                      Hello @piyush24kp,

                      Data is already available for Greeks and Implied Volatility. Is there anything specific data point you want? Please let us know.

                      Thank you.

                      Regards
                      SmartAPI Team

                      P 1 Reply Last reply Reply Quote 0
                      • N
                        nitish.bane last edited by

                        @Moderator_1 The option greeks provided by angel one does not match with that of sensibull. Do you know why is that happening and which one would be correct?

                        1 Reply Last reply Reply Quote 0
                        • I
                          imanishverma last edited by

                          There is no data returned for optionGreek

                          OptionGreeks POST  Request Url :: https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek
                          OptionGreeks POST  Request :: {"name":"TCS","expirydate":"25APR2024"}
                          OptionGreeks POST  Response :: {"status":false,"message":"No Data Available","errorcode":"AB9019","data":null}
                          
                          D 1 Reply Last reply Reply Quote 0
                          • N
                            nitish.bane last edited by

                            @Moderator_1 @Moderator_2 Can you share the logic or code you are using to calculate the option greek. I need options greeks for past expiries but it is not provided by api.

                            1 Reply Last reply Reply Quote 0
                            • P
                              piyush24kp @Moderator_1 last edited by

                              @Moderator_1
                              It is available only in live market?

                              M A 2 Replies Last reply Reply Quote 0
                              • M
                                Moderator_1 @piyush24kp last edited by

                                Hello @piyush24kp,

                                It is available for live contracts only. We do not provide data for expired options contracts as of now.

                                You can check which contracts are available from the Scrip master file.

                                Thank you.

                                Regards
                                SmartAPI Team

                                1 Reply Last reply Reply Quote 0
                                • D
                                  D284932 @imanishverma last edited by

                                  @imanishverma

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Abhi_212 @piyush24kp last edited by

                                    @piyush24kp Hey does it work only during live market hours, or does it work after the market has closed?

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      viralpatel @Moderator_1 last edited by

                                      @Moderator_1 I am not able to get the data yet.
                                      getting below response. Is there any issue from your side?

                                      Request: {'name': 'TCS', 'expirydate': '25JUL2024'}, Response: {'status': False, 'message': 'No Data Available', 'errorcode': 'AB9019', 'data': None}
                                      {'status': False, 'message': 'No Data Available', 'errorcode': 'AB9019', 'data': None}

                                      M P 2 Replies Last reply Reply Quote 0
                                      • M
                                        Moderator_3 @viralpatel last edited by

                                        Hi @viralpatel We have verified the requests (TCS) from our end and are able to retrieve the data successfully. Kindly recheck and let us know if the issue still occurs.

                                        Thanks & Regards,
                                        SmartAPI team

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          piyush24kp @viralpatel last edited by

                                          @viralpatel Check in market hour, it will work.

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            deoxys last edited by

                                            Why is theta value different from Sensibull and other similar platforms? Do we have to do some other calculations like divide by lot size or something to get the correct value?

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