paper-trading
Run a structured paper-trading loop with SQLite-backed event logging, position tracking, and PnL review. Use when opening/closing simulated trades, journaling thesis notes, checking portfolio status, or generating weekly performance summaries.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brs999/paper-traderWhat This Skill Does
The paper-trading skill provides a high-fidelity environment for simulating crypto asset trading directly within OpenClaw. It utilizes a local SQLite database to maintain immutable records of all your trades, allowing for granular tracking of positions, stop-loss triggers, and take-profit targets without risking actual capital. The system supports full-cycle management including account initialization, trade execution (open/close), portfolio snapshots for PnL calculation, and a built-in journaling system to track your trading thesis and macro risk notes. Designed for developers and traders, it integrates seamlessly with node-based execution environments, offering both raw CLI feedback and JSON-formatted output for complex data analysis workflows.
Installation
To install this skill, use the ClawHub CLI command: clawhub install openclaw/skills/skills/brs999/paper-trader. Ensure your environment has Node.js installed, as the tool leverages the native node:sqlite module for efficient, zero-dependency database interactions. Once installed, initialize your trading account using the init command to set your base currency and starting balance.
Use Cases
This skill is ideal for:
- Strategy Backtesting: Validate your technical analysis entries and exits against simulated market conditions.
- Risk Management Training: Practice position sizing and stop-loss placement using your specific risk parameters (e.g., max-risk-pct).
- Trading Journaling: Maintain a clear record of the 'why' behind every trade by attaching thesis notes and tags (macro, risk, technical) directly to your position events.
- Portfolio Monitoring: Generate periodic performance reports and check your current unrealized PnL via status snapshots.
Example Prompts
- "I'm going long on 0.5 BTC at 64,000. Open a paper trade position for me with a stop loss at 62,000 and a take profit at 70,000. Use the WBTC mint address."
- "Show me my current portfolio status for the main account in a clean JSON format so I can analyze my total PnL."
- "Log a thesis note for my current long BTC position: 'Market structure shifted bullish after the breakout, keeping the stop firm at 63,500.'"
Tips & Limitations
- Mint Addresses: Always verify the correct wrapped token address (e.g., WBTC or WETH) when opening or closing positions, as the system treats these as unique identifiers for asset reconciliation.
- Experimental Warnings: The tool uses Node's experimental SQLite module; you may see a warning in the console, which is safe to ignore.
- Persistence: By default, the database lives in
~/.openclaw/paper-trading.db. You can manage multiple trading strategies by pointing to different database files using the--dbflag.
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-brs999-paper-trader": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
kalshi-api
Read-only Kalshi API skill for market discovery, liquidity checks, and market validation. Use for scanning and ranking Kalshi opportunities. Pair with a separate paper-trading skill if you want open/close execution.
kalshi-trades
Read-only Kalshi OpenAPI scouting skill for market discovery, liquidity checks, and market validation. Use for scanning and ranking Kalshi opportunities. Pair with a separate paper-trading skill if you want open/close execution.
kalshi-paper-trading
Kalshi-native paper trading ledger and CLI for binary prediction contracts. Use for paper opens, marks, reconciliation, valuation, and review without relying on the generic spot-style paper trader.
geckoterminal
Query GeckoTerminal market data - networks, DEXes, pools, tokens, OHLCV, trades, and trending/new pools.
kalshi-trading
Read-only Kalshi OpenAPI scouting skill for market discovery, liquidity checks, and market validation. Use for scanning and ranking Kalshi opportunities. Pair with a separate paper-trading skill if you want open/close execution.