Why pay for this?
This recipe turns roughly 6 separate tool operations into one paid endpoint call and saves about ~75k tokens saved.
Load Polymarket performance analytics -> Review closed trades
Summarize a wallet's closed Polymarket trades into a compact review memo.
Endpoint: /v1/recipes/polymarket-closed-trades-review/run
Capabilities: askgina, predictions, polymarket, markets, closed-trades
This recipe turns roughly 6 separate tool operations into one paid endpoint call and saves about ~75k tokens saved.
Load Polymarket performance analytics -> Review closed trades
Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21
Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs
Source: api.402.bot
Step id: analytics
Source: Google Gemini Flash Structured
Step id: summarize
| Run | Status | Trigger | Queued |
|---|---|---|---|
| No recent runs recorded yet. Runs appear here after the first paid execution. | |||
{
"id": "analytics",
"url": "https://api.402.bot/analytics/predictions/polymarket/{{ $.input.walletAddress }}",
"kind": "http",
"query": {
"days": "{{ $.input.days }}",
"closedLimit": 50,
"activityLimit": 100,
"positionsLimit": 50
},
"title": "Load Polymarket performance analytics",
"method": "GET",
"outputPath": "$.response"
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Review closed trades",
"request": {
"params": {
"input": {
"summary": "{{ $.stepsById.analytics.output.summary }}",
"topLosers": "{{ $.stepsById.analytics.output.topLosers }}",
"topWinners": "{{ $.stepsById.analytics.output.topWinners }}",
"lookbackDays": "{{ $.stepsById.analytics.output.lookbackDays }}",
"walletAddress": "{{ $.input.walletAddress }}",
"closedPositions": "{{ $.stepsById.analytics.output.closedPositions }}"
},
"prompt": "Review these closed Polymarket trades for an operator. Focus on best and worst trades, repeatable patterns, and practical review actions.",
"responseSchema": {
"type": "object",
"required": [
"walletAddress",
"lookbackDays",
"summary",
"bestTrades",
"worstTrades",
"patternNotes",
"reviewActions"
],
"properties": {
"summary": {
"type": "string"
},
"bestTrades": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"realizedPnlUsdc"
],
"properties": {
"title": {
"type": "string"
},
"outcome": {
"type": "string"
},
"realizedPnlUsdc": {
"type": "number"
}
},
"additionalProperties": false
}
},
"worstTrades": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"realizedPnlUsdc"
],
"properties": {
"title": {
"type": "string"
},
"outcome": {
"type": "string"
},
"realizedPnlUsdc": {
"type": "number"
}
},
"additionalProperties": false
}
},
"lookbackDays": {
"type": "integer"
},
"patternNotes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Pattern notes."
},
"reviewActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Review actions."
},
"walletAddress": {
"type": "string"
}
},
"additionalProperties": false
},
"systemInstruction": "You are preparing a concise closed-trades review. Stay grounded in the supplied analytics only."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}