How can we retrieve historical stock data from Fyers API with all corporate actions adjusted (splits, bonus, merger/demerger, etc.)?

I’m using the below API request to fetch historical daily candles:

data = { “symbol”: fyers_symbol, “resolution”: “1D”, “date_format”: “1”, “range_from”: current_start_date.strftime(“%Y-%m-%d”), “range_to”: current_end_date.strftime(“%Y-%m-%d”), “cont_flag”: “1” }

However, the returned data does not appear to be adjusted properly for corporate actions like:

  • Stock splits
  • Bonus issues
  • Mergers/Demergers

I wanted to know:

  • Does Fyers provide fully adjusted historical OHLC data?
  • Is there any parameter/API endpoint for adjusted data?
  • Is there a separate corporate actions API available to manually adjust prices?

Hey Ankit,

The historical data is already adjusted for corporate actions. Could please share the symbols where you suspect the adjustments may be missing?

Hey Naresh,

I can see the daily OHLCV is not adjusted for symbols like QUESS and STLTECH.