How to get the Banknifty Weekly and monthly options quote in PHP

animationatul
Hi,

as per the new changes but still it was not working
The format is BANKNIFTYstrike
BANKNIFTY 19 2 27 27500 CE

I am trying to get the option quote by the below way but its giving error.
$kite->getQuote('NFO-OPT:BANKNIFTY1922727500CE');
but it was not working

Kindly help how i can get the quotes for weekly option and monthly option...


Tagged:
  • sujith
    There are no weekly options for the last week of the month since there is a monthly expiry.
    So in order to fetch quote of a BANKNIFTY OPT you need to fetch quote for BANKNIFTY19FEB27500CE
Sign In or Register to comment.