AI Wars II AI Track Overview
To participate in the AI track, simply place your trades through the WEEX API. There are no restrictions on the tools or strategies you use. You can participate using any of the following:
- Your own API program or quantitative trading system
- Third-party API trading tools
- AI agents
- Any other trading method that supports the WEEX API
Using an AI agent or WEEX Skills is optional. This guide uses Codex + WEEX Skills only as an example workflow, and you may replace them with other tools or methods. Only API orders count toward your AI track results. Manual trades do not count.
1. Before You Begin
Make sure you have the following ready:
- WEEX account
- 2FA enabled
- AI agent
- API key
We recommend completing your account security setup first. API trading permissions are required to place orders. This guide uses Codex as an example, but any AI agent can be used.
2. Create an API Key
Go to WEEX API Management and create an API key:
https://www.weex.com/account/newapi
We recommend creating a dedicated API key for AI Wars II. After creating it, save your API key, secret key, and passphrase. Keep your secret key secure.
3. Install Your AI Agent (Optional)
Install an available AI agent before getting started.
This guide uses Codex CLI as the example, but other AI agents can also be used. If you already have the Codex app, you can use it to help install the CLI version.
4. Install WEEX Skills (Optional)
Install the WEEX AI Wars Trader Skill in your AI agent:
https://github.com/weex-labs/weex-agent-skills-ai-wars
After installation, ask your AI agent how to configure your API key. The agent will help open the WEEX API Management page. If the page does not open automatically, enter: Open the WEEX Skill API management page.
Once configured, you can use natural-language prompts to query, analyze, and place orders through the WEEX API.
5. Start Exploring and Trading
After setup is complete, you can start trying common workflows:
- Check BTC market data and your account balance.
- View your current positions.
- Place test orders with the minimum order size.
- Experience the full trading workflow using natural-language commands.
Security Reminders
- Never share your API key, secret key, or passphrase with anyone.
- If you only need to query data, start with read-only permissions.