Assistance Needed for Retrieving Specific Market Data Using FYERS API

Hi FYERS Community,

I am working on a project that requires accessing specific market data through the FYERS API, and I need some guidance on how to achieve the following:

  • All Time High with Date: How can I retrieve the all-time high price of a symbol along with the date it occurred? Is there a specific endpoint in the FYERS API that provides this information?
  • Last Closing High (Daily): What is the best way to fetch the last closing high price for a symbol on a daily basis using the FYERS API? Which API endpoint should I use for this?
  • 10M SMA and 20M SMA: How can I calculate the 10-month and 20-month Simple Moving Averages (SMA) for a symbol using the FYERS API? Which historical data endpoint should I use, and what is the recommended method for calculating these moving averages?

Any examples, documentation links, or detailed explanations would be greatly appreciated.

Thank you for your support!

I don’t think there is specific endpoint to fetch these data in fyers, you have to write your own logic using historical data. let us hear it from the team itself.

Hey @100234535276750750800

For point 1 and 3 you have to write you’re own logic to fetch the required data , For point 2 you can fetch the date according to the date, All you’re requirements need the same API which is History:

https://myapi.fyers.in/docsv3#tag/Data-Api/paths/~1DataApi/post