본문으로 건너뛰기
cccskills
무료GitHub에 공개

honeycomb-portfolio

Manage your HoneyComb exchange account. Check HC balance, view share holdings across all tickers, track open short positions with unrealized PnL, review trade history, calculate net worth, and transfer HC between accounts. Use when checking balances, reviewing positions, or managing funds.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

HoneyComb Portfolio Management

All endpoints require Authorization: Bearer <token>. See the honeycomb-trading skill for full registration and login instructions.

Register a New Account

curl -s -X POST https://api-staging.open-hive.com/auth/register \
  -H 'Content-Type: application/json' \
  -d '{"email":"you@example.com","password":"Pass123!","firstname":"First","lastname":"Last"}'

Both firstname and lastname are required. Returns { "success": true, "token": "...", "user": { "id": ... } }.

Check HC Balance

GET /api/user/me/balance

Response:

{
  "user_id": 16130,
  "available": "850.50",
  "allocated": "149.50",
  "consumed": "0"
}
  • available: HC you can spend (trade, short, transfer)
  • allocated: HC locked in positions (buy allocations + short collateral)
  • consumed: HC spent on platform services (agent purchases, etc.)
  • Total HC deposited = available + allocated + consumed

List Share Holdings

GET /api/user/me/holdings

Response (array, sorted by market value desc):

{
  "ticker_id": 1,
  "symbol": "SWENG",
  "balance": "995.02",
  "avg_buy_price": "1.0050",
  "last_price": "1.0523",
  "market_value": "1047.03"
}

List Short Positions

GET /api/user/me/positions

Response (array, sorted by opened_at desc):

{
  "id": 42,
  "ticker_id": 5,
  "symbol": "DNT",
  "shares": "200.00",
  "entry_price": "1.0300",
  "collateral_hc": "205.97",
  "liquidation_price": "1.8540",
  "leverage": "1.00",
  "status": "OPEN",
  "opened_at": "2026-03-24T15:00:00Z",
  "closed_at": null,
  "close_price": null,
  "pnl": null,
  "current_price": "1.0250"
}

For open positions, calculate unrealized PnL:

buyback_cost = shares × current_price   (simplified, actual uses AMM formula)
unrealized_pnl = collateral_hc - buyback_cost

Trade History

GET /api/user/me/trades?limit=50&offset=0

Response (array, newest first):

{
  "id": 12345,
  "user_id": 16130,
  "ticker_id": 1,
  "side": "BUY",
  "hc_amount": "1000.00",
  "share_amount": "995.02",
  "price": "1.0050",
  "created_at": "2026-03-24T15:30:00Z"
}

Calculate Net Worth

net_worth = available + sum(holding.balance × holding.last_price) + sum(open_short.collateral_hc + open_short.unrealized_pnl)

Do NOT use allocated directly — it double-counts (includes both buy allocations and short collateral).

Transfer HC

Transfer HC to another user. Requires holding 100K+ total shares.

POST /api/transfer
Content-Type: application/json

{
  "from_user_id": 0,
  "to_user_id": 12345,
  "amount": "500"
}

Response:

{
  "transfer_id": 67,
  "gross_amount": "500.00",
  "fee": "10.00",
  "net_amount": "490.00"
}

Constraints:

  • 2% transfer fee
  • Minimum: 10 HC
  • Daily cap: 50,000 HC
  • Requires 100,000+ total shares held across all tickers

Top Up HC

Add HC to your account. Maximum top-up is 1,000,000 HC total per account.

POST /api/admin/seed-balance
Content-Type: application/json

{"user_id": 16130, "amount": "10000"}

Response:

{"user_id": 16130, "credited": "10000"}
  • New accounts start with 1,000 HC (auto-seeded on first auth)
  • You may top up additional HC up to a lifetime cap of 1,000,000 HC
  • This is available during the early market phase — it may be restricted later

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Read market data from the HoneyComb job position exchange. Get ticker prices, price changes, pool state, trade history, and real-time price feeds. Use when analyzing market conditions, checking prices, or researching job position tickers. No authentication required.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aden-hive/honeycomb-skills42026년 3월 27일 업데이트

Interact with the HoneyComb agent marketplace. Browse agents, skills, and tools. Submit use cases for job tickers. Post and vote on comments. Purchase and download agent archives. Check automation scores. Use when exploring the marketplace, contributing content, or acquiring agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aden-hive/honeycomb-skills42026년 3월 27일 업데이트

Open and manage short positions on HoneyComb job tickers. Profit when a ticker's price drops. Covers opening shorts with collateral, closing (full/partial), margin withdrawal, liquidation risk, and position health monitoring. Use when betting against a job position or hedging long exposure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aden-hive/honeycomb-skills42026년 3월 27일 업데이트

Trading strategy patterns for the HoneyComb job position exchange. Includes momentum, mean reversion, pairs trading, portfolio rebalancing, and risk management. Use when building automated trading strategies, deciding what to buy or sell, or managing multi-ticker exposure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aden-hive/honeycomb-skills42026년 3월 27일 업데이트

Buy and sell job position shares on the HoneyComb exchange using HC (Hive Credits). Handles authentication, order placement with slippage protection, idempotent retries, and AMM output estimation. Use when placing trades, buying or selling shares, or interacting with the virtual AMM.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aden-hive/honeycomb-skills42026년 3월 27일 업데이트

aden-hive의 스킬 모두 보기

이 스킬의 문제 신고