portfolio-macro-scenario
Skill7 starsChanged 4 months agoLicence not identifiedView on GitHub
Prescriptive macro scenario analysis on a current book. Given a position book (CSV of ticker,shares) and a scenario stated as flags (--rates-bp, --dxy-pct, --oil-pct, --gld-pct), it regresses each position's daily returns on four macro factor ETFs (TLT for rates, UUP for the dollar/DXY, USO for oil, GLD for gold), translates the scenario into factor return shocks, and reports the expected per-position and book-level P&L with a rough 90% band, plus the dominant position and factor contributors. Use when the question is forward-looking and conditional: "what happens to my book if rates keep rising / the dollar keeps rallying / oil spikes / gold falls." This is the prescriptive counterpart to risk-report and portfolio-review, which are descriptive of the past. Runs on any stocks tier (Free Basic works with --sleep 13).
- Reads credentials
In this repository62 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- 8-k-scannerSkill
- analyst-trackerSkill
- backtest-data-prepSkill
- change-point-detectorSkill
- commodity-cycleSkill
- corp-actions-reconcilerSkill
- corporate-actions-scannerSkill
- crypto-vol-scannerSkill
- earnings-blackoutSkill
- earnings-drilldownSkill
- earnings-week-prepSkill
- event-studySkill
- factor-researchSkill
- filing-sentimentSkill
- filing-triangulationSkill
- fixed-income-contextSkill
- guidance-trackerSkill
- hedge-suggesterSkill
- historical-analog-finderSkill
- historical-comparisonSkill
- hurst-exponentSkill
- insider-flowSkill
- macro-event-calendarSkill
- manager-portfolio-diffSkill
- market-regimeSkill
- massive-api-patternsSkill
- massive-flat-filesSkill
- massive-websocketsSkill
- mc-portfolio-simulatorSkill
- morning-briefSkill
- news-scannerSkill
- options-flowSkill
- options-structure-analyzerSkill
- pairs-scannerSkill
- pitch-compsSkill
- portfolio-markSkill
- portfolio-rebalancerSkill
- portfolio-reviewSkill
- position-sizerSkill
- prediction-market-monitorSkill
- pre-earnings-full-stackSkill
- preflight-tradeSkill
- regime-auditSkill
- relative-strengthSkill
- risk-factor-deltaSkill
- risk-reportSkill
- rough-vol-forecastSkill
- scan-and-frameSkill
- sector-rotation-signalSkill
- signal-decaySkill
- single-name-vs-sectorSkill
- slippage-costSkill
- smart-money-clusterSkill
- stock-one-pagerSkill
- t+1-settlement-prepSkill
- technical-briefingSkill
- universe-builderSkill
- valuation-sanity-checkSkill
- vs-benchmark-auditSkill
- The first 60 shown.
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

