1247/orderly-data/SKILL.md
Fetch Orderly Network metrics for content creation, reporting, and analysis.
npx skillsauth add starchild-ai-agent/community-skills @1247/orderly-dataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fetch Orderly Network metrics for content creation, reporting, and analysis.
Two APIs with different auth:
| API | Base URL | Auth |
|-----|----------|------|
| Data API (internal metrics) | https://data-api.orderly.network/orderly/api/v1 | X-API-KEY header with ORDERLY_DATA_API_KEY from .env |
| Public API (on-chain stats) | https://api.orderly.org/v1/public | No auth required |
ORDERLY_DATA_API_KEY)| Endpoint | Description | Key Fields |
|----------|-------------|------------|
| GET /metrics/overview?range=weekly | Weekly/monthly KPIs over time | avg_daily_volume, avg_daily_revenue, avg_new_users, avg_active_users |
| GET /metrics/volume-segments | Volume by segment (B2B/B2C/MM) | b2b_volume, b2c_volume, mm_volume |
| GET /metrics/stake-users | $ORDER staker count | unique_stakers |
| GET /metrics/stake-vs-supply | Staked vs circulating | total_staked, circulating_supply |
| GET /metrics/omnivault-tvl | TVL by vault (weekly) | total_tvl, vault breakdowns |
| GET /distributors/stats | All distributor stats | invitee_count, revenue_share_30d, volume_30d |
| GET /distributors/invitees?distributor_id=X | Invitees for a distributor | dex_name, volume, revenue |
| GET /data/summary | API health + DB stats | status |
range parameter: Use weekly or monthly for /metrics/overview.
| Endpoint | Description | Key Fields |
|----------|-------------|------------|
| GET /balance/stats | Total platform holdings | total_holding (USDC TVL) |
| GET /volume/stats | Volume aggregates | perp_volume_ytd, perp_volume_ltd, perp_volume_last_30_days |
| GET /funding_rates | All perp funding rates | est_funding_rate, last_funding_rate per symbol |
| GET /funding_rate/{symbol} | Single symbol funding | e.g. PERP_BTC_USDC |
| GET /trading_rewards/epoch_data | $ORDER reward epochs | epoch_id, reward_status, r_major, r_alts |
| GET /info | All trading pairs/instruments | symbol specs, tick sizes |
| GET /futures | Futures contract info | contract details |
| GET /token | Supported tokens | token list |
| GET /chain_info | Supported chains | chain IDs, RPCs |
import os, requests
# Data API (authed)
DATA_BASE = "https://data-api.orderly.network/orderly/api/v1"
API_KEY = os.environ["ORDERLY_DATA_API_KEY"]
headers = {"X-API-KEY": API_KEY}
overview = requests.get(f"{DATA_BASE}/metrics/overview", params={"range": "weekly"}, headers=headers).json()
# Public API (no auth)
PUB_BASE = "https://api.orderly.org/v1/public"
volume = requests.get(f"{PUB_BASE}/volume/stats").json()
balance = requests.get(f"{PUB_BASE}/balance/stats").json()
For a quick Orderly health snapshot, pull these three:
GET /volume/stats → perp_volume_last_30_days, perp_volume_ytdGET /balance/stats → total_holdingGET /metrics/overview?range=weekly → latest week's avg_daily_volume, avg_new_users{"detail": "Invalid API key"} on bad auth{"success": false, "code": -1106, "message": "..."} on bad paramstools
TQX (tqx.trade) HK/US stock quant workflow via tqx-cli: cross-sectional factor analysis, event-driven strategy backtests on the panda_backtest engine, and agent-driven automated paper trading. Use when the user wants to run factor IC/IR analysis, backtest a Python trading strategy on Hong Kong or US stocks, or set up agent-automated trading (e.g. "backtest a moving-average strategy on AAPL", "analyze a momentum factor on HK stocks", "let the agent trade my paper account").
tools
中学物理实验教学参赛方案套件。包含四个完整实验(单摆测g、声悬浮测声速、向心力定量演示仪、电磁阻尼定量研究),每套含固件源码、3D打印图纸、教学PPT、教学文稿、采购清单、调试手册、视频分镜脚本、模拟器。Use when a teacher/student needs a complete, classroom-ready physics experiment package for competition or teaching.
development
End-to-end blog management for AI agents. Write, import, build, preview, and publish articles using the blog template. Covers draft workflow, article import, SEO, OG images, and deployment.
development
ESP8266/ESP32 + 磁簧开关/霍尔传感器 单摆测重力加速度实验套件。 硬件搭建→固件烧录→数据采集→Web仪表盘→g值计算→教学文档,一站式完成。 Use when the user wants to build a pendulum g-measurement experiment, measure gravity with a micro-controller, or needs a complete physics experiment package with hardware + firmware + dashboard + teaching materials.