with one click
stock-trade-journal
按统一规则记录交易流水。按个股落 Markdown,同时写入 SQLite 便于统计与量化复盘。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
按统一规则记录交易流水。按个股落 Markdown,同时写入 SQLite 便于统计与量化复盘。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
使用 Grok 实时搜索 X/Twitter,查找帖子、热门话题和讨论,并附带引用来源。
A股主题跟踪 — 从韭菜公社抓取市场热点、产业链、异动板块、最新段子,AI 结构化提取后进行多维分析。
Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
通过 Tushare Pro MCP 获取中国金融市场数据。覆盖 A股/港股/美股/基金/期货/债券/宏观 共 158+ 个接口。当需要股价、财务、指数、宏观数据时,使用 tushare_* MCP tool 而非 Python 脚本。
Searches Google and extracts full page content from every result via trafilatura. Returns clean readable text, not just snippets. Use when the user needs web search, research, current events, news, factual lookups, product comparisons, technical documentation, or any question requiring up-to-date information from the internet.
| name | stock-trade-journal |
| description | 按统一规则记录交易流水。按个股落 Markdown,同时写入 SQLite 便于统计与量化复盘。 |
| when | 当用户说“记一下这笔交易”“记录交易”“建交易日志”“按模板持续记录”时使用。 |
| examples | ["记录:603067.SH 在44.1减仓2900股,剩余34000","把这笔交易按模板记下来","查一下振华股份最近交易流水"] |
| metadata | {"openclaw":{"emoji":"📒","requires":{"bins":["python3"]}}} |
results/trade-journal/records/<TS_CODE>.mdresults/trade-journal/db/trades.dbpython3 scripts/record_trade.py \
--workspace ~/.openclaw/workspace \
--ts-code 603067.SH --side SELL --price 44.1 --quantity 2900 \
--position-before 36900 --position-after 34000 \
--reason "压力位先锁利润" --stop-loss 37.2 --take-profit "45.5分批"