37 lines
1.1 KiB
YAML
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 |