-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtrading-bot.yaml
More file actions
101 lines (85 loc) · 2.6 KB
/
trading-bot.yaml
File metadata and controls
101 lines (85 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Pulse Config — Trading Bot
# High-frequency monitoring for automated trading systems
# Priorities: market opportunities, system health, risk management
openclaw:
webhook_url: "http://localhost:8080/hooks/agent"
webhook_token: "${PULSE_HOOK_TOKEN}"
min_trigger_interval: 300 # 5 min cooldown (faster response)
max_turns_per_hour: 20 # allow frequent checks
daemon:
loop_interval_seconds: 10 # check every 10 seconds
health_port: 9719
integration: "default"
log_level: "INFO"
drives:
trigger_threshold: 3.0 # lower = more sensitive
pressure_rate: 0.05 # fast accumulation
max_pressure: 20.0
decay_on_success: 0.7
decay_on_failure: 0.3
categories:
opportunities:
weight: 2.0 # HIGHEST priority
sources:
- "weather-edge/opportunities.json"
- "polymarket/alerts.json"
risk:
weight: 1.8 # risk management critical
sources:
- "trading/positions.json"
- "trading/drawdown.json"
system:
weight: 1.5 # system health matters
sources:
- "trading/bot-status.json"
goals:
weight: 0.8 # lower priority during trading hours
sources:
- "goals.json"
learning:
weight: 0.5
sources:
- "hypotheses.json"
sensors:
filesystem:
enabled: true
watch_paths:
- "weather-edge/**/*.json"
- "polymarket/**/*.json"
- "trading/**/*.json"
ignore_patterns:
- "*.pyc"
- ".git/*"
- "*.log"
debounce_seconds: 1.0 # short debounce (fast response)
conversation:
enabled: false # no human interaction during trading
system:
enabled: true
check_interval_seconds: 30 # frequent health checks
memory_threshold_mb: 500 # higher limit (complex calculations)
disk_threshold_gb: 5
discord:
enabled: false
evaluator:
mode: "model" # smarter context-aware triggering
model:
base_url: "http://localhost:11434/v1"
api_key: "" # Ollama (local, free)
model: "llama3.2:3b"
max_tokens: 100
temperature: 0.2 # deterministic
timeout_seconds: 3
workspace:
root: "/home/trader/workspace"
resolve_paths: true
state:
dir: "~/.pulse"
save_interval: 60 # save every minute (fast writes)
max_history_entries: 2000 # keep detailed history
logging:
level: "INFO"
format: "structured" # JSON for log aggregation
output: "/var/log/pulse/trading.log"
sync_to_daily_notes: true
daily_notes_dir: "memory"