kirkluokun/awesome-a-stock-openclawskills5 files

Stock Trade Journal

按统一规则记录交易流水。按个股落 Markdown,同时写入 SQLite 便于统计与量化复盘。

Specification
Skill ID
kirkluokun/awesome-a-stock-openclawskills/stock-trade-journal
Publisher
kirkluokun
Repository
awesome-a-stock-openclawskills
Installs
0
Files
5
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

kirkluokun/awesome-a-stock-openclawskills/stock-trade-journalInstalls these files
  • README.md
  • SKILL.md
  • scripts/query_trades.py
  • scripts/record_trade.py
  • templates/trade-entry.md

What this skill tells the agent

stock-trade-journal

固定存储位置

  • results/trade-journal/records/<TS_CODE>.md
  • results/trade-journal/db/trades.db

执行规则

  1. 每次交易动作都记录(买/卖/加/减)。
  2. 同时写 Markdown + SQLite(双写)。
  3. Markdown 按个股持续追加,数据库用于后续统计计算。

命令模板

python3 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分批"

Use this skill in a project

Open any RiverX project, search the Skills panel for kirkluokun/awesome-a-stock-openclawskills/stock-trade-journal, and install it in one click.

Use this skill