close_thesis
Close a thesis and record its resolution: target hit, stop-out, manual close, expiry, or invalidation, with optional exit price and note for realized return.
Instructions
Close a thesis, recording how it actually resolved.
Realised R is computed from the recorded entry and stop, so the result is
comparable across positions of different sizes.
Args:
thesis_id: Identifier returned by `journal_thesis`.
outcome: One of "target_hit", "stopped_out", "closed_manual",
"expired", "invalidated".
exit_price: Fill price, where there was one.
note: What actually happened, especially if the thesis was right for
the wrong reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| outcome | Yes | ||
| thesis_id | Yes | ||
| exit_price | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||