Communitygithub.com

baneeishaque/ljt-520_openclaw-backup

완전히 로컬에서 실행되는 투자 포트폴리오 트래커입니다. 모든 데이터는 ~/.portfolio-tracker/에 저장됩니다.

ljt-520_openclaw-backup란 무엇인가요?

이 스킬은 완전히 로컬 환경에서 실행되는 투자 포트폴리오 추적기입니다. 모든 데이터는 사용자의 로컬 파일 시스템에 안전하게 저장되어 프라이버시를 보장합니다. 주식, 암호화폐, 현금 등 다양한 자산 유형을 지원하며, CLI 도구를 통해 포트폴리오 데이터를 로드, 저장, 가격 갱신 및 거래소/지갑 동기화를 수행합니다. AI 어시스턴트(예: Claude Code, Cursor, Codex)와의 통합을 염두에 두고 설계되어, 자연어 명령으로 포트폴리오를 조회하고 관리할 수 있습니다. Binance, Interactive Brokers, EVM 블록체인 지갑과의 동기화를 지원하며, 데이터는 JSON 형식으로 저장되어 확장성이 뛰어납니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/baneeishaque/ljt-520_openclaw-backup/tree/HEAD/skills/aigeneralstore/portfolio-tracking-skill

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

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

문서

포트폴리오 트래커 스킬

완전히 로컬에서 실행되는 투자 포트폴리오 트래커입니다. 모든 데이터는 ~/.portfolio-tracker/에 저장됩니다.

아키텍처

  • 데이터: ~/.portfolio-tracker/data.json (포트폴리오, 자산, 가격)
  • 설정: ~/.portfolio-tracker/config.json (API 키, 지갑 주소, 사용자 프로필)
  • 스크립트: TypeScript CLI 도구 (<skill-path>/scripts/), npx tsx로 실행

첫 설정

스크립트를 실행하기 전에 의존성을 설치해야 합니다:

npm install --prefix <skill-path>/scripts

<skill-path>를 이 스킬이 실제로 설치된 경로로 바꾸세요.

스크립트 작동 방식

각 스크립트는 독립적인 CLI 도구입니다. 다음과 같이 실행합니다:

npx tsx <skill-path>/scripts/<script>.ts <명령어> [인수]

필요시 스크립트는 stdin에서 데이터를 읽고 stdout에 JSON을 출력합니다.

data-store.ts

  • load — 포트폴리오 데이터 읽기 (없으면 기본값 생성)
  • save — 포트폴리오 데이터 저장 (stdin에서 JSON 입력)
  • load-config — 설정 읽기
  • save-config — 설정 저장 (stdin에서 JSON 입력)

fetch-prices.ts

  • crypto <심볼> — 암호화폐 가격 조회 (Binance → CoinGecko)
  • stock <심볼> — 주식 가격 조회 (Yahoo Finance)
  • fx — USD/CNY/HKD 환율 조회
  • historical <심볼> — 3년 월간 과거 데이터 조회
  • search <검색어> — 이름/심볼로 자산 검색
  • refresh — 가격 일괄 갱신 (stdin에서 자산 JSON 입력)

binance-sync.ts

  • sync <apiKey> <apiSecret> — 모든 Binance 잔고 조회 (6개 계정 유형)
  • validate <apiKey> <apiSecret> — API 자격 증명 유효성 검사

ibkr-sync.ts

  • sync <token> <queryId> — Flex Query를 통해 IBKR 포지션 조회
  • validate <token> <queryId> — IBKR 자격 증명 유효성 검사

blockchain-sync.ts

  • sync <주소> [체인] — 지갑 잔고 조회 (단일 체인 또는 5개 EVM 체인 전체)
  • validate <주소> — EVM 주소 유효성 검사

데이터 타입

자산

{
  "id": "고유-id",
  "type": "CRYPTO | USSTOCK | HKSTOCK | ASHARE | CASH",
  "symbol": "BTC",
  "name": "Bitcoin",
  "quantity": 1.5,
  "avgPrice": 40000,
  "currentPrice": 50000,
  "currency": "USD | CNY | HKD",
  "transactions": [],
  "source": { "type": "manual | binance | wallet | ibkr" }
}

포트폴리오

{
  "id": "고유-id",
  "name": "Main",
  "assets": [...]
}

워크플로 패턴

포트폴리오 조회

  1. data-store.ts load로 데이터 로드
  2. currentPortfolioId로 현재 포트폴리오 찾기
  3. 자산별 quantity * currentPrice로 총 가치 계산
  4. exchangeRates를 사용하여 표시 통화로 변환
  5. 포맷된 표로 표시

