Added in Feature Requests. Here is how I did it.
https://archives.nseindia.com/content/nsccl/fao_participant_oi_11052023.csv is the format of the URL.
Now observe how I did Bhavcopy()
def get_bhavcopy(date):
date = date.replace("-","")
payload=pd.read_csv("https://archives.nseindia.com/products/content/sec_bhavdata_full_"+date+".csv")
return payload
Similarly, Here is your new function -
def get_fao_participant_oi(date):
date = date.replace("-","")
payload=pd.read_csv("https://archives.nseindia.com/content/nsccl/fao_participant_oi_"+date+".csv")
return payload
print(get_fao_participant_oi("04-06-2021"))