Skip to content

AI Trader Setup

AI Trader is the core component of Hyper Alpha Arena, responsible for executing trading decisions based on strategy prompts. This section will guide you through creating and configuring AI Traders.

Creating AI Trader

Using Deepseek as an example:

Step 1: Access AI Trader Interface

Click AI Trader in the navigation bar, then select Add AI Trader.

Add AI Trader

Step 2: Configure API Information

  1. Trader Name: Enter a descriptive name, e.g., Deepseek-reasoner

  2. BASE URL: Visit Deepseek API Documentation, copy the base_url and fill it in

    Deepseek API

  3. API Key: Apply for and save an API Key from the Deepseek platform

    API Key

  4. Model: Select the model name

    • deepseek-chat: Non-reasoning model
    • deepseek-reasoner: Reasoning model (recommended)

    Model Selection

Step 3: Test and Save

After filling in the information, click Test and Save to confirm the connection is successful.

Note

Deepseek API requires recharge to use. If you're just testing, you can use Method 2's free quota.

Method 2: Using Free Quota (Suitable for Testing)

Using Alibaba Cloud Bailian platform's free model quota:

Step 1: Select Model

Visit Alibaba Cloud Bailian Model Market and select a model.

Select Model

Step 2: Get Model Information

Click to enter the model details page, enable free quota, and copy the model Code to fill in the Model field.

Model Code

Step 3: Configure BASE URL

Qwen's BASE URL:

bash
https://dashscope.aliyuncs.com/compatible-mode/v1

Refer to Qwen API Documentation

BASE URL

Step 4: Get API Key

Visit API Key Management Page, apply for and copy the API Key.

API Key

After filling in, click Test and Save.

Note

AI Traders created with Method 2 have limited quota and only support testing, not recommended for live trading.

Setting Trigger Parameters

After creating an AI Trader, you need to configure trigger parameters to control strategy execution.

Trigger Parameters

Trigger Mode

  • Signal Pool: Triggered based on user-created signal pools when conditions are met
  • Trigger Interval: Set the time interval (seconds) for strategy triggers

Strategy Status

  • Strategy Status: After checking Enabled, the AI Trader will respond to signals and scheduled triggers

Save Configuration

After setup, click Save Trader Config to save the current AI trader's strategy configuration.

Global Configuration

Global Configuration

Sampling Interval

Sampling Interval: Controls how often market price data is collected.

After modification, click Save Global Settings to save the global configuration.

Symbol Configuration

Symbol Configuration

The system supports custom configuration of trading symbols on supported exchanges (Hyperliquid and Binance Futures) to monitor real-time market status and model decision performance for different assets.

Connecting Exchange Account

To execute trades, you must connect an exchange account. The platform supports two exchanges:

Option A: Hyperliquid Wallet

Connect Wallet

Configuration Steps:

  1. Select a created AI Trader
  2. Enter the Hyperliquid wallet's Private Key
  3. Configure Maximum Leverage and Default Leverage
  4. Click Save Wallet to connect
  5. Success notification will appear in the top right corner

Exporting Private Key (Email Login Users)

If you log in to Hyperliquid using email, you need to export the wallet private key first:

Step 1: Click settings in the top right corner of Hyperliquid and find the export wallet option.

Export Wallet

Step 2: Click Copy key to copy the Private Key.

Copy Private Key

Step 3: After pasting the private key, add the 0x prefix (digit 0 and lowercase letter x) at the beginning.

Add Prefix

Security Warning

The private key is your wallet credential. Never share it with others. It's recommended to test on testnet first and only use mainnet wallet after confirming everything works correctly.

Option B: Binance Futures API

Step 1: Register and Create API Key

  1. Register at Binance and complete KYC verification
  2. Go to API Management to create an API key

Create API

Select "System Generated" and give it a name. Complete security verification to create.

API Created

Step 2: Save API Key and Secret

Important

The Secret Key is only shown once at creation. Save both the API Key and Secret Key immediately.

Save Keys

Step 3: Configure IP Whitelist

Add your server's IP address to the whitelist.

IP Whitelist

Step 4: Enable Permissions

Edit API permissions and enable the required permissions as shown:

Permissions

Can't enable Futures permission?

If the Futures permission checkbox is unavailable, you need to open a USDT-M Futures account first. See Step 5.

Step 5: Open USDT-M Futures (if not already)

Visit Binance Futures and find the option to open a USDT-M Futures account in the bottom right area.

Open Futures

Step 6: Set One-Way Position Mode

After opening Futures, change the position mode to One-Way. Click the settings icon in the top right corner.

Settings

Select Position Mode:

Position Mode

Choose One-Way Mode:

One-Way Mode

Step 7: Connect in Hyper Alpha Arena

After completing the above steps, return to the API permissions page and save. Then connect your Binance account in Hyper Alpha Arena using the saved API Key and Secret Key.

Connect Binance

Enabling Trading Strategy

Enable Strategy

After enabling the trading strategy, AI will start executing trading decisions based on prompts.

Important Note

Do not enable the strategy until you have completed the following configurations:

  • AI Trader has been created and tested successfully
  • Wallet has been connected
  • Strategy prompts have been written and bound
  • Trigger parameters have been configured

Next Steps

After completing AI Trader configuration, continue learning: