trade-history
Read 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.
Why use this skill?
Learn how to use the OpenClaw trade-history skill to read, filter, and review your local trading logs from trades.jsonl with ease.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/newbienodes/trade-historyWhat This Skill Does
The trade-history skill for OpenClaw provides a reliable interface for managing and reviewing your local trading logs. By interacting directly with the trades.jsonl log file stored in your workspace, the agent can retrieve, filter, and present your historical trading activity. This skill acts as a bridge between raw data storage and human-readable reporting, allowing you to query specific symbols or limit results to recent timeframes. It ensures that your trading data—consisting of entries, stop-losses, take-profits, and custom notes—is always accessible during your decision-making processes. The tool is strictly read-only, ensuring that your precious trading records remain immutable and safe from accidental corruption.
Installation
You can integrate this skill into your OpenClaw environment by running the following command in your terminal:
clawhub install openclaw/skills/skills/newbienodes/trade-history
This command pulls the necessary Python scripts from the official repository and configures the execution path for your agent.
Use Cases
This skill is perfect for traders who maintain a local ledger of their market positions. Use it when you need to perform a rapid performance review, check your recent trade entries to verify your strategy execution, or analyze your past signals. It is particularly useful for traders who operate multiple strategies and need to isolate data based on asset pairs like BTCUSDT or ETHUSDT. It effectively turns your raw JSONL logs into a high-level performance tracking dashboard.
Example Prompts
- "Tampilkan 5 trade terakhir di BTCUSDT untuk evaluasi performa."
- "Ada berapa trade yang sudah tersimpan di log saya sejauh ini?"
- "Berikan recap trade terakhir yang saya catat."
Tips & Limitations
- Ordering: The script is hardcoded to return results in reverse chronological order, meaning your most recent trades will always appear at the top.
- Data Integrity: Because the tool only reads the log file, it cannot modify your data. Always ensure your logging mechanism is functioning correctly externally.
- Empty States: If you haven't performed any trades yet or the file is missing, the skill will return an empty list gracefully, meaning your agent will simply inform you that no records were found rather than throwing an error or crashing.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-newbienodes-trade-history": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
trade-memory
Save a trade or signal event to local memory log file (trades.jsonl). Use when a trade signal is confirmed and needs to be recorded, saved, or logged for future reference and history tracking.
btc-analyzer
Fetch live BTCUSDT 15m candles from Binance public API and analyze market direction UP/DOWN/SKIP using EMA20 and RSI14. Use when asked to analyze BTC price direction, get trading signal, or check market trend.