okx-account
БесплатноЗапускает вложенные скриптыНе проверенRead-only OKX tracking: unified-account equity, perp positions, orders, fills, bills. Use when monitoring OKX without trading (e.g. account equity, current…
от Starchild-ai-agent★ 34 звезды на GitHubОб этом скилле
OKX Account (Read-Only)
Read-only OKX account tracker built on the official python-okx library.
Use it for account tracking, daily/weekly reports, risk alerts, and cashflow attribution.
How to Get an OKX API Key (Read-Only)
- Sign in at okx.com, top-right avatar → API
- Direct link: https://www.okx.com/account/my-api
- Create V5 API Key → complete 2FA verification
- Fill the form:
- API name: anything
- Passphrase: ⚠️ a brand-new password used to sign API requests, NOT your login password. Lose it and you can only delete the key and create a new one.
- Permissions: tick Read only, leave Trade / Withdraw off
- IP whitelist: leave empty
- Submit → immediately copy and save all three values:
API Key/Secret Key/Passphrase(Secret is shown only once) - Set them into this skill's environment variables
Reference: OKX official tutorial
Prerequisites
1) API key
In OKX API Management create a key with Read only. OKX requires three credentials: api_key / secret / passphrase (the password you set when creating the key — not the login password).
2) Environment variables
OKX_RO_API_KEY=...
OKX_RO_SECRET=...
OKX_RO_PASSPHRASE=...
3) Geo restriction (required)
OKX geo-blocks server IPs. Scripts default to the SC internal HK proxy:
HK_PROXY = "http://hk:[email protected]:8080"
Do not set a global HTTP_PROXY.
Scripts
python3 skills/okx-account/scripts/okx_account.py <action> [options]
python3 skills/okx-account/scripts/account_scenarios.py <scenario> [options]
Actions
summary: one-shot summaryaccount_balance/account_config/positions/position_risk/fee_rates/billsopen_orders/order_history/fills_historyfunding_balance/deposits/withdrawals/currencies/funding_rate
Scenarios
portfolio_snapshot: full account snapshotperp_risk: perpetual risk monitoring (margin ratio + unrealized loss thresholds)cashflow: deposits + withdrawals + 7d bills aggregationtrading_activity: recent fills activity by instType
Common usage
python3 skills/okx-account/scripts/okx_account.py summary
python3 skills/okx-account/scripts/account_scenarios.py portfolio_snapshot
python3 skills/okx-account/scripts/account_scenarios.py perp_risk --loss-threshold 5000
python3 skills/okx-account/scripts/account_scenarios.py cashflow --limit 100
python3 skills/okx-account/scripts/account_scenarios.py trading_activity --inst-types SPOT,SWAP
Notes
- The
passphraseis easy to forget — it is the password you set when creating the key, not your login password. - If you bound an IP whitelist when creating the key, either disable it or add the proxy egress IP.
- Use time-windowed pagination for high-volume fills.
Установить okx-account в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл okx-account?
Read-only OKX tracking: unified-account equity, perp positions, orders, fills, bills. Use when monitoring OKX without trading (e.g. account equity, current PnL, recent fills, withdrawal history, margin level).
Как установить скилл okx-account?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл okx-account запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic