weex-trading
WEEX Futures exchange integration. Trade USDT-M perpetual futures with up to 125x leverage on WEEX.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bowen31337/weex-trading-skillsWhat This Skill Does
The weex-trading skill is a comprehensive toolkit for integrating USDT-Margined perpetual futures trading directly into your AI agent's workflow. It serves as a bridge between high-frequency market data and automated execution logic, allowing agents to interact with the WEEX exchange API. The skill provides full lifecycle coverage for trading, including public market data retrieval, private account management, position monitoring, and advanced order execution. It supports up to 125x leverage, making it suitable for both conservative hedging strategies and aggressive trading algorithms. By leveraging shell-based commands, this skill is architecture-agnostic and can be deployed in any environment that supports standard HTTP requests and openssl for HMAC-SHA256 request signing.
Installation
To install this skill, use the ClawHub command-line tool:
clawhub install openclaw/skills/skills/bowen31337/weex-trading-skills
Ensure you have your WEEX API credentials ready. You will need to export them as environment variables: WEEX_API_KEY, WEEX_API_SECRET, and WEEX_PASSPHRASE. If you are using a non-standard endpoint, define WEEX_BASE_URL accordingly.
Use Cases
- Automated Algorithmic Trading: Use an LLM to analyze technical indicators or sentiment and trigger entry/exit orders based on real-time market data.
- Portfolio Monitoring: Create an agent that periodically checks your margin health and sends alerts or automatically reduces position sizes during high volatility.
- Data-Driven Market Research: Query order books, funding rates, and trade history directly to feed into external analytical models.
- Risk Management Bots: Implement programmatic stop-loss and take-profit logic that operates 24/7 independently of manual UI interactions.
Example Prompts
- "Check the current order book for cmt_btcusdt and tell me if there is a significant imbalance between the top 5 bids and asks."
- "What is my current margin balance on WEEX, and do I have any open positions on Ethereum futures?"
- "Analyze the last 50 trades for cmt_ethusdt; based on the price trend, if the sentiment looks bullish, execute a market buy order for 0.01 contracts."
Tips & Limitations
- Security First: Never hardcode your API keys in your prompts or scripts. Use secure environment variables or secret management tools.
- Rate Limiting: Be aware of the WEEX exchange rate limits. Spreading out your requests ensures your API key does not get banned.
- Precision: When placing orders, always double-check the
tick_sizeandsize_incrementretrieved from the contracts info endpoint to avoid rejected orders due to invalid pricing or quantity precision. - Testing: Always start testing with a sub-account or minimal capital to verify your logic before scaling your automated strategy.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bowen31337-weex-trading-skills": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
Terse
Skill by bowen31337
Identity Resolver
Skill by bowen31337
whalecli
Agent-native whale wallet tracker for ETH and BTC chains. Track large crypto wallet movements, score whale activity, detect accumulation/distribution patterns, and stream real-time alerts. Integrates with FearHarvester and Simmer prediction markets for closed-loop signal→bet workflows. Use when: user asks about whale activity, on-chain signals, large wallet movements, smart money flows, or when pre-validating crypto trades/bets with on-chain data.
agent-self-governance
Self-governance protocol for autonomous agents: WAL (Write-Ahead Log), VBR (Verify Before Reporting), ADL (Anti-Divergence Limit), VFM (Value-For-Money), and IKL (Infrastructure Knowledge Logging). Use when: (1) receiving a user correction — log it before responding, (2) making an important decision or analysis — log it before continuing, (3) pre-compaction memory flush — flush the working buffer to WAL, (4) session start — replay unapplied WAL entries to restore lost context, (5) any time you want to ensure something survives compaction, (6) before claiming a task is done — verify it, (7) periodic self-check — am I drifting from my persona? (8) cost tracking — was that expensive operation worth it? (9) discovering infrastructure — log hardware/service specs immediately.
pyright-lsp
Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.