Loading...
Loading...
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).
npx skill4agent add starchild-ai-agent/official-skills okx-accountpython-okxAPI KeySecret KeyPassphraseapi_keysecretpassphraseOKX_RO_API_KEY=...
OKX_RO_SECRET=...
OKX_RO_PASSPHRASE=...HK_PROXY = "http://hk:x@sc-vpn.internal:8080"HTTP_PROXYpython3 skills/okx-account/scripts/okx_account.py <action> [options]
python3 skills/okx-account/scripts/account_scenarios.py <scenario> [options]summaryaccount_balanceaccount_configpositionsposition_riskfee_ratesbillsopen_ordersorder_historyfills_historyfunding_balancedepositswithdrawalscurrenciesfunding_rateportfolio_snapshotperp_riskcashflowtrading_activitypython3 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,SWAPpassphrase