> ## Documentation Index
> Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Portfolio

> Reference pages for Portfolio endpoints.

Reference pages for Portfolio endpoints.

<Note>
  The sidebar labels inside this family are the literal calls you make over HTTP. Descriptions stay in the body so the navigation stays sharp and scannable.
</Note>

## Operations in this family

<CardGroup cols={2}>
  <Card title="POST /v1/portfolio/analyze" href="/api-reference/portfolio/post-v1-portfolio-analyze">Return factor exposures, attribution, and hedge suggestions for a portfolio in one deterministic response</Card>
  <Card title="POST /v1/portfolio/attribution" href="/api-reference/portfolio/post-v1-portfolio-attribution">Return factor return attribution for a portfolio with explained return, residual/unexplained return, and compact contribution rows</Card>
  <Card title="POST /v1/portfolio/hedge" href="/api-reference/portfolio/post-v1-portfolio-hedge">Return bounded benchmark-instrument factor hedge candidates for a portfolio with compact residual exposure and trust metadata</Card>
  <Card title="POST /v1/portfolio/optimize" href="/api-reference/portfolio/post-v1-portfolio-optimize">Return bounded factor-aware optimizer scenario candidates for factor-neutral, min-drawdown, or regime-aware objectives</Card>
  <Card title="POST /v1/portfolio/risk" href="/api-reference/portfolio/post-v1-portfolio-risk">Return ex-ante portfolio risk: tracking error, CTEV by factor group and by security, ex-ante beta, and the factor-vs-idiosyncratic split, labelled with model coverage</Card>
  <Card title="POST /v1/portfolio/stress-test" href="/api-reference/portfolio/post-v1-portfolio-stress-test">Run portfolio stress scenarios across factor and macro shock definitions with compact traceable outputs</Card>
</CardGroup>
