Continous futures data

I am getting daily data for Banknifty futures only for 50 days even when i have put “cont_oi”=1.

Can anyone tell me what is the issue ?

frequency = "D"
ticker = "NSE:BANKNIFTY24DECFUT"
print(ticker)

start_date = dt.date.today() - dt.timedelta(360)
end_date = dt.date.today()

data= {
    "symbol" :  ticker,
    "resolution" : frequency,
    "date_format" : 1,
    "range_from" : start_date,
    "range_to" : end_date,
    "volume" : 1,
    "cont_oi" : 1
}

Hey @pf6SkER2uB

Please use the key like this - “cont_flag”:“1”, you will get the data of the continous futures :
https://myapi.fyers.in/docsv3#tag/Data-Api/paths/~1DataApi/post