@kynver-app/openclaw-agent-os 0.1.43 → 0.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analyst-market-readonly-tools.json +325 -0
- package/dist/index.js +3293 -173
- package/dist/index.js.map +4 -4
- package/openclaw.plugin.json +32 -2
- package/package.json +2 -1
- package/scripts/bootstrap-openclaw.mjs +5 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "analyst_market_list_accounts",
|
|
4
|
+
"description": "List the user's broker accounts (paper + Schwab if connected).",
|
|
5
|
+
"inputSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {},
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "analyst_market_list_proposals",
|
|
14
|
+
"description": "List trade proposals with optional status and account filters.",
|
|
15
|
+
"inputSchema": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"status": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"pending_approval",
|
|
22
|
+
"approved",
|
|
23
|
+
"rejected",
|
|
24
|
+
"expired",
|
|
25
|
+
"executing",
|
|
26
|
+
"executed",
|
|
27
|
+
"failed",
|
|
28
|
+
"cancelled"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"accountId": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"limit": {
|
|
35
|
+
"type": "number"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "analyst_market_get_proposal_status",
|
|
44
|
+
"description": "Fetch a single proposal by id (status, intent, timestamps).",
|
|
45
|
+
"inputSchema": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"proposalId": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"proposalId"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "analyst_market_list_orders",
|
|
61
|
+
"description": "List broker orders for an account, optionally filtered by status (pending|submitted|filled|cancelled|rejected|expired).",
|
|
62
|
+
"inputSchema": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"accountId": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"status": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"limit": {
|
|
72
|
+
"type": "number"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"accountId"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "analyst_market_get_positions",
|
|
84
|
+
"description": "Get broker account summary (cash, equity, buying power) plus open positions with unrealized P&L.",
|
|
85
|
+
"inputSchema": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"accountId": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": [
|
|
93
|
+
"accountId"
|
|
94
|
+
],
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "analyst_market_read_bars",
|
|
101
|
+
"description": "Read stored OHLCV bars from Neon. No live fetch — uses what's already backfilled. Use this when reasoning about price action.",
|
|
102
|
+
"inputSchema": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"tickers": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"timeframe": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"enum": [
|
|
114
|
+
"1m",
|
|
115
|
+
"5m",
|
|
116
|
+
"15m",
|
|
117
|
+
"1h",
|
|
118
|
+
"1d"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"from": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "ISO date."
|
|
124
|
+
},
|
|
125
|
+
"to": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "ISO date."
|
|
128
|
+
},
|
|
129
|
+
"limit": {
|
|
130
|
+
"type": "number",
|
|
131
|
+
"description": "Max bars per ticker (default 500, max 5000)."
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": [
|
|
135
|
+
"tickers",
|
|
136
|
+
"timeframe",
|
|
137
|
+
"from",
|
|
138
|
+
"to"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "analyst_market_read_chain_asof",
|
|
146
|
+
"description": "Reconstruct an options chain as of a historical date from stored snapshots. Returns the latest snapshot per contract at or before asOf. Requires historical chain snapshots to have been backfilled.",
|
|
147
|
+
"inputSchema": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"properties": {
|
|
150
|
+
"underlying": {
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
"expiration": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "ISO date of the expiration."
|
|
156
|
+
},
|
|
157
|
+
"asOf": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "ISO date/time — the historical point to reconstruct."
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"underlying",
|
|
164
|
+
"expiration",
|
|
165
|
+
"asOf"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "analyst_market_desk_list_reports",
|
|
173
|
+
"description": "ADMIN ONLY. List DeskAnalysisReport rows (per-ticker debate + judge). Filter by ticker and/or tradeDate (YYYY-MM-DD). Returns confidence, verdict, and cost fields.",
|
|
174
|
+
"inputSchema": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"ticker": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"tradeDate": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "YYYY-MM-DD"
|
|
183
|
+
},
|
|
184
|
+
"limit": {
|
|
185
|
+
"type": "number"
|
|
186
|
+
},
|
|
187
|
+
"canonicalOnly": {
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"description": "Default true."
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "analyst_market_desk_get_report",
|
|
198
|
+
"description": "ADMIN ONLY. Full DeskAnalysisReport by id (stages, debate transcript, tradeIntent, costs).",
|
|
199
|
+
"inputSchema": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"reportId": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"required": [
|
|
207
|
+
"reportId"
|
|
208
|
+
],
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "analyst_market_get_desk_debate",
|
|
215
|
+
"description": "ADMIN ONLY. Debate summaries and judge verdict for a desk report id.",
|
|
216
|
+
"inputSchema": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"reportId": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": [
|
|
224
|
+
"reportId"
|
|
225
|
+
],
|
|
226
|
+
"additionalProperties": false,
|
|
227
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "analyst_market_get_desk_debate_context",
|
|
232
|
+
"description": "ADMIN ONLY. Stage outputs and source inputs for a desk report (grounding context fed to debate).",
|
|
233
|
+
"inputSchema": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"properties": {
|
|
236
|
+
"reportId": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"required": [
|
|
241
|
+
"reportId"
|
|
242
|
+
],
|
|
243
|
+
"additionalProperties": false,
|
|
244
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "analyst_market_desk_list_paper_trades",
|
|
249
|
+
"description": "ADMIN ONLY. Recent broker orders on managed (paper) portfolios for the admin user.",
|
|
250
|
+
"inputSchema": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"limit": {
|
|
254
|
+
"type": "number"
|
|
255
|
+
},
|
|
256
|
+
"symbol": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "analyst_market_desk_get_cost_summary",
|
|
266
|
+
"description": "ADMIN ONLY. Aggregate estimated/actual desk LLM costs over optional date range and ticker.",
|
|
267
|
+
"inputSchema": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"properties": {
|
|
270
|
+
"from": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "YYYY-MM-DD"
|
|
273
|
+
},
|
|
274
|
+
"to": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "YYYY-MM-DD"
|
|
277
|
+
},
|
|
278
|
+
"ticker": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"additionalProperties": false,
|
|
283
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "analyst_market_desk_list_reflections",
|
|
288
|
+
"description": "ADMIN ONLY. Closed-trade reflections (ManagedTradeOutcome rows with MARM ids) on managed portfolios.",
|
|
289
|
+
"inputSchema": {
|
|
290
|
+
"type": "object",
|
|
291
|
+
"properties": {
|
|
292
|
+
"limit": {
|
|
293
|
+
"type": "number"
|
|
294
|
+
},
|
|
295
|
+
"symbol": {
|
|
296
|
+
"type": "string"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"additionalProperties": false,
|
|
300
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "analyst_market_desk_get_outcome_metrics",
|
|
305
|
+
"description": "ADMIN ONLY. Aggregate P&L / win-rate / return stats for managed trade outcomes.",
|
|
306
|
+
"inputSchema": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"from": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"description": "YYYY-MM-DD"
|
|
312
|
+
},
|
|
313
|
+
"to": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"description": "YYYY-MM-DD"
|
|
316
|
+
},
|
|
317
|
+
"symbol": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"additionalProperties": false,
|
|
322
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
]
|