Hi, I am trying to fetch the historical data of options, but everytime I am getting their corresponding underlying historical data. Please suggest, what I might be doing wrong. PS:- I am using node client
Are you referring to live options or expired instruments? Can you give an example instrument token and the tradingsymbol of an instrument for which you are trying to fetch data?
The response contains the underlying's price rather than the option's price.
However, if in the above call, when i make the continuous data as false, i do get the proper options response for the current month however, which is fine i guess.
Can you give an example instrument token and the tradingsymbol of an instrument for which you are trying to fetch data?
Eg :- "tradingsymbol":"BANKNIFTY18OCT25500CE" , "instrument_token":"10319874" :-
kc.getHistoricalData(10319874 , "day" , "2018-06-10" , "2018-10-01" , true)
Response :- The response contains the underlying's price rather than the option's price.
However, if in the above call, when i make the continuous data as false, i do get the proper options response for the current month however, which is fine i guess.