Get attribution analysis for a backtest

Get attribution analysis for a backtest.

This endpoint provides comprehensive performance attribution analysis including:

  • Top and bottom position contributors
  • Concentration metrics
  • Sector-level comparison against sector ETFs
  • Grouped attributions by sector and market cap
  • Natural language narrative summary

Args: request (Request): The request object id (str): The backtest ID period (str): Period for analysis ('3m', 'ytd', '1y', '3y', '5y', 'all') db (Session): User database session fin_db (Session): Financial database session

Returns: AttributionResponseSchema: Attribution analysis results

Language
Credentials
OAuth2
URL
Click Try It! to start a request and see the response here!