---
name: LLMQuant Portfolio Lab
slug: llmquant-portfolio-lab
category: Data
description: LLMQuant Portfolio Lab routes portfolio virtualization workflows like exposure maps and what-if simulations. Use it when you need scenario states, hedge analysis, or comparisons between current and hypothetical portfolios.
github: "https://github.com/LLMQuant/skills/tree/master/skills/llmquant-portfolio-lab"
language: Shell
stars: 209
forks: 27
install: "npx degit https://github.com/LLMQuant/skills/tree/master/skills/llmquant-portfolio-lab ~/.claude/skills/llmquant-portfolio-lab"
installs_to: ~/.claude/skills/llmquant-portfolio-lab
source_path: skills/llmquant-portfolio-lab/SKILL.md
collection_size: 18
category_size: 729
collection_url: "https://dirskills.com/collections/LLMQuant/skills"
added: 2026-09-04T05:26:49.652Z
last_synced: 2026-09-04T05:26:49.652Z
canonical_url: "https://dirskills.com/skills/llmquant-portfolio-lab"
---

# LLMQuant Portfolio Lab

LLMQuant Portfolio Lab routes portfolio virtualization workflows like exposure maps and what-if simulations. Use it when you need scenario states, hedge analysis, or comparisons between current and hypothetical portfolios.

**Install:**

```bash
npx degit https://github.com/LLMQuant/skills/tree/master/skills/llmquant-portfolio-lab ~/.claude/skills/llmquant-portfolio-lab
```

## README

# LLMQuant Portfolio Lab

This category routes portfolio virtualization workflows: exposure maps, scenario states, and what-if simulations for real or hypothetical portfolios.

## Routing Rules

1. Identify portfolio ID, holdings list, benchmark, scenario, and requested visualization/output.
2. Select the closest workflow below.
3. Open only that workflow and relevant local assets/scripts.
4. Use LLMQuant Data for positions, prices, ETF look-through, factors, scenarios, and risk model outputs.
5. Report as-of dates, model dates, benchmark, missing holdings, and unsupported asset types.

## Workflow Index

| User intent | Workflow |
|---|---|
| Map portfolio exposure by holdings, sectors, factors, geography, ETF look-through, and concentration. | [`workflows/portfolio-exposure-map.md`](workflows/portfolio-exposure-map.md) |
| Simulate adds, trims, hedges, shocks, and virtual portfolio states. | [`workflows/portfolio-what-if-simulator.md`](workflows/portfolio-what-if-simulator.md) |

## LLMQuant Data Contract

Prefer LLMQuant Data when available. The workflows may need these data capabilities:
- Retrieve portfolio holdings, weights, cost basis, asset types, benchmarks, and as-of dates.
- Retrieve factor exposures, sector/geography exposures, ETF look-through holdings, risk model outputs, and scenario simulation results.
- Retrieve prices, correlations, drawdowns, volatility, option Greeks, and hedge context when relevant.
- Compare current, pro forma, and hypothetical portfolio states.

Fallback:
- If portfolio APIs are unavailable, ask for a holdings table or build a structured portfolio input template.
- Do not invent weights, holdings, factor exposures, or scenario returns.
