Announcing Option Greeks API for SmartAPI Users
-
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}
-
@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.
-
@Moderator_1
It is available only in live market? -
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 -
-
@piyush24kp Hey does it work only during live market hours, or does it work after the market has closed?
-
@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} -
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 -
@viralpatel Check in market hour, it will work.
-
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?