-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathghostguard.example.toml
More file actions
42 lines (35 loc) · 1.22 KB
/
Copy pathghostguard.example.toml
File metadata and controls
42 lines (35 loc) · 1.22 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
# GhostGuard example config. Copy to `ghostguard.toml` and pass
# `--config ghostguard.toml` to the binary.
#
# All sections and fields are optional. Missing values fall back to
# Config::default(). CLI flags override anything here.
[rpc]
url = "https://polygon-rpc.com"
[clob]
ws_url = "wss://ws-subscriptions-clob.polymarket.com/ws/market"
# Comma-separated asset / market IDs to subscribe to. Empty = user channel.
asset_ids = []
[detection]
verify_timeout_secs = 10
poll_interval_ms = 500
predictive_enabled = false
predictive_threshold = 0.7
avg_window = 50
[alerts]
# webhook_url = "http://localhost:9090/ghost-alert"
verdict_log = "data/verdicts.jsonl"
predictive_log = "data/predictive_warnings.jsonl"
# Auto-follow rotating short-cycle markets (e.g. BTC 5-min up/down binary).
# When enabled, GhostGuard bootstraps from the current active market and
# subscribes/unsubscribes automatically on every rollover.
[rotation]
enabled = false
pattern = "btc-updown-5m" # slug prefix to follow
keep_resolved_secs = 30 # keep resolved markets visible this long
# Phase 3 — parsed but not active yet.
[defense]
auto_cancel = false
auto_blacklist = true
# Phase 4 — parsed but not active yet.
[api]
listen = "127.0.0.1:8080"