polly-gamba 1.0.9 → 1.0.11
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/dist/index.js +2 -1
- package/dist/mcp-server.js +2 -0
- package/dist/position-monitor.js +9 -6
- package/package.json +1 -4
- package/src/index.ts +2 -0
- package/src/mcp-server.ts +2 -0
- package/src/position-monitor.ts +9 -6
- package/.claude/settings.json +0 -14
- package/.mcp.json +0 -11
- package/service.log +0 -462
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
4
|
if (k2 === undefined) k2 = k;
|
|
@@ -87,6 +87,7 @@ async function main() {
|
|
|
87
87
|
const expiringTrader = new claude_trader_1.ClaudeTrader({ cwd: EXPIRING_CWD, redisPrefix: 'polly:expiring', label: 'expiring' });
|
|
88
88
|
const signals = new coinbase_ws_1.CoinbaseSignalDetector();
|
|
89
89
|
const monitor = new position_monitor_1.PositionMonitor(process.env.REDIS_URL || 'redis://localhost:6379', 'polly');
|
|
90
|
+
monitor.setTrader(anthropicTrader);
|
|
90
91
|
anthropicTrader.start();
|
|
91
92
|
ollamaTrader.start();
|
|
92
93
|
expiringTrader.start();
|
package/dist/mcp-server.js
CHANGED
|
@@ -348,6 +348,8 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (req) => {
|
|
|
348
348
|
throw new Error(`Unknown tool: ${name}`);
|
|
349
349
|
});
|
|
350
350
|
async function main() {
|
|
351
|
+
// Initialize budget key (NX = don't overwrite if already set)
|
|
352
|
+
await redis.set(`${REDIS_PREFIX}:budget`, '500', 'NX');
|
|
351
353
|
const transport = new stdio_js_1.StdioServerTransport();
|
|
352
354
|
await server.connect(transport);
|
|
353
355
|
console.error('[mcp] polly-gamba-paper MCP server started (stdio)');
|
package/dist/position-monitor.js
CHANGED
|
@@ -42,17 +42,20 @@ class PositionMonitor {
|
|
|
42
42
|
console.log(`[position-monitor] 0 open positions to check`);
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
// Deduplicate market fetches
|
|
45
|
+
// Deduplicate market fetches keyed by marketId_outcome
|
|
46
46
|
const marketPriceCache = new Map();
|
|
47
|
-
const
|
|
48
|
-
await Promise.all(
|
|
49
|
-
const
|
|
50
|
-
|
|
47
|
+
const uniqueKeys = [...new Set(toCheck.map(p => `${p.market_id}|${p.outcome}`))];
|
|
48
|
+
await Promise.all(uniqueKeys.map(async (key) => {
|
|
49
|
+
const sep = key.indexOf('|');
|
|
50
|
+
const marketId = key.slice(0, sep);
|
|
51
|
+
const outcome = key.slice(sep + 1);
|
|
52
|
+
const result = await this.fetchCurrentPrice(marketId, outcome).catch(() => null);
|
|
53
|
+
marketPriceCache.set(key, result);
|
|
51
54
|
}));
|
|
52
55
|
// Build review candidates with current price data for Claude
|
|
53
56
|
const reviewCandidates = [];
|
|
54
57
|
for (const pos of toCheck) {
|
|
55
|
-
const currentPrice =
|
|
58
|
+
const currentPrice = marketPriceCache.get(`${pos.market_id}|${pos.outcome}`) ?? null;
|
|
56
59
|
if (!currentPrice)
|
|
57
60
|
continue;
|
|
58
61
|
const entryPrice = pos.price;
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polly-gamba",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Coinbase price signal → Claude brain → Polymarket CLOB execution",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"polly-gamba": "dist/index.js"
|
|
8
|
-
},
|
|
9
6
|
"scripts": {
|
|
10
7
|
"start": "ts-node src/index.ts",
|
|
11
8
|
"mcp": "ts-node src/mcp/server.ts",
|
package/src/index.ts
CHANGED
package/src/mcp-server.ts
CHANGED
|
@@ -348,6 +348,8 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
348
348
|
})
|
|
349
349
|
|
|
350
350
|
async function main() {
|
|
351
|
+
// Initialize budget key (NX = don't overwrite if already set)
|
|
352
|
+
await redis.set(`${REDIS_PREFIX}:budget`, '500', 'NX')
|
|
351
353
|
const transport = new StdioServerTransport()
|
|
352
354
|
await server.connect(transport)
|
|
353
355
|
console.error('[mcp] polly-gamba-paper MCP server started (stdio)')
|
package/src/position-monitor.ts
CHANGED
|
@@ -61,12 +61,15 @@ export class PositionMonitor {
|
|
|
61
61
|
return
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
// Deduplicate market fetches
|
|
64
|
+
// Deduplicate market fetches keyed by marketId_outcome
|
|
65
65
|
const marketPriceCache = new Map<string, MarketPrice | null>()
|
|
66
|
-
const
|
|
67
|
-
await Promise.all(
|
|
68
|
-
const
|
|
69
|
-
|
|
66
|
+
const uniqueKeys = [...new Set(toCheck.map(p => `${p.market_id}|${p.outcome}`))]
|
|
67
|
+
await Promise.all(uniqueKeys.map(async (key) => {
|
|
68
|
+
const sep = key.indexOf('|')
|
|
69
|
+
const marketId = key.slice(0, sep)
|
|
70
|
+
const outcome = key.slice(sep + 1)
|
|
71
|
+
const result = await this.fetchCurrentPrice(marketId, outcome).catch(() => null)
|
|
72
|
+
marketPriceCache.set(key, result)
|
|
70
73
|
}))
|
|
71
74
|
|
|
72
75
|
// Build review candidates with current price data for Claude
|
|
@@ -83,7 +86,7 @@ export class PositionMonitor {
|
|
|
83
86
|
}> = []
|
|
84
87
|
|
|
85
88
|
for (const pos of toCheck) {
|
|
86
|
-
const currentPrice =
|
|
89
|
+
const currentPrice = marketPriceCache.get(`${pos.market_id}|${pos.outcome}`) ?? null
|
|
87
90
|
if (!currentPrice) continue
|
|
88
91
|
|
|
89
92
|
const entryPrice = pos.price
|
package/.claude/settings.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"polly-paper": {
|
|
4
|
-
"command": "npx",
|
|
5
|
-
"args": ["ts-node", "/Users/feral/polly-gamba/src/mcp-server.ts"],
|
|
6
|
-
"env": {
|
|
7
|
-
"REDIS_URL": "redis://localhost:6379"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"permissions": {
|
|
12
|
-
"allow": ["mcp__polly-paper__place_order", "mcp__polly-paper__skip_market"]
|
|
13
|
-
}
|
|
14
|
-
}
|
package/.mcp.json
DELETED
package/service.log
DELETED
|
@@ -1,462 +0,0 @@
|
|
|
1
|
-
[polly-gamba] Starting paper trading service
|
|
2
|
-
[polly-gamba] Claude cwd: /Users/feral/polly-gamba
|
|
3
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
4
|
-
[polly-gamba] Listening for BTC/ETH price signals (threshold: 0.5% in 60s)...
|
|
5
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
6
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
7
|
-
[position-monitor] 0 open positions to check
|
|
8
|
-
[coinbase-ws] Connected
|
|
9
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
10
|
-
[scan] 46 high-quality markets for autonomous review
|
|
11
|
-
[claude-trader:anthropic] ready
|
|
12
|
-
[claude-trader:ollama] ready
|
|
13
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
14
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
15
|
-
[gamma] Loaded 486 markets (filtered from 500)
|
|
16
|
-
[scan] 46 high-quality markets for autonomous review
|
|
17
|
-
[position-monitor] checked=16 review_candidates=2 (moved>5% or <72h expiry)
|
|
18
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
19
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
20
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
21
|
-
[scan] 47 high-quality markets for autonomous review
|
|
22
|
-
[position-monitor] checked=18 review_candidates=3 (moved>5% or <72h expiry)
|
|
23
|
-
[signal] ETH up 0.50% @ $2,136.65 over 59s
|
|
24
|
-
[signal] ETH up 0.50% @ $2,136.65
|
|
25
|
-
[match] 20 markets for ETH signal
|
|
26
|
-
[signal] BTC up 0.50% @ $68,650 over 60s
|
|
27
|
-
[signal] BTC up 0.50% @ $68,650
|
|
28
|
-
[match] 1 markets for BTC signal
|
|
29
|
-
[signal] ETH up 0.52% @ $2,147.69 over 5s
|
|
30
|
-
[signal] ETH up 0.52% @ $2,147.69
|
|
31
|
-
[match] 20 markets for ETH signal
|
|
32
|
-
[signal] ETH down -0.50% @ $2,136.92 over 10s
|
|
33
|
-
[signal] ETH down 0.50% @ $2,136.92
|
|
34
|
-
[match] 20 markets for ETH signal
|
|
35
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
36
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
37
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
38
|
-
[scan] 47 high-quality markets for autonomous review
|
|
39
|
-
[position-monitor] checked=21 review_candidates=2 (moved>5% or <72h expiry)
|
|
40
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
41
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
42
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
43
|
-
[scan] 47 high-quality markets for autonomous review
|
|
44
|
-
[position-monitor] checked=20 review_candidates=4 (moved>5% or <72h expiry)
|
|
45
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
46
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
47
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
48
|
-
[scan] 47 high-quality markets for autonomous review
|
|
49
|
-
[position-monitor] checked=19 review_candidates=3 (moved>5% or <72h expiry)
|
|
50
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
51
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
52
|
-
[gamma] Loaded 489 markets (filtered from 500)
|
|
53
|
-
[scan] 48 high-quality markets for autonomous review
|
|
54
|
-
[position-monitor] checked=19 review_candidates=3 (moved>5% or <72h expiry)
|
|
55
|
-
[signal] ETH down -0.50% @ $2,113.1 over 60s
|
|
56
|
-
[signal] ETH down 0.50% @ $2,113.1
|
|
57
|
-
[match] 20 markets for ETH signal
|
|
58
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
59
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
60
|
-
[gamma] Loaded 490 markets (filtered from 500)
|
|
61
|
-
[scan] 49 high-quality markets for autonomous review
|
|
62
|
-
[position-monitor] checked=20 review_candidates=3 (moved>5% or <72h expiry)
|
|
63
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
64
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
65
|
-
[gamma] Loaded 490 markets (filtered from 500)
|
|
66
|
-
[scan] 49 high-quality markets for autonomous review
|
|
67
|
-
[position-monitor] checked=20 review_candidates=3 (moved>5% or <72h expiry)
|
|
68
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
69
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
70
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
71
|
-
[scan] 49 high-quality markets for autonomous review
|
|
72
|
-
[position-monitor] checked=20 review_candidates=3 (moved>5% or <72h expiry)
|
|
73
|
-
[coinbase-ws] Disconnected — reconnecting in 5s
|
|
74
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
75
|
-
[coinbase-ws] Connected
|
|
76
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
77
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
78
|
-
[gamma] Loaded 487 markets (filtered from 500)
|
|
79
|
-
[scan] 49 high-quality markets for autonomous review
|
|
80
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
81
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
82
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
83
|
-
[gamma] Loaded 490 markets (filtered from 500)
|
|
84
|
-
[scan] 49 high-quality markets for autonomous review
|
|
85
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
86
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
87
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
88
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
89
|
-
[scan] 49 high-quality markets for autonomous review
|
|
90
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
91
|
-
rom 500)
|
|
92
|
-
[scan] 49 high-quality markets for autonomous review
|
|
93
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
94
|
-
[polly-gamba] Starting paper trading service
|
|
95
|
-
[polly-gamba] Claude cwd: /Users/feral/polly-gamba
|
|
96
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
97
|
-
[polly-gamba] Listening for BTC/ETH price signals (threshold: 0.5% in 60s)...
|
|
98
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
99
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
100
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
101
|
-
[scan] 49 high-quality markets for autonomous review
|
|
102
|
-
[coinbase-ws] Connected
|
|
103
|
-
[claude-trader:anthropic] ready
|
|
104
|
-
[claude-trader:ollama] ready
|
|
105
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
106
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
107
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
108
|
-
^
|
|
109
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
110
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
111
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
112
|
-
|
|
113
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
114
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
115
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
116
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
117
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
118
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
119
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
120
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
121
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
122
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
123
|
-
diagnosticCodes: [ 2345 ]
|
|
124
|
-
}
|
|
125
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
126
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
127
|
-
^
|
|
128
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
129
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
130
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
131
|
-
|
|
132
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
133
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
134
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
135
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
136
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
137
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
138
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
139
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
140
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
141
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
142
|
-
diagnosticCodes: [ 2345 ]
|
|
143
|
-
}
|
|
144
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
145
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
146
|
-
^
|
|
147
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
148
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
149
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
150
|
-
|
|
151
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
152
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
153
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
154
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
155
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
156
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
157
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
158
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
159
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
160
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
161
|
-
diagnosticCodes: [ 2345 ]
|
|
162
|
-
}
|
|
163
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
164
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
165
|
-
^
|
|
166
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
167
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
168
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
169
|
-
|
|
170
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
171
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
172
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
173
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
174
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
175
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
176
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
177
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
178
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
179
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
180
|
-
diagnosticCodes: [ 2345 ]
|
|
181
|
-
}
|
|
182
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
183
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
184
|
-
^
|
|
185
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
186
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
187
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
188
|
-
|
|
189
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
190
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
191
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
192
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
193
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
194
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
195
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
196
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
197
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
198
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
199
|
-
diagnosticCodes: [ 2345 ]
|
|
200
|
-
}
|
|
201
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
202
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
203
|
-
^
|
|
204
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
205
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
206
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
207
|
-
|
|
208
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
209
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
210
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
211
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
212
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
213
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
214
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
215
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
216
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
217
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
218
|
-
diagnosticCodes: [ 2345 ]
|
|
219
|
-
}
|
|
220
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
221
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
222
|
-
^
|
|
223
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
224
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
225
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
226
|
-
|
|
227
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
228
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
229
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
230
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
231
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
232
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
233
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
234
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
235
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
236
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
237
|
-
diagnosticCodes: [ 2345 ]
|
|
238
|
-
}
|
|
239
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
240
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
241
|
-
^
|
|
242
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
243
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
244
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
245
|
-
|
|
246
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
247
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
248
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
249
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
250
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
251
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
252
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
253
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
254
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
255
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
256
|
-
diagnosticCodes: [ 2345 ]
|
|
257
|
-
}
|
|
258
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
259
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
260
|
-
^
|
|
261
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
262
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
263
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
264
|
-
|
|
265
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
266
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
267
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
268
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
269
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
270
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
271
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
272
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
273
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
274
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
275
|
-
diagnosticCodes: [ 2345 ]
|
|
276
|
-
}
|
|
277
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
278
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
279
|
-
^
|
|
280
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
281
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
282
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
283
|
-
|
|
284
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
285
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
286
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
287
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
288
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
289
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
290
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
291
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
292
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
293
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
294
|
-
diagnosticCodes: [ 2345 ]
|
|
295
|
-
}
|
|
296
|
-
/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859
|
|
297
|
-
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
|
|
298
|
-
^
|
|
299
|
-
TSError: ⨯ Unable to compile TypeScript:
|
|
300
|
-
src/position-monitor.ts(115,42): error TS2345: Argument of type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }[]' is not assignable to parameter of type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }[]'.
|
|
301
|
-
Type '{ market_id: string; market_question: string; outcome: string; entry_price: number; current_price: number; gain_pct: number; size_usdc: number; hours_to_expiry: number; ts: number; }' is missing the following properties from type '{ market_id: string; market_question: string; outcome: string; side: string; price: number; size_usdc: number; exit_trigger?: string; ts: number; current_price?: number; hours_to_expiry?: number; }': side, price
|
|
302
|
-
|
|
303
|
-
at createTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:859:12)
|
|
304
|
-
at reportTSError (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:863:19)
|
|
305
|
-
at getOutput (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1077:36)
|
|
306
|
-
at Object.compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1433:41)
|
|
307
|
-
at Module.m._compile (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1617:30)
|
|
308
|
-
at Module._extensions..js (node:internal/modules/cjs/loader:1839:10)
|
|
309
|
-
at Object.require.extensions.<computed> [as .ts] (/Users/feral/polly-gamba/node_modules/ts-node/src/index.ts:1621:12)
|
|
310
|
-
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
311
|
-
at Function.Module._load (node:internal/modules/cjs/loader:1263:12)
|
|
312
|
-
at TracingChannel.traceSync (node:diagnostics_channel:328:14) {
|
|
313
|
-
diagnosticCodes: [ 2345 ]
|
|
314
|
-
}
|
|
315
|
-
[polly-gamba] Starting paper trading service
|
|
316
|
-
[polly-gamba] Claude cwd: /Users/feral/polly-gamba
|
|
317
|
-
[expiring] created expiring trader cwd at /Users/feral/polly-gamba-expiring
|
|
318
|
-
[polly-gamba] Expiring trader cwd: /Users/feral/polly-gamba-expiring
|
|
319
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
320
|
-
[polly-gamba] Listening for BTC/ETH price signals (threshold: 0.5% in 60s)...
|
|
321
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
322
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
323
|
-
[expiring] fetching expiring markets (closing within 72h, vol24h>$10k, liq>$10k, price 0.05-0.95)
|
|
324
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
325
|
-
[coinbase-ws] Connected
|
|
326
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
327
|
-
[expiring] 0 expiring markets for review
|
|
328
|
-
[expiring] no expiring markets found this cycle
|
|
329
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
330
|
-
[scan] 14 high-quality markets for autonomous review
|
|
331
|
-
[claude-trader:anthropic] ready
|
|
332
|
-
[claude-trader:ollama] ready
|
|
333
|
-
[claude-trader:expiring] ready
|
|
334
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
335
|
-
[position-monitor] no trader set — skipping Claude review
|
|
336
|
-
[polly-gamba] Starting paper trading service
|
|
337
|
-
[polly-gamba] Claude cwd: /Users/feral/polly-gamba
|
|
338
|
-
[polly-gamba] Expiring trader cwd: /Users/feral/polly-gamba-expiring
|
|
339
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
340
|
-
[polly-gamba] Listening for BTC/ETH price signals (threshold: 0.5% in 60s)...
|
|
341
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
342
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
343
|
-
[expiring] fetching expiring markets (closing within 72h, vol24h>$10k, liq>$10k, price 0.05-0.95)
|
|
344
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
345
|
-
[coinbase-ws] Connected
|
|
346
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
347
|
-
[expiring] 0 expiring markets for review
|
|
348
|
-
[expiring] no expiring markets found this cycle
|
|
349
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
350
|
-
[scan] 14 high-quality markets for autonomous review
|
|
351
|
-
[claude-trader:anthropic] ready
|
|
352
|
-
[claude-trader:ollama] ready
|
|
353
|
-
[claude-trader:expiring] ready
|
|
354
|
-
[position-monitor] checked=20 review_candidates=2 (moved>5% or <72h expiry)
|
|
355
|
-
[position-monitor] no trader set — skipping Claude review
|
|
356
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
357
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
358
|
-
[expiring] fetching expiring markets (closing within 72h, vol24h>$10k, liq>$10k, price 0.05-0.95)
|
|
359
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
360
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
361
|
-
[expiring] 0 expiring markets for review
|
|
362
|
-
[expiring] no expiring markets found this cycle
|
|
363
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
364
|
-
[scan] 15 high-quality markets for autonomous review
|
|
365
|
-
[position-monitor] checked=24 review_candidates=4 (moved>5% or <72h expiry)
|
|
366
|
-
[position-monitor] no trader set — skipping Claude review
|
|
367
|
-
[polly-gamba] Starting paper trading service
|
|
368
|
-
[polly-gamba] Claude cwd: /Users/feral/polly-gamba
|
|
369
|
-
[polly-gamba] Expiring trader cwd: /Users/feral/polly-gamba-expiring
|
|
370
|
-
[coinbase-ws] Connecting to wss://ws-feed.exchange.coinbase.com
|
|
371
|
-
[polly-gamba] Listening for BTC/ETH price signals (threshold: 0.5% in 60s)...
|
|
372
|
-
[scan] fetching high-quality markets (vol24h>$50k, liq>$50k, price 0.10-0.90)
|
|
373
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
374
|
-
[expiring] fetching expiring markets (closing within 72h, vol24h>$10k, liq>$10k, price 0.05-0.95)
|
|
375
|
-
[gamma] Fetching active markets from https://gamma-api.polymarket.com/markets?active=true&closed=false&limit=500
|
|
376
|
-
[coinbase-ws] Connected
|
|
377
|
-
[claude-trader:anthropic] ready
|
|
378
|
-
[claude-trader:ollama] ready
|
|
379
|
-
[claude-trader:expiring] ready
|
|
380
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
381
|
-
[expiring] 0 expiring markets for review
|
|
382
|
-
[expiring] no expiring markets found this cycle
|
|
383
|
-
[gamma] Loaded 491 markets (filtered from 500)
|
|
384
|
-
[scan] 15 high-quality markets for autonomous review
|
|
385
|
-
[position-monitor] checked=24 review_candidates=4 (moved>5% or <72h expiry)
|
|
386
|
-
[position-monitor] no trader set — skipping Claude review
|
|
387
|
-
npm error code E404
|
|
388
|
-
npm error 404 Not Found - GET https://registry.npmjs.org/@gonzih%2fpolly-gamba - Not found
|
|
389
|
-
npm error 404
|
|
390
|
-
npm error 404 '@gonzih/polly-gamba@latest' is not in this registry.
|
|
391
|
-
npm error 404
|
|
392
|
-
npm error 404 Note that you can also install from a
|
|
393
|
-
npm error 404 tarball, folder, http url, or git url.
|
|
394
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_50_26_848Z-debug-0.log
|
|
395
|
-
npm error code E404
|
|
396
|
-
npm error 404 Not Found - GET https://registry.npmjs.org/@gonzih%2fpolly-gamba - Not found
|
|
397
|
-
npm error 404
|
|
398
|
-
npm error 404 '@gonzih/polly-gamba@latest' is not in this registry.
|
|
399
|
-
npm error 404
|
|
400
|
-
npm error 404 Note that you can also install from a
|
|
401
|
-
npm error 404 tarball, folder, http url, or git url.
|
|
402
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_50_39_463Z-debug-0.log
|
|
403
|
-
npm error code E404
|
|
404
|
-
npm error 404 Not Found - GET https://registry.npmjs.org/@gonzih%2fpolly-gamba - Not found
|
|
405
|
-
npm error 404
|
|
406
|
-
npm error 404 '@gonzih/polly-gamba@latest' is not in this registry.
|
|
407
|
-
npm error 404
|
|
408
|
-
npm error 404 Note that you can also install from a
|
|
409
|
-
npm error 404 tarball, folder, http url, or git url.
|
|
410
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_50_50_785Z-debug-0.log
|
|
411
|
-
npm error code E404
|
|
412
|
-
npm error 404 Not Found - GET https://registry.npmjs.org/@gonzih%2fpolly-gamba - Not found
|
|
413
|
-
npm error 404
|
|
414
|
-
npm error 404 '@gonzih/polly-gamba@latest' is not in this registry.
|
|
415
|
-
npm error 404
|
|
416
|
-
npm error 404 Note that you can also install from a
|
|
417
|
-
npm error 404 tarball, folder, http url, or git url.
|
|
418
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_50_58_649Z-debug-0.log
|
|
419
|
-
npm error code E404
|
|
420
|
-
npm error 404 Not Found - GET https://registry.npmjs.org/@gonzih%2fpolly-gamba - Not found
|
|
421
|
-
npm error 404
|
|
422
|
-
npm error 404 '@gonzih/polly-gamba@latest' is not in this registry.
|
|
423
|
-
npm error 404
|
|
424
|
-
npm error 404 Note that you can also install from a
|
|
425
|
-
npm error 404 tarball, folder, http url, or git url.
|
|
426
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_08_631Z-debug-0.log
|
|
427
|
-
npm error could not determine executable to run
|
|
428
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_15_510Z-debug-0.log
|
|
429
|
-
npm error could not determine executable to run
|
|
430
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_26_415Z-debug-0.log
|
|
431
|
-
npm error could not determine executable to run
|
|
432
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_37_096Z-debug-0.log
|
|
433
|
-
npm error could not determine executable to run
|
|
434
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_47_850Z-debug-0.log
|
|
435
|
-
npm error could not determine executable to run
|
|
436
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_51_58_602Z-debug-0.log
|
|
437
|
-
npm error could not determine executable to run
|
|
438
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_52_09_402Z-debug-0.log
|
|
439
|
-
npm error could not determine executable to run
|
|
440
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_52_20_118Z-debug-0.log
|
|
441
|
-
npm error could not determine executable to run
|
|
442
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_52_30_880Z-debug-0.log
|
|
443
|
-
npm error could not determine executable to run
|
|
444
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_52_41_634Z-debug-0.log
|
|
445
|
-
npm error could not determine executable to run
|
|
446
|
-
npm error A complete log of this run can be found in: /Users/feral/.npm/_logs/2026-04-01T15_52_52_367Z-debug-0.log
|
|
447
|
-
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
|
|
448
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 1: use strict: command not found
|
|
449
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: syntax error near unexpected token `('
|
|
450
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: `var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {'
|
|
451
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 1: use strict: command not found
|
|
452
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: syntax error near unexpected token `('
|
|
453
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: `var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {'
|
|
454
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 1: use strict: command not found
|
|
455
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: syntax error near unexpected token `('
|
|
456
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: `var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {'
|
|
457
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 1: use strict: command not found
|
|
458
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: syntax error near unexpected token `('
|
|
459
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: `var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {'
|
|
460
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 1: use strict: command not found
|
|
461
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: syntax error near unexpected token `('
|
|
462
|
-
/Users/feral/.npm/_npx/fe561c72834ff84d/node_modules/.bin/polly-gamba: line 2: `var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {'
|