Communitygithub.com

投資組合經理

用於資產配置、風險管理以及交易策略的績效指標追蹤。

投資組合經理 是什麼?

此技能專為量化基金或專業交易者設計,提供完整的投資組合管理框架。它能協助 AI 代理執行資本配置、風險管理以及績效指標(如 IRR、MOIC、夏普比率、勝率)追蹤。支援從模擬交易到實盤再到規模化交易的分階段門控機制。工作流程涵蓋研究、計劃、執行、監控、風險管理與事後檢討六個步驟,並整合了凱利公式等位置規模計算模型。適用於需要結構化投資組合管理的場景,但不適用於無法承受資本損失、不了解標的資產或情緒失控(如報復性交易)的情況。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oyi77/1ai-skills/tree/HEAD/trading/portfolio-manager

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

投資組合經理 是做什麼的?

使用時機

觸發短語:

  • "管理多個交易策略之間的資本配置"

  • "追蹤量化基金的績效指標(IRR、MOIC、夏普比率、勝率)"

  • "實施從模擬交易到實盤再到規模化交易的分階段門控機制"

  • 管理多個交易策略之間的資本配置

  • 追蹤量化基金的績效指標(IRR、MOIC、夏普比率、勝率)

  • 實施從模擬交易到實盤再到規模化交易的分階段門控機制

  • 根據風險公式計算倉位規模

  • 生成用於基金績效審查的投資者報告

何時不該使用

  • 當您無法承受該資本的損失風險時
  • 針對您不瞭解的金融工具
  • 當情緒狀態影響判斷時(報復性交易、FOMO)

概述

投資組合經理提供具風險管理能力的市場分析功能。

工作流程

# 範例:倉位規模(凱利公式)
def kelly_size(win_rate: float, avg_win: float, avg_loss: float) -> float:
    if avg_loss == 0: return 0
    b = avg_win / abs(avg_loss)
    kelly = (win_rate * b - (1 - win_rate)) / b
    return max(0, min(kelly * 0.5, 0.02))  # 半凱利,最大 2%
  1. 研究 — 分析市場狀況與機會
  2. 計劃 — 定義進場、出場與倉位規模
  3. 執行 — 以適當的委託類型下單
  4. 監控 — 追蹤持倉與市場變化
  5. 管理風險 — 應用止損與避險
  6. 檢討 — 交易後分析與日記記錄

風險管理

  • 每筆交易風險切勿超過投資組合的 1-2%
  • 進場任何部位前都應設定止損
  • 分散投資於不相關的資產
  • 根據波動率(ATR)調整倉位規模
  • 設定每日最大虧損限額

關鍵指標

  • 勝率與獲利因子
  • 夏普比率與最大回撤
  • 平均風險報酬比
  • 每筆交易的期望值
  • 與基準的相關性

紀律規則

  • 遵循您的交易計劃 — 不進行衝動交易
  • 及早止損,讓獲利奔跑
  • 回顧每一筆交易並記錄在交易日記中
  • 虧損後絕不報復性交易
  • 連續虧損後應休息

反合理化解釋表

合理化藉口現實
"我之後再停損"之後永遠不會來。進場任何交易前就設定止損。
"這次不一樣"從來都不會不一樣。遵循你的策略,而不是情緒。
"我不需要寫交易日記"寫日記能揭示你的行為模式。追蹤每一筆交易。

流程

  1. 準備 — 收集需求、驗證先決條件、設定環境
  2. 執行 — 以配置的參數執行投資組合經理工作流程
  3. 驗證 — 確認輸出符合需求、記錄結果

驗證

  • 所有步驟成功執行
  • 結果通過驗收標準驗證
  • 已測試邊界案例的錯誤處理
  • 更新文件並記錄發現

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

oyi77/1ai-skills

Turn a weekly changelog .md into a finished branded changelog video using HyperFrames. Use when the user provides a changelog/digest markdown and wants the weekly video, or says 'changelog video'. Self-contained — fonts, background, lexicon, and scripts ship in the skill. Produces square 1080, ~45-60s videos with animated brand mock-UIs.

oyi77/1ai-skills

The transition technique catalog for HyperFrames videos — five velocity-matched SEAMS (zoom-through, inverse zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus in-scene techniques (waterfall entry, nudge curve). Covers partial-travel velocity matching, Z scale-sign rule, size-scaled blur, the 10/65/25 slide ratio, and the 2-3 transition budget. Read before authoring any transition, text-beat handoff, or kinetic text entry.

oyi77/1ai-skills

Add captions/subtitles to talking-head or launch videos using HyperFrames. Use when the user wants embedded captions, verbatim caption rails, or cinematic text behind the subject. Covers the drop/rail/embed caption model, the overlay law (captions are NOT a reserved band), matte occlusion for embedded climaxes, and word-timestamp alignment from TTS output.

oyi77/1ai-skills

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video using HyperFrames. Use when the user wants a topic explainer, concept breakdown, how-to, or listicle with no product/website to capture. Every visual is invented per scene (typography, abstract graphics, diagrams, data-viz). Not a video built from a website (use hyperframes-product-launch-video).

oyi77/1ai-skills

The fallback HyperFrames workflow for anything that doesn't fit other skills — longer multi-scene pieces, brand/sizzle reels, title cards, static loops, freeform compositions. Input- and length-agnostic. Also the home of companion mode (co-create with the full toolbox). Use when no other HyperFrames skill matches, or when the user wants a freeform video.

oyi77/1ai-skills

Create short, unnarrated, design-led motion graphics (~under 10s) using HyperFrames. Use when the user wants kinetic type, stat/chart hits, logo stings, lower-thirds, animated tweets/headlines, or transparent overlay motion graphics. MP4 or transparent overlay output. Teaches seek-safe keyframe authoring and the 2-3 transition budget rule.

oyi77/1ai-skills

Turn a music track into a beat-synced HyperFrames video — lyric, slideshow, or kinetic promo. Use when the user provides an audio file, a video to pull audio from, or a mood brief for generated music. Music drives pacing. Teaches beat-map extraction, section-based scene planning, and audio-reactive visuals.

oyi77/1ai-skills

Create product launch videos from a URL, brief, or script using HyperFrames (HTML→MP4). Use when the user wants a product launch video, site tour, social clip featuring a product's own visuals, or marketing/promoting a product. Up to ~3 min (sweet spot 30-90s). Teaches the HyperFrames production loop: plan → write HTML → wire seekable animations → add media → lint → preview → render.

oyi77/1ai-skills

The Video Production Manager — manages ALL video production under 1ai-content. Delegates to HyperFrames, Remotion, AI video, and FFmpeg based on the task. Has memory via 1ai-hub brain, follows 1ai-rules, and reports to Content Director. Use when the user says 'make a video', 'create video', 'edit video', 'video strategy', or needs any video production work.

oyi77/1ai-skills

Agent skill at content/video/gen/SKILL.md

oyi77/1ai-skills

Use when track portfolio company KPIs, variances, returns analysis. Use when user says "monitor portfolio", "track KPIs", "portfolio returns".

oyi77/1ai-skills

Use when go-to-market planning — launch sequencing, channel strategy, audience building, PR outreach. Use when planning product launches, building launch checklists, or coordinating multi-channel campaigns.

相關技能