用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill milaex命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | milaex |
| description | Unified crypto market data API and scripts for exchanges, markets, tickers, OHLCV, and orderbooks. |
| homepage | https://api.milaex.com/api-docs/index.html |
| metadata | {"clawdbot":{"emoji":"📈","requires":{"bins":["python3"],"env":["MILAEX_API_KEY"]}}} |
Use this skill for crypto data-related searches that need real-time or normalized market data across multiple exchanges using the Milaex unified REST API.
Required env vars:
MILAEX_API_KEY (sent as x-api-key)This lets Clawdbot inject the env var when running the skill.
Edit ~/.clawdbot/openclaw.json:
{
"skills": {
"entries": {
"milaex": {
"enabled": true,
"env": {
"MILAEX_API_KEY": "..."
}
}
}
}
}
export MILAEX_API_KEY="..."
These scripts map to the following Milaex endpoints:
GET /api/v1/exchangeGET /api/v1/exchange/markets?exchange=GET /api/v1/exchange/ticker?exchange=&base_name="e_name=GET /api/v1/exchange/tickers?exchange=&symbols=GET /api/v1/exchange/ohlcv?exchange=&base_name="e_name=GET /api/v1/exchange/orderbook?exchange=&base_name="e_name=GET /api/v1/exchange/orderbook/complete?exchange=&base_name="e_name=GET /api/v1/exchangeGET /api/v1/exchange/markets?exchange=GET /api/v1/exchange/ticker?exchange=&base_name="e_name=GET /api/v1/exchange/tickers?exchange=&symbols=GET /api/v1/exchange/ohlcv?exchange=&base_name="e_name=GET /api/v1/exchange/orderbook?exchange=&base_name="e_name=All commands print JSON to stdout. Rate limit headers (when present) print to stderr.
python3 skills/milaex/scripts/list_exchanges.py
# or
bash skills/milaex/bin/list_exchanges.sh
python3 skills/milaex/scripts/list_markets.py --exchange binance
python3 skills/milaex/scripts/get_ticker.py --exchange binance --symbol BTC/USDT
python3 skills/milaex/scripts/get_tickers.py --exchange binance
python3 skills/milaex/scripts/get_tickers.py --exchange binance --symbols "BTC/USDT,ETH/USDT"
Note: Milaex v1 OpenAPI exposes OHLCV by exchange/base_name/quote_name. The script accepts --timeframe for forward-compat but does not send it (to avoid 400s).
python3 skills/milaex/scripts/get_ohlcv.py --exchange binance --symbol BTC/USDT --limit 200
python3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --limit 50
python3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --complete
requests.Install dependency if needed:
python3 -m pip install --user requests
This is a small smoke test that verifies unauthorized handling using a dummy key. Some deployments return 401, others return 404 with an "Api Key not found" message.
MILAEX_API_KEY=dummy python3 skills/milaex/scripts/test_unauthorized.py