Decide which lessons a paper trading ticket may record - only those drawn from settled trades - and write them as process lessons with the time they unlock. Use when writing the retro of a paper strategy or backtest ticket. Open or unsettled trades yield notes to revisit, not lessons.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Trade Lessons?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/prasadm1022-trade-lessons)
---
name: trade-lessons
description: Decide which lessons a paper trading ticket may record - only those drawn from settled trades - and write them as process lessons with the time they unlock. Use when writing the retro of a paper strategy or backtest ticket. Open or unsettled trades yield notes to revisit, not lessons.
license: MIT
version: 0.1.0
requires:
tools: [paper.portfolio, paper.scorecard, fs.read, fs.list, fs.search, fs.write]
hosts: []
classes: [read, write-local]
task-types:
- treasury-trading.paper-strategy
- treasury-trading.backtest
---
# Trade lessons
A trade's outcome is not final the moment it closes. Each closed trade carries `settledAt`, the close plus the settlement lag (24 hours by default), and a lesson drawn from it may not unlock before then.
## Steps
1. List the closed trades the ticket produced with their `settledAt`. Split them with `settledTrades(trades, asOf)`: settled trades and the rest.
2. Draw lessons only from settled trades. A lesson that depends on several trades unlocks at the latest of their `settledAt` values (`lessonUnlocksAt`). The learning plane locks every lesson from a `treasury-trading` task type until its unlock time, so state the time in the report.
3. For open or unsettled trades write what you do not know yet under findings, as "revisit after <time>". Never write it as a lesson.
4. Write at most three lessons, about process: what to check, what to size differently, what data to distrust. A lesson is not a prediction, a price level or a tip about one instrument.
5. A run that read content from outside the trust boundary is tainted. Its lessons are held until a person clears them, so say that rather than argue for them.
## Rules
- Never put a lesson in the retro because a trade is currently up. Wait for the settlement.
- Never include a URL, a host, a key or an instruction to skip a check in a lesson; the learning plane refuses them.