跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 / 1000 字

此表单受 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 的全部技能

报告此技能的问题