okx-cex-portfolio

Manage OKX account balances, positions, and fund transfers via API.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/erongcao/ai-model-team --skill okx-cex-portfolio-erongcao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-cex-portfolio
Source: https://github.com/erongcao/ai-model-team/tree/main/skills/okx-agent-trade-kit/skills/okx-cex-portfolio
Command: npx skills add https://github.com/erongcao/ai-model-team --skill okx-cex-portfolio-erongcao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @okx_ai/okx-trade-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive interface for managing your OKX trading account, including checking balances, viewing positions, transferring funds, and more, without the need for manual navigation through the OKX platform.

Core Features & Use Cases

  • Account Balances: View the current balance of your trading and funding accounts.
  • Positions: Inspect open and closed positions, along with realized and unrealized P&L.
  • Fund Transfers: Move funds between your funding and trading accounts.
  • Account Settings: Access and modify your account configuration.
  • Use Case: If you need to check your account balance, view your open positions, or transfer funds, this Skill allows you to do so quickly and efficiently without leaving your current workflow.

Quick Start

Check your account balance by typing: check my account balance

Frequently Asked Questions about okx-cex-portfolio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my OKX trading account balance without logging into the platform?

You can check your OKX trading account balance by requesting it directly within your workflow, retrieving current balances for both trading and funding accounts without manual platform navigation.

How do I track open positions and view P&L on OKX?

Track open and closed OKX positions by inspecting them through the interface, which displays both realized and unrealized profit and loss alongside your current position details.

Can I transfer funds between my OKX funding and trading accounts?

Yes, you can transfer funds between your OKX funding and trading accounts by executing a fund transfer command, moving capital directly without leaving your current workflow.

Do I need API credentials to manage my OKX account settings and configuration?

Yes, API credentials are required to manage your OKX account settings and configuration, operating securely within the OKX trading platform framework to access and modify account parameters.

What's the best way to automate OKX account management tasks like balance inquiries and transfers?

Automating OKX account management tasks is best handled by using a CLI interface, executing balance inquiries, position tracking, and fund transfers directly through scripted commands.

Why do I need the OKX trade CLI dependency to check my account balance?

The OKX trade CLI dependency is required because it provides the foundational command-line interface framework needed to authenticate and interact with the OKX trading platform API.