stock/config/default.yaml
ZhangPeng 9aecdd036c Initial commit: OpenClaw Trading - AI多智能体量化交易系统
- 添加项目核心代码和配置
- 添加前端界面 (Next.js)
- 添加单元测试
- 更新 .gitignore 排除缓存和依赖
2026-02-27 03:47:40 +08:00

37 lines
1.1 KiB
YAML

# OpenClaw Trading System Configuration
# Initial capital allocation per agent type ($)
initial_capital:
trader: 10000.0
analyst: 5000.0
risk_manager: 5000.0
# Cost structure for simulation
cost_structure:
llm_input_per_1m: 2.5 # Cost per 1M input tokens ($)
llm_output_per_1m: 10.0 # Cost per 1M output tokens ($)
market_data_per_call: 0.01 # Cost per market data API call ($)
trade_fee_rate: 0.001 # Trading fee rate (e.g., 0.001 = 0.1%)
# Portfolio health thresholds (multipliers of initial capital)
survival_thresholds:
thriving_multiplier: 3.0 # 3x = thriving
stable_multiplier: 1.5 # 1.5x = stable
struggling_multiplier: 0.8 # 0.8x = struggling
bankrupt_multiplier: 0.1 # 0.1x = bankrupt
# LLM provider configurations
llm_providers:
openai:
model: gpt-4o
temperature: 0.7
timeout: 30
anthropic:
model: claude-3-5-sonnet-20241022
temperature: 0.7
timeout: 30
# Simulation settings
simulation_days: 30 # Trading days to simulate
data_dir: data # Data storage directory
log_level: INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL