fetching option data for a particular strike price

Hi,

I want to fetch a option data for nifty 50 index on a specific strike price on a specific day in 1 min time interval only for specific day . Is that possible ?

If Yes , Can you guide me how to do this or any links in your document?
I am already using Colab to fetch nifty 50 data but stuck in option data

i have tried few attempts and looks like option data is coming but not 1 year historical data
example

nifty options 2024 ,20th June 23500PE,

response getting
{'candles': [], 'message': '', 's': 'no_data'}

Could you please help me to get the historical data . if you have any paid service which will help me to get that data for back-testing my strategies


Also, what is truedata API , do they provide me the historical data? I think you have collaboration with them



OPTION_SYMBOL = "NSE:NIFTY2462023500PE"

# ๐Ÿ”น Define Date Range for 1 Minute Data (Single Day: 14-Feb-2025)
DATE_FROM = "2024-06-19"
DATE_TO = "2024-06-19"
1 reply