-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
86 lines (86 loc) · 2.58 KB
/
Copy pathopenclaw.plugin.json
File metadata and controls
86 lines (86 loc) · 2.58 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
{
"id": "openbroker",
"name": "OpenBroker — Hyperliquid Trading",
"version": "1.3.2",
"description": "Trade on Hyperliquid DEX with background position monitoring",
"configSchema": {
"type": "object",
"properties": {
"privateKey": {
"type": "string",
"description": "Hyperliquid wallet private key (0x-prefixed). Falls back to HYPERLIQUID_PRIVATE_KEY env var or ~/.openbroker/.env"
},
"accountAddress": {
"type": "string",
"description": "Master account address (for API wallets). Falls back to HYPERLIQUID_ACCOUNT_ADDRESS"
},
"network": {
"type": "string",
"enum": ["mainnet", "testnet"],
"default": "mainnet",
"description": "Network to use: mainnet or testnet"
},
"hooksToken": {
"type": "string",
"description": "Bearer token for gateway hooks endpoint (must match hooks.token in gateway config). Falls back to OPENCLAW_HOOKS_TOKEN env var."
},
"watcher": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "Enable background position watcher"
},
"pollIntervalMs": {
"type": "number",
"default": 30000,
"description": "Poll interval in milliseconds"
},
"pnlChangeThresholdPct": {
"type": "number",
"default": 5,
"description": "Notify when unrealized PnL changes by this percentage"
},
"marginUsageWarningPct": {
"type": "number",
"default": 80,
"description": "Warn when margin usage exceeds this percentage"
},
"notifyOnPositionChange": {
"type": "boolean",
"default": true,
"description": "Send hook when positions open/close/change size"
},
"notifyOnFunding": {
"type": "boolean",
"default": true,
"description": "Send hook for funding rate alerts"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"uiHints": {
"privateKey": {
"label": "Private Key",
"sensitive": true,
"placeholder": "0x..."
},
"accountAddress": {
"label": "Account Address",
"placeholder": "0x..."
},
"network": {
"label": "Network",
"placeholder": "mainnet"
},
"hooksToken": {
"label": "Hooks Token",
"sensitive": true,
"placeholder": "your-hooks-secret"
}
}
}