okx-cex-earn

okx cex earn

okx 156 ↓ 7.4k MIT updated 26d ago
Claude Code
View source ↗

What it does

  • config show --json has any profile with a non-empty apikey field → API Key mode. Proceed.
  • No API-key profile AND auth status --json returns "status":"loggedin" → OAuth mode. Proceed.
  • No API-key profile AND "status":"pending" — login is in progress, wait for it to complete.
  • No API-key profile AND "status":"notloggedin" — stop, load okx-cex-auth skill and follow login steps, wait for completion.
  • API Key users: use --profile <live-profile> (the profile without demo=true).
  • OAuth users: no flag needed (live is the default).
  • Query balance / history / rates → READ command, proceed directly.

Requirements & configuration

  • config show --json has any profile with a non-empty apikey field → API Key mode. Proceed.
  • API Key users: use --profile <live-profile> (the profile without demo=true).
  • | earn savings rate-history | READ | Required | Simple Earn lending rates and fixed-term offers (require auth) |
  • DCD does not support demo/simulated trading mode. Always use live mode (API Key: --profile <live-profile>; OAuth: no flag needed).

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

okx cex earn

Source

Repository: https://github.com/okx/agent-skills

okx-cex-earn FAQ

What does the okx-cex-earn skill do?

Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI. Use this skill whenever the user wants to check earn balances, browse flash-earn projects, subscribe or redeem earn products, view or set lending rates, monitor on-chain staking orders, interact with dual investment structured products, or manage auto-earn — even if phrased casually as 活期赚币, 定期赚币, 闪赚, 赚币, 申购, 赎回, 链上赚币, 质押, 理财, 双币赢, 双币理财, 双币申购, 高卖, 低买, dual investment, DCD, flash earn, buy low, sell high structured product, earn with target price, 目标价, 自动赚币, auto earn, auto-earn, 自动借出, 自动质押, auto lend, auto staking, USDG earn, USDG 赚币, 闲置资金自动理财, fixed earn, fixed deposit, term deposit, 定期理财, 定期. Also use when the user asks about idle funds and whether to earn on them. config show --json has any profile with a non-empty apikey field → API Key mode. Proceed. No API-key profile AND auth status --json returns "status":"loggedin" → OAuth mode. Proceed.

What does okx-cex-earn require?

config show --json has any profile with a non-empty apikey field → API Key mode. Proceed. API Key users: use --profile <live-profile> (the profile without demo=true). | earn savings rate-history | READ | Required | Simple Earn lending rates and fixed-term offers (require auth) | DCD does not support demo/simulated trading mode. Always use live mode (API Key: --profile <live-profile>; OAuth: no flag needed).

How do I install okx-cex-earn?

Run: npx -y skills add https://github.com/okx/agent-skills --skill okx-cex-earn --agent claude-code — the source lives at github.com/okx/agent-skills.

Maintain okx-cex-earn?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

okx-cex-earn on getagentictools
[![okx-cex-earn on getagentictools](https://getagentictools.com/badge/skills/okx-agent-skills-okx-cex-earn.svg)](https://getagentictools.com/skills/okx-agent-skills-okx-cex-earn?ref=badge)
npx agentictools info skills/okx-agent-skills-okx-cex-earn

The second line is the CLI lookup for this page — handy in READMEs and docs.