okx-cex-trade
Use this skill when the user asks to 'buy BTC', 'sell ETH', 'place a limit order', 'cancel my order', 'amend my order', 'long BTC perp', 'short ETH swap', 'open a position', 'close a position', 'set TP/SL', 'trailing stop', 'set leverage', 'check my orders', 'fill history', 'buy/sell call/put option', 'option chain', 'implied volatility', 'IV', 'option Greeks (delta/gamma/theta/vega)', 'delta hedge', 'option fills', 'event contract', 'buy Yes/No', 'buy Up/Down', 'BTC above', 'price above', '15mi
Security Assessment
About okx-cex-trade
The 'okx-cex-trade' skill provides users with the ability to interact with the OKX exchange for various trading operations. This skill addresses the need for automated trading, order management, and position monitoring in the crypto market. It allows users to place, amend, cancel, and monitor spot, perpetual swap, futures, options, and event contract orders directly through the command line interface (CLI). By utilizing API credentials, users can automate their trading strategies and streamline their trading experience on the OKX platform. With this skill, traders can efficiently manage their trades, risk, and positions in real-time without having to manually interact with the exchange’s website or UI.
Key features of this skill include the ability to manage orders for spot, perpetual swap, delivery futures, and options, with support for binary outcome event contracts like Yes/No and Up/Down. It also provides support for managing complex order types like take-profit/stop-loss (TP/SL), trailing stops, and setting leverage for positions. Traders can access advanced functionality such as querying option chains, Greeks (delta, gamma, theta, vega), and implied volatility (IV). Additionally, the skill supports fully automated trading, including the management of leverage and positions. The skill requires API credentials for authentication and supports both OAuth and API Key authentication modes.
The target users of this skill are active cryptocurrency traders and investors using the OKX exchange. It is particularly beneficial for users looking for an efficient and automated method of managing orders across multiple asset types, including spot trading, futures, and options. It is ideal for algorithmic traders, those managing multiple trades at once, and users who want to manage advanced trading strategies like delta hedging and trailing stops without manually navigating the exchange platform. This skill is also useful for users working in markets that require high-frequency trade execution and monitoring, such as the event contracts and options markets on OKX.
FAQ
How do I set up the 'okx-cex-trade' skill?
To set up the skill, you need to install the OKX CLI by running 'npm install -g @okx_ai/okx-trade-cli'. After installing, configure your API credentials using 'okx config init' and follow the OAuth flow to authenticate your account.
Can I use the 'okx-cex-trade' skill for market data or balance management?
No, this skill is designed specifically for order management and trading activities. For market data, balances, or portfolio management, you would need to use other skills such as 'okx-cex-market' or 'okx-cex-portfolio'.
What are the system requirements for using this skill?
This skill requires the installation of the OKX CLI, which is installed via npm. Additionally, API credentials from OKX are required for authentication. Ensure that your system has Node.js and npm installed.
Is there a way to test this skill without using real funds?
Yes, you can test the skill in demo mode by running 'okx --demo spot orders'. This allows you to simulate trading without risking real funds.
All Files
9 filesInstall okx-cex-trade
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
okx/agent-skills