Python
from finance_dev import FinanceDev, models import os with FinanceDev( security=models.Security( client_id=os.getenv("FINANCEDEV_CLIENT_ID", ""), client_secret=os.getenv("FINANCEDEV_CLIENT_SECRET", ""), ), ) as fd_client: res = fd_client.analytics.get_sector_wise_change(limit="15") # Handle response print(res)
[ { "sector": "<string>", "avgChange": 123 } ]
Retrieves the average percentage change for all available sectors.
Documentation IndexFetch the complete documentation index at: https://finance.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://finance.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Sector-wise changes retrieved successfully
The sector name
Average percentage change for the sector
Was this page helpful?