What is the format used for trading symbol to get corresponding instrument key ? BANKNIFTY23N3043600PE dosnt work

for example BANKNIFTY23N2243600PE is symbol for nov 22nd expiry , how can i find nov 30th expiry on complete instrument key csv?
BANKNIFTY23N2243600PE works
BANKNIFTY23N3043600PE is not working
BANKNIFTY23D0643600PE works
BANKNIFTY23D1343600PE works
Please help

Hi @Ashok_Kumar_k

To anwer your query, 30th Nov is a monthly expiry so you would not get weekly expiry contract for the same

Below is the variation between monthly and weekly contracts, we will get a note added in the documentation as well

BANKNIFTY 23NOV 36500 CE → yyMMM

BANKNIFTY 23N22 36500 CE → yyMdd

If you see the first contract, it is the one you are looking for with 23NOV as the keyword whereas for other dates, you will get the weekly comtract with 23N22 keyword

Hope this helps.

@AbhishekRathore ,

Perfect , that makes sense, Thanks for resolving .