How to get historical data of nifty future for last 3 month for active contract
You can get the required histprical data from the Histpry API , there is an option for to set a flag for continous futures as well , Please find the docs for the complete information on the same
https://myapi.fyers.in/docsv3#tag/Data-Api