stock-trade-journal
Original:🇨🇳 Chinese
Translated
2 scriptsChecked / no sensitive code detected
Record transaction flow in accordance with unified rules. Save records by individual stock in Markdown format, and simultaneously write to SQLite for statistics and quantitative review.
11installs
Added on
NPX Install
npx skill4agent add kirkluokun/awesome-a-stock-openclawskills stock-trade-journalTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →stock-trade-journal
Fixed Storage Locations
results/trade-journal/records/<TS_CODE>.mdresults/trade-journal/db/trades.db
Execution Rules
- Record every trading action (buy/sell/add/reduce).
- Write to both Markdown and SQLite (dual write).
- Append continuously to Markdown by individual stock, and use the database for subsequent statistical calculations.
Command Template
bash
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 "Lock profits at resistance level first" --stop-loss 37.2 --take-profit "Batch at 45.5"