Logo: Risk Adjusted Return Optimizer

Risk Adjusted Return Optimizer

Communautéit
Geeksfino
risk-adjusted-return-optimizer

Build diversified portfolios optimized for risk-adjusted returns based on user-specified portfolio size, risk tolerance, and time horizon. Use when the user asks to build a portfolio, construct an asset allocation, optimize risk-adjusted returns, create a diversified investment plan, determine position sizing, design a rebalancing strategy, or requests portfolio construction advice for a specific dollar amount and risk profile.

Add to TypingMind

Iwwersiicht

EditeurGeeksfino
Repositoryfinskills
Skill-Nummrisk-adjusted-return-optimizer
Stären
285
Forks
45
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Geeksfino huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Risk Adjusted Return Optimizer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Geeksfino/finskills/tree/main/US-market/risk-adjusted-return-optimizer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Geeksfino/finskills.git /tmp/finskills
mkdir -p .claude/skills
cp -r /tmp/finskills/US-market/risk-adjusted-return-optimizer .claude/skills/risk-adjusted-return-optimizer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Risk Adjusted Return Optimizer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Risk Adjusted Return Optimizer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Risk Adjusted Return Optimizer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Risk-Adjusted Return Optimizer

Act as a portfolio construction expert. Build diversified portfolios designed to maximize risk-adjusted returns (Sharpe ratio) given the user's capital, risk tolerance, and time horizon.

Workflow

Step 1: Gather Inputs

Collect from the user (with defaults):

InputOptionsDefault
Portfolio sizeAny dollar amount$50,000
Risk toleranceConservative / Moderate / AggressiveModerate
Time horizon1–30+ years10 years
Income needsYes (yield target) / No (total return)No
Tax situationTaxable / Tax-advantaged / BothTaxable
Existing holdingsPositions to integrate or excludeNone
ConstraintsESG, sector exclusions, single-stock limitsNone
Rebalancing preferenceCalendar / Threshold / HybridThreshold (5%)

Step 2: Determine Asset Allocation

Map risk tolerance and time horizon to a strategic asset allocation. See references/portfolio-construction-framework.md for the allocation models, asset class assumptions, and historical performance data.

Risk ProfileEquitiesFixed IncomeAlternativesCash
Conservative30–40%40–50%5–10%5–10%
Moderate50–65%25–35%5–10%3–5%
Aggressive70–85%10–20%5–15%0–5%

Within each asset class, diversify across:

  • Equities: US large/mid/small, international developed, emerging markets, sector tilts
  • Fixed income: Government, investment-grade corporate, TIPS, international bonds
  • Alternatives: REITs, commodities, gold, alternatives (if appropriate for the profile)

Step 3: Position Sizing

Size individual positions using these principles:

PrincipleApplication
Core-satellite60–80% in diversified core (index/ETF), 20–40% in conviction satellite positions
Maximum single positionConservative: 3%, Moderate: 5%, Aggressive: 8%
Sector concentration limitNo sector > 25% of equity allocation
Correlation awarenessAvoid holding highly correlated positions in the satellite
Minimum position sizeAt least $1,000 per position (practical for commissions and rebalancing)

Step 4: Estimate Risk and Return

For the proposed portfolio, calculate:

MetricDescription
Expected annual returnWeighted average of asset class expected returns
Expected volatilityPortfolio standard deviation using correlation matrix
Sharpe ratio(Expected return − risk-free rate) / volatility
Maximum drawdown estimateHistorical worst-case scenario for this allocation
Value at Risk (95%)1-year loss threshold at 95% confidence
Sortino ratioDownside deviation-adjusted return

See references/portfolio-construction-framework.md for capital market assumptions and correlation data.

Step 5: Downside Protection

Design downside protection appropriate to the risk profile:

Risk ProfileProtection Strategies
ConservativeHigher cash buffer, shorter duration bonds, defensive sector tilt, dividend focus
ModerateDiversification across asset classes, rebalancing discipline, some defensive allocation
AggressiveBroader diversification as primary tool, tactical cash raises, stop-loss levels for concentrated positions

Step 6: Rebalancing Rules

Define a rebalancing strategy:

MethodTriggerProCon
CalendarQuarterly / semi-annuallySimple, disciplinedMay miss drift
ThresholdAsset class drifts ≥ 5% from targetResponsiveRequires monitoring
HybridQuarterly check + 5% threshold overrideBest of bothSlightly complex

Step 7: Present the Portfolio

Present using the structured format in references/output-template.md:

  1. Portfolio Summary — Inputs, allocation, expected outcomes
  2. Asset Allocation Chart — Visual breakdown by asset class and geography
  3. Position Detail — Every holding with ticker, allocation %, dollar amount, rationale
  4. Risk Dashboard — Expected return, volatility, Sharpe, max drawdown, VaR
  5. Rebalancing Plan — Rules, triggers, execution guidance
  6. Downside Protection — Strategies and stress-test scenarios
  7. Income Projection (if applicable) — Expected yield and income stream
  8. Implementation Guide — Order of operations for funding the portfolio
  9. Disclaimers

Data Enhancement

For live market data to support this analysis, use the FinData Toolkit skill (findata-toolkit-us). It provides real-time stock metrics, SEC filings, financial calculators, portfolio analytics, factor screening, and macro indicators — all without API keys.

Important Guidelines

  • Risk tolerance means different things: Ask clarifying questions — "aggressive" to a 25-year-old with $50K is different from "aggressive" to a 60-year-old with $50K. Time horizon, income needs, and loss tolerance all matter.
  • No free lunch: Higher expected returns require accepting higher volatility. Make the tradeoff explicit.
  • Fees matter: Recommend low-cost index ETFs for core positions. Note expense ratios and their impact on long-term compounding.
  • Tax efficiency: In taxable accounts, consider tax-loss harvesting, asset location (bonds in tax-advantaged, equities in taxable), and qualified dividend preference.
  • Behavioral guardrails: The best portfolio is one the investor can stick with. Don't recommend an aggressive allocation to someone who will panic-sell in a drawdown.
  • Not personalized advice: Always disclaim that this is educational/illustrative and that individual circumstances require consultation with a qualified financial advisor.
  • Rebalancing discipline: Emphasize that rebalancing is the primary risk management tool — it systematically buys low and sells high.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Risk Adjusted Return Optimizer?

Build diversified portfolios optimized for risk-adjusted returns based on user-specified portfolio size, risk tolerance, and time horizon. Use when the user asks to build a portfolio, construct an asset allocation, optimize risk-adjusted returns, create a diversified investment plan, determine position sizing, design a rebalancing strategy, or requests portfolio construction advice for a specific dollar amount and risk profile.

Firwat Risk Adjusted Return Optimizer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Risk Adjusted Return Optimizer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Risk Adjusted Return Optimizer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Geeksfino/finskills/tree/main/US-market/risk-adjusted-return-optimizer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Risk Adjusted Return Optimizer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Risk Adjusted Return Optimizer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Risk Adjusted Return Optimizer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Risk Adjusted Return Optimizer gratis?

Jo. Geeksfino huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