# Send Prediction Trade Journal to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "prediction-trade-journal",
    "name": "Prediction Trade Journal",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "canonicalUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/prediction-trade-journal",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=prediction-trade-journal",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "clawhub.json",
      "scripts/status.py",
      "tradejournal.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "prediction-trade-journal",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T05:36:54.648Z",
      "expiresAt": "2026-05-10T05:36:54.648Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=prediction-trade-journal",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=prediction-trade-journal",
        "contentDisposition": "attachment; filename=\"prediction-trade-journal-1.1.13.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "prediction-trade-journal"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/prediction-trade-journal"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/prediction-trade-journal",
    "downloadUrl": "https://openagent3.xyz/downloads/prediction-trade-journal",
    "agentUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent",
    "manifestUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent.md"
  }
}
```
## Documentation

### Prediction Trade Journal

Track every trade, learn from outcomes, improve your edge.

### When to Use This Skill

Use this skill when the user wants to:

See their trade history
Track win rate and P&L
Generate trading reports
Analyze which strategies work best

### Quick Commands

# Sync trades from API
python tradejournal.py --sync

# Show recent trades
python tradejournal.py --history 10

# Generate weekly report
python tradejournal.py --report weekly

# Export to CSV
python tradejournal.py --export trades.csv

API Reference:

Base URL: https://api.simmer.markets
Auth: Authorization: Bearer $SIMMER_API_KEY
Trades: GET /api/sdk/trades

### How It Works

Sync - Polls /api/sdk/trades to fetch trade history
Store - Saves trades locally with outcome tracking
Track - Updates outcomes when markets resolve
Report - Generates win rate, P&L, and calibration analysis

### CLI Reference

CommandDescription--syncFetch new trades from API--history NShow last N trades (default: 10)--sync-outcomesUpdate resolved markets--report daily/weekly/monthlyGenerate summary report--configShow configuration--export FILE.csvExport to CSV--dry-runPreview without making changes

### Configuration

SettingEnvironment VariableDefaultAPI KeySIMMER_API_KEY(required)

### Storage

Trades are stored locally in data/trades.json:

{
  "trades": [{
    "id": "uuid",
    "market_question": "Will X happen?",
    "side": "yes",
    "shares": 10.5,
    "cost": 6.83,
    "outcome": {
      "resolved": false,
      "winning_side": null,
      "pnl_usd": null
    }
  }],
  "metadata": {
    "last_sync": "2025-01-29T...",
    "total_trades": 50
  }
}

### Skill Integration

Other skills can enrich trades with context:

from tradejournal import log_trade

# After executing a trade
log_trade(
    trade_id=result['trade_id'],
    source="copytrading",
    thesis="Mirroring whale 0x123...",
    confidence=0.70
)

This adds thesis, confidence, and source to the trade record for better analysis.

### Example Report

📓 Weekly Report
========================================
Period: Last 7 days
Trades: 15
Total cost: $125.50
Resolved: 8 / 15
Win rate: 62.5%
P&L: +$18.30

By side: 10 YES, 5 NO

### Troubleshooting

"SIMMER_API_KEY environment variable not set"

Set your API key: export SIMMER_API_KEY=sk_live_...

"No trades recorded yet"

Run python tradejournal.py --sync to fetch trades from API

Trades not showing outcomes

Run python tradejournal.py --sync-outcomes to update resolved markets
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: adlai88
- Version: 1.1.11
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T05:36:54.648Z
- Expires at: 2026-05-10T05:36:54.648Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/prediction-trade-journal)
- [Send to Agent page](https://openagent3.xyz/skills/prediction-trade-journal/agent)
- [JSON manifest](https://openagent3.xyz/skills/prediction-trade-journal/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/prediction-trade-journal/agent.md)
- [Download page](https://openagent3.xyz/downloads/prediction-trade-journal)