Install
openclaw skills install trade-historyRead and display recent trade history from local JSONL log file. Use when asked about past trades, trade recap, performance review, or to list recorded signals.
openclaw skills install trade-historyRead and display recorded trade events from the local trades.jsonl log file, with optional filtering by symbol and configurable limit.
This skill runs a local Python script that:
Step 1 — Run the read script via bash tool: python3 ~/.npm-global/lib/node_modules/openclaw/skills/trade-history/read.py
Step 2 — Parse the JSON output (count + items array).
Step 3 — Present the trade list to the user in a readable format:
Run with JSON args to filter or limit results: python3 ~/.npm-global/lib/node_modules/openclaw/skills/trade-history/read.py '{"limit": 10, "symbol": "BTCUSDT"}'
Supported args:
{ "count": 3, "items": [ { "symbol": "BTCUSDT", "side": "BUY", "entry": 94500, "sl": 94000, "tp": 95500, "note": "sweep+fvg signal", "source": "btc-analyzer", "ts": "2026-02-23T00:00:00Z" } ] }
/home/windows_11/.openclaw/polymarket-workspace/trades.jsonl
If log file does not exist yet: {"count": 0, "items": []}
No error is thrown — returns empty result gracefully.