Communitygithub.com

oyi77/1ai-skills

포트폴리오 관리자 — 자본 배분, 리스크 관리, 트레이딩 전략 성과 추적 기능을 제공합니다.

1ai-skills란 무엇인가요?

이 스킬은 포트폴리오 매니저 역할을 수행하며, 여러 트레이딩 전략에 걸친 자본 배분과 리스크 관리를 지원합니다. IRR, MOIC, 샤프 비율, 승률 등 주요 성과 지표를 추적하고, 페이퍼 트레이딩에서 실전 및 스케일 트레이딩으로의 단계적 전환(Phase Gate)을 구현합니다. 켈리 기준(Kelly Criterion)과 같은 위험 기반 포지션 사이징 공식을 제공하며, 투자자 보고서 생성 기능도 포함합니다. 트레이딩 플랜 준수, 손실 조기 차단, 저널링 등 규율 규칙을 강화하여 감정적 의사결정을 방지합니다. CLI, IDE 플러그인, 또는 AI 에이전트 환경에서 사용 가능하며, 실행 전에 반드시 리스크 평가와 사전 조건 검증을 거치도록 설계되었습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oyi77/1ai-skills/tree/HEAD/trading/portfolio-manager

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

포트폴리오 매니저

사용 시기

트리거 구문:

  • "여러 트레이딩 전략 간 자본 배분 관리"

  • "퀀트 펀드의 성과 지표(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)에 기반한 포지션 사이징
  • 최대 일일 손실 한도 설정

주요 지표

  • 승률 및 수익 계수(Profit Factor)
  • 샤프 비율 및 최대 낙폭(Max Drawdown)
  • 평균 위험-보상 비율
  • 거래당 기대값(Expectancy)
  • 벤치마크 대비 상관관계

규율 규칙

  • 트레이딩 플랜을 따를 것 — 충동적인 거래 금지
  • 손실은 조기에 자르고, 수익은 키울 것
  • 모든 거래를 저널에 기록하고 검토할 것
  • 손실 후 복수 매매 금지
  • 연속 손실 후에는 휴식 취할 것

합리화 방지 표

합리화현실
"손실은 나중에 자를게"나중은 오지 않는다. 거래 진입 전에 손절가를 설정하라.
"이번에는 다르다"결코 다르지 않다. 전략을 따르고 감정을 따르지 마라.
"저널을 쓸 필요 없어"저널은 행동 패턴을 드러낸다. 모든 거래를 기록하라.

프로세스

  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.

관련 스킬