okx/okx-cex-trade

Utiliza esta habilidad para operar en OKX: comprar/vender cripto, órdenes límite, futuros perpetuos, opciones, contratos de evento y órdenes algoritmo (TP/SL/trailing). Requiere credenciales API.

¿Qué es okx-cex-trade?

Esta habilidad permite a un agente de IA ejecutar operaciones de trading en el exchange OKX, cubriendo una amplia gama de instrumentos: spot, swaps perpetuos, futuros con entrega, opciones (calls/puts, griegas, volatilidad implícita) y contratos de evento (Sí/No, Sube/Baja). También soporta órdenes algoritmo como take-profit, stop-loss y trailing stop. Es útil para desarrolladores y usuarios que desean automatizar estrategias de trading, gestionar posiciones o participar en mercados de predicción directamente desde un agente conversacional. Funciona exclusivamente con credenciales API válidas y no debe usarse para consultar datos de mercado, balances o bots. La habilidad procesa instrucciones en lenguaje natural como 'compra BTC', 'vende ETH', 'coloca una orden límite', 'cierra mi posición' o 'muéstrame los contratos de evento disponibles', traduciéndolas a llamadas a la API de OKX.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/okx/agent-skills/tree/main/skills/okx-cex-trade

Installed? Explore more Productividad y colaboración skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace okx-cex-trade?

Usa esta habilidad cuando el usuario solicite 'comprar BTC', 'vender ETH', 'colocar una orden límite', 'cancelar mi orden', 'modificar mi orden', 'largo BTC perp', 'corto ETH swap', 'abrir una posición', 'cerrar una posición', 'establecer TP/SL', 'trailing stop', 'establecer apalancamiento', 'revisar mis órdenes', 'historial de ejecuciones', 'comprar/vender opción call/put', 'cadena de opciones', 'volatilidad implícita', 'VI', 'griegas de opciones (delta/gamma/theta/vega)', 'cobertura delta', 'ejecuciones de opciones', 'contrato de evento', 'comprar Sí/No', 'comprar Sube/Baja', 'BTC por encima', 'precio por encima', 'precio a 15 min', 'mercado de predicción', 'explorar contratos de evento', 'listar contratos de evento', 'mercados de predicción disponibles', o cualquier solicitud para explorar, colocar, cancelar o modificar órdenes de spot, swap, futuros, opciones o contratos de evento en OKX. Cubre trading spot, swap perpetuo, futuros con entrega, opciones (calls/puts, griegas, VI), contratos de evento (Sí/No, Sube/Baja) y órdenes algoritmo (TP/SL/trailing). Requiere credenciales API. NO usar para datos de mercado (okx-cex-market), saldos/posiciones (okx-cex-portfolio) o bots (okx-cex-bot).

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

okx/okx-cex-auth

Use this skill when the user wants to 'login/log in/sign in', 'authenticate', 'authorize', 'connect OKX account', 'set up credentials', 'first time setup', 'configure okx', '登录', '授权', '认证', '连接账户', '首次配置'. Also when any OKX CLI command fails with an auth error: 'Run okx auth login first', 'Session expired', 'not authenticated', 'requires_auth', '401 Unauthorized', 'token expired/not found', 'StorageNotFoundError', '会话过期', '未认证', '需要登录'. Also when the user asks about login status or the login was interrupted. Also when the user wants to install/update/check/remove the okx-auth binary — 'install/update/remove auth', 'download okx-auth', '安装/更新/卸载认证', 'auth binary status', 'Failed to spawn okx-auth'. Also use before using okx-cex-trade/portfolio/earn/bot for the first time. Do NOT use for market data queries (use okx-cex-market).

okx/okx-cex-bot

Manage Grid bots (spot/contract/coin-margined) and DCA Martingale bots (Spot DCA 现货马丁 / Contract DCA 合约马丁) on OKX. Covers create, stop, amend, monitor P&L, TP/SL, margin/investment adjustment, and AI-recommended parameters. Requires API credentials. Not for regular orders (okx-cex-trade), market data (okx-cex-market), or account info (okx-cex-portfolio).

okx/okx-cex-earn

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.

okx/okx-cex-market

Use this skill when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume, newly listed), mark price, index price, recent trades, instrument list, stock tokens, metals prices (gold, XAU, XAG), commodities (oil, OIL), forex rates (EUR/USD, EURUSDT), bond instruments, non-crypto assets, or any technical indicator query (RSI, MACD, EMA, Bollinger Bands, KDJ, SuperTrend, AHR999, BTC rainbow, and 70+ more). All commands are read-only and do NOT require API credentials. Do NOT use for account balance/positions (okx-cex-portfolio), placing/cancelling orders (okx-cex-trade), or bots (okx-cex-bot).

okx/okx-cex-portfolio

This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier', 'account config', 'max order size', 'how much can I buy', 'withdrawable amount', 'transfer funds', 'move USDT to trading account', or 'switch position mode'. Also use for '总资产', 'full balance', 'all assets', 'total holdings', 'net worth', 'how much do I have in total', 'show all my balances', 'all account balances', 'asset overview'. Requires API credentials. Do NOT use for market prices (use okx-cex-market), placing/cancelling orders (use okx-cex-trade), or grid/DCA bots (use okx-cex-bot).

okx/okx-cex-skill-mp

Use this skill when the user asks to: 'find a trading skill', 'search for skills', 'install a skill', 'add a skill', 'download a skill', 'browse skill marketplace', 'what skills are available', 'update a skill', 'check for skill updates', 'remove a skill', 'uninstall a skill', 'list installed skills', 'show my skills', 'skill categories', or any request to discover, install, update, or manage AI trading skills from the OKX Skills Marketplace. This skill covers searching, browsing categories, installing via CLI, downloading zip packages, checking for updates, and removing installed skills. Requires API credentials for marketplace API access. Do NOT use for placing orders (use okx-cex-trade), market data (use okx-cex-market), or bot management (use okx-cex-bot).

okx/okx-cex-smartmoney

Smart Money analytics on OKX: leaderboard traders, position tracking, trade records, aggregated consensus signals, and signal history. Use this skill when the user asks about 聪明钱, smart money, 牛人榜, leaderboard, top traders, 带单员, lead traders, 交易员排行, trader ranking, trader positions, trader PnL, 交易员持仓, 交易员收益, smart money signal, 聪明钱信号, long/short ratio, 多空比, capital flow, 资金流向, position conviction, 仓位强度, entry price distribution, smart money overview, 聪明钱总览, signal history, 信号历史, trader search, 搜索交易员, who is trading BTC, 谁在交易BTC, recommend traders, 推荐交易员, best traders, top performers.

okx/okx-sentiment-tracker

Use this skill when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news', 'Bitcoin halving', 'is BTC bullish or bearish', 'coin sentiment', 'sentiment trend', 'trending coins', 'top bullish coins', 'bearish sentiment', 'social buzz', 'market mood', 'fear and greed', 'full article', 'read more', or any request for crypto news, market intelligence, sentiment analysis, or social trend data. Requires API credentials. Do NOT use for market prices/candles (okx-cex-market), placing orders (okx-cex-trade), or account info (okx-cex-portfolio).

Skills relacionados