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 Hyperliquid platform symbols to monitor real-time market status and model decision performance for different assets.

Connecting Hyperliquid Wallet

To execute trades, you must connect 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: Access Settings

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

Export Wallet

Step 2: Copy Private Key

Click Copy key to copy the Private Key.

Copy Private Key

Step 3: Add Prefix

After pasting the private key, you need to 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.

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: