Auto Strike Price

sachinstlko09
How to get Strike Price of Option Symbol i.e. NIFTY, BANKNIFTY. As user wants to trade At The Money, In the money and Out the money.
Using PHP API V3, which function should be called to get the strike price. Also please suggest which value should be passed for a certain attribute.
  • rakeshr
    You need to use the getInstruments method and fetch strike field.
  • sachinstlko09
    sachinstlko09 edited July 2023
    For the BANKNIFTY, I require strike price according to the expiry.
    Then how I will decide instrument token, as instrument token is define according to the strike price.
    And requirement is to trade on the basis of At the money, In the money, Out the money.
  • rakeshr
    You need to iterate through the getInstruments response and filter out desired instruments based on these fields(exchange, segments, etc).
Sign In or Register to comment.