# 多账户环境变量配置示例
# 配合 accounts.config.json 使用

# ========================================
# Pacifica DEX 多账户配置
# ========================================

# Pacifica 主账户 1
PACIFICA_PRIVATE_KEY_1=3m6o...base58_private_key_1...
PACIFICA_ACCOUNT_1=main-account-id-1

# Pacifica 对冲账户 2
PACIFICA_PRIVATE_KEY_2=4n7p...base58_private_key_2...
PACIFICA_ACCOUNT_2=hedge-account-id-2

# Pacifica 备用账户 3
PACIFICA_PRIVATE_KEY_3=5o8q...base58_private_key_3...
PACIFICA_ACCOUNT_3=backup-account-id-3

# Pacifica 共用配置
PACIFICA_BASE_URL=https://api.pacifica.fi
PACIFICA_WS_URL=wss://ws.pacifica.fi

# ========================================
# Aster DEX 多账户配置
# ========================================

# Aster 主账户 1
ASTER_ORDER_USER_1=0x63DD5aCC6b1aa0f563956C0e534DD30B6dcF7C4e
ASTER_ORDER_SIGNER_1=0x21cF8Ae13Bb72632562c6Fff438652Ba1a151bb0
ASTER_PRIVATE_KEY_1=0x4fd0a42218f3eae43a6ce26d22544e986139a01e5b34a62db53757ffca81bae1
ASTER_API_KEY_1=your_aster_api_key_1
ASTER_API_SECRET_1=your_aster_api_secret_1

# Aster 对冲账户 2
ASTER_ORDER_USER_2=0x74EE6bDD7b2bc0f564067D0e545DD31C7ecF8C5f
ASTER_ORDER_SIGNER_2=0x32dF9bE24Cc83663573c7Dff439763Da2a262cc1
ASTER_PRIVATE_KEY_2=0x5ge1b53329g4fbg54a7df37e33655f987249b02f6c45b73eac64868ggdb92cf2
ASTER_API_KEY_2=your_aster_api_key_2
ASTER_API_SECRET_2=your_aster_api_secret_2

# Aster 共用配置
ASTER_HTTP_BASE=https://fapi.asterdex.com
ASTER_WS_URL=wss://fstream.asterdex.com

# ========================================
# Binance 多账户配置
# ========================================

# Binance 主账户
BINANCE_API_KEY_MAIN=your_main_binance_api_key
BINANCE_SECRET_KEY_MAIN=your_main_binance_secret_key

# Binance 对冲账户
BINANCE_API_KEY_HEDGE=your_hedge_binance_api_key
BINANCE_SECRET_KEY_HEDGE=your_hedge_binance_secret_key

# Binance 备用账户
BINANCE_API_KEY_BACKUP=your_backup_binance_api_key
BINANCE_SECRET_KEY_BACKUP=your_backup_binance_secret_key

# Binance 共用配置
BINANCE_TESTNET=false
BINANCE_BASE_URL=https://api.binance.com

# ========================================
# 系统配置
# ========================================

# 账户配置文件路径
ACCOUNTS_CONFIG_FILE=./accounts.config.json

# 启用配置文件热更新
ENABLE_CONFIG_WATCHING=true

# 账户健康检查间隔 (毫秒)
ACCOUNT_HEALTH_CHECK_INTERVAL=60000

# 日志级别
LOG_LEVEL=info

# 最大账户数限制
MAX_ACCOUNTS_LIMIT=20

# 账户优先级权重
PRIORITY_WEIGHT_FACTOR=1.0