Communitygithub.com

MikeCheng1208/BattleTree

ファクターモデリングとポートフォリオ構築(マルコビッツ、ブラック・リッターマン、制約条件、ターンオーバー)

BattleTree とは?

このスキルは、ファクターモデリング、平均分散最適化(マルコビッツモデル)、ブラック・リッターマンモデル、制約付き最適化(カーディナリティ制約、ターンオーバー制約)を用いたポートフォリオ構築を支援します。主にClaude CodeなどのAIエージェント向けに設計されており、関連する知識ベースのドキュメントをオンデマンドで読み込むことで、専門的な処理を効率的に行えます。ユーザーは「ファクターモデル+マルコビッツ」によるファクターポートフォリオの構築、ブラック・リッターマンによる事前・事後分布の設定、アドバンスト最適化(多目的最適化、混合整数計画)を利用したカーディナリティやターンオーバーの制御が可能です。各モジュールは独立しており、必要な構築に応じて最小限の知識ベースをロードする設計になっています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MikeCheng1208/BattleTree/tree/HEAD/.agents/skills/advanced-math-trading-portfolio-factors

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

カバーする内容

  • ファクターモデル、平均分散、ブラック・リッターマン、ターンオーバー/制約条件、高度な最適化の例へのリンク。

ナビゲーション(オンデマンドロード)

  • docs/knowledge-base/domains/foundations/advanced-mathematics/factor-models.md
  • docs/knowledge-base/domains/foundations/advanced-mathematics/mean-variance-optimization-markowitz.md
  • docs/knowledge-base/domains/foundations/advanced-mathematics/black-litterman-model.md
  • docs/knowledge-base/domains/foundations/advanced-mathematics/advanced-optimization.md 内の関連セクション(MOO、MIP)

クイックワークフロー

  • ファクターポートフォリオを構築 → factor-models + Markowitz
  • ブラック・リッターマンの事前/事後分布の設定 → Black-Litterman MD
  • カーディナリティ/ターンオーバーを追加 → advanced-optimization の MOO/MIP を再利用

注意事項

  • ロードは必要な構築に絞って行うこと。

Individual skills in this repo

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

MikeCheng1208/BattleTree

Index-based file discovery using ABOUTME headers. Use INSTEAD of grep or Explore agent when searching for files by purpose or feature. Faster and more accurate than scanning code. Invoke this skill when user asks "which files handle X", "where is Y implemented", or when you need to find files related to a feature or task.

MikeCheng1208/BattleTree

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

MikeCheng1208/BattleTree

Analyze the CustomGPT.ai Labs Innovation workbook and cost tracking data to surface portfolio-level insights, trends, and recommendations for where to focus Innovation efforts.

MikeCheng1208/BattleTree

Personal meta-skill for Arach. Use this as the entry point to understand arach's projects, conventions, and available skills. Activates on "arach's projects", "what does arach work on", or when working in any arach/* repo.

MikeCheng1208/BattleTree

High-converting landing pages. Copy + design + implementation. Triggers: landing page, conversion page.

MikeCheng1208/BattleTree

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios,...

MikeCheng1208/BattleTree

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

MikeCheng1208/BattleTree

Minimalist, typography-focused portfolio design system inspired by neo-brutalist and Swiss design principles. Emphasizes bold typography, generous whitespace, monochromatic color schemes, and elegant simplicity for developer/designer portfolios.

MikeCheng1208/BattleTree

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

MikeCheng1208/BattleTree

Optimize project portfolio selection under constraints using mathematical optimization

MikeCheng1208/BattleTree

Detect and explain risk drift in lending portfolios over time using vintage analysis, migration matrices, and concentration metrics. Use when monitoring portfolio credit quality trends, preparing board risk reports, conducting stress testing, or when risk metrics deviate from appetite thresholds.

MikeCheng1208/BattleTree

Build a GitHub portfolio that gets you hired — curate 3-5 polished projects, craft compelling READMEs, deploy live demos, tell a coherent story across your repos, and align everything to AI-native development roles. Use when preparing your GitHub for job searches, deciding what to pin, or auditing your public presence.

関連スキル