자산 추가

  1. 데이터 로드
  2. fetch-prices.ts search <검색어>로 자산 검색
  3. fetch-prices.ts crypto/stock <심볼>로 현재 가격 조회
  4. 생성된 고유 ID로 현재 포트폴리오에 자산 추가
  5. 데이터 저장

가격 갱신

  1. 데이터 로드
  2. 현재 포트폴리오 자산을 stdin을 통해 fetch-prices.ts refresh로 파이프
  3. fetch-prices.ts fx도 실행하여 환율 가져오기
  4. 각 자산의 currentPrice와 exchangeRates 업데이트
  5. lastPriceRefresh를 현재 ISO 타임스탬프로 설정
  6. 데이터 저장

거래소/지갑 동기화

  1. 설정 로드하여 자격 증명 가져오기
  2. 적절한 동기화 스크립트 실행
  3. 결과 병합: 기존 자산 업데이트 (symbol+source로 매칭), 새 자산 추가
  4. 데이터 저장

명령어

사용 가능한 사용자 명령어:

  • /portfolio — 포트폴리오 조회 및 관리
  • /prices — 모든 가격 갱신
  • /setup — API 키 및 지갑 설정
  • /sync-binance — Binance에서 동기화
  • /sync-ibkr — Interactive Brokers에서 동기화
  • /sync-wallet — 블록체인 지갑에서 동기화
  • /advise — AI 투자 조언 받기

Individual skills in this repo

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

baneeishaque/ljt-520_openclaw-backup

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.

baneeishaque/ljt-520_openclaw-backup

Balance tracking, order overview, and market data across exchanges using OpenMM.

baneeishaque/ljt-520_openclaw-backup

Balance tracking, order overview, and market data across exchanges using OpenMM.

baneeishaque/ljt-520_openclaw-backup

Discover and register autonomous AI agents. Use when: browsing the agent registry, submitting an agent for verification, or embedding agent badges. NOT for: general web search or agent capability analysis.

baneeishaque/ljt-520_openclaw-backup

Connect to a user's investment accounts via SnapTrade SDK and generate portfolio reports (e.g., daily total value). Use when the user wants SnapTrade-based brokerage connectivity (Webull, E*TRADE, etc.), connection portal links, account registration, or automated portfolio summaries.

baneeishaque/ljt-520_openclaw-backup

Query land ownership, leases, landlord info, and land payments. Write operations for payment management and lease renewals.

baneeishaque/ljt-520_openclaw-backup

Build high-converting landing pages and product sales pages using proven 10-section conversion frameworks. Includes Hero → Social Proof → Benefits → CTA flow for both lead capture and e-commerce pages.

baneeishaque/ljt-520_openclaw-backup

Generate complete, responsive HTML landing pages from a product name, tagline, and description. Clean CSS, mobile-ready, with hero, features, CTA, and footer sections.

baneeishaque/ljt-520_openclaw-backup

Optimize conversion pages for paid traffic from Meta (Facebook/Instagram), Google Ads, TikTok Ads, YouTube Ads, Amazon Ads, and Shopify Ads journeys.

baneeishaque/ljt-520_openclaw-backup

Perform a structured conversion rate optimization (CRO) audit of a landing page. Use when a user shares a landing page URL, pastes their page copy, describes their page content, or uploads a screenshot and asks for a conversion audit, CRO review, conversion analysis, landing page feedback, or wants to know why their page isn't converting. Produces a scored 8-factor audit (0–80 total), prioritized fix list with quick wins and strategic recommendations, and an executive summary. Covers: headline clarity, supporting copy, social proof, CTA effectiveness, visual hierarchy, trust signals, mobile/speed signals, and offer clarity.

baneeishaque/ljt-520_openclaw-backup

Generate landing page content from PRD — hero section, features, A/B headline variants, CTA, and SEO meta tags. Use when user says "create landing page", "write landing copy", "hero section", "A/B headlines", or "landing content". Can scaffold actual pages for astro-static. Do NOT use for SEO auditing (use /seo-audit).

baneeishaque/ljt-520_openclaw-backup

Build high-converting landing pages with proven structure, persuasive copy, and conversion optimization.

baneeishaque/ljt-520_openclaw-backup

Track a crypto portfolio across Binance, Hyperliquid, and Polymarket. Calculates NAV, unrealized P&L, daily drawdown, win rate, and equity curve. Use when you need portfolio tracking, NAV calculation, drawdown monitoring, or multi-venue position management.

관련 스킬