Announcing Option Greeks API for SmartAPI Users
-
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 -
@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?
-
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?
-
Is there any way to get the OI for options?
-
@moderator_1 Is it available now ?
-
This API is working for me, but when i try to get the weekly option greeks for Nifty options.
It returns the monthly data.This is one of the reponse executed at "250703 13:37:03" - {'name': 'NIFTY', 'expiry': '10JUL2025', 'strikePrice': '26400.000000', 'optionType': 'CE', 'delta': '0.192700', 'gamma': '0.000300', 'theta': '-18.523500', 'vega': '9.739900', 'impliedVolatility': '11.540000', 'tradeVolume': '81490.00'}
For the weekly expiry option with strikeprce 26400CE for 10th July, the Delta value returned in 0.192700, which is the delta value for monthly expiry (31 July). Kindly look into it.
-
I am trying to create an app under My APIs for trading API but the redirect URL Local host giving me error stating invalid URL.
-
@itsjha said in Announcing Option Greeks API for SmartAPI Users:
This API is working for me, but when i try to get the weekly option greeks for Nifty options.
It returns the monthly data.This is one of the reponse executed at "250703 13:37:03" - {'name': 'NIFTY', 'expiry': '10JUL2025', 'strikePrice': '26400.000000', 'optionType': 'CE', 'delta': '0.192700', 'gamma': '0.000300', 'theta': '-18.523500', 'vega': '9.739900', 'impliedVolatility': '11.540000', 'tradeVolume': '81490.00'}
For the weekly expiry option with strikeprce 26400CE for 10th July, the Delta value returned in 0.192700, which is the delta value for monthly expiry (31 July). Kindly look into it.
@Moderator_1 , @Moderator_2 , @Moderator_3 - Any update on this ?
-
@itsjha said in Announcing Option Greeks API for SmartAPI Users:
This API is working for me, but when i try to get the weekly option greeks for Nifty options.
It returns the monthly data.This is one of the reponse executed at "250703 13:37:03" - {'name': 'NIFTY', 'expiry': '10JUL2025', 'strikePrice': '26400.000000', 'optionType': 'CE', 'delta': '0.192700', 'gamma': '0.000300', 'theta': '-18.523500', 'vega': '9.739900', 'impliedVolatility': '11.540000', 'tradeVolume': '81490.00'}
For the weekly expiry option with strikeprce 26400CE for 10th July, the Delta value returned in 0.192700, which is the delta value for monthly expiry (31 July). Kindly look into it.
@administrators - Please clarify.