dwlf_confirm_trade
Confirms a planned trade into an open position, applying actual entry, stop, size, and confirm reasons so the trade journal and decision analytics stay accurate.
Instructions
Confirm (take) a confirm-mode PLANNED trade — turns it into an OPEN position. Only trades with status "planned" can be confirmed. By default it opens at the planned entryPrice / positionSize / stop and stamps entryAt=now; override any of them to reflect what you actually did. ⚠️ OVERRIDING THE STOP IS THE COMMON CASE, not an exception: the engine derives its stop from regular-session candles, so it routinely sits inside the broker's wider range and has to be moved before the take. Overriding initialStop does NOT re-derive positionSize — pass both to keep risk constant. STRONGLY RECOMMENDED: pass confirmReasons[] — WHY the trade is being taken (the symmetric twin of skip reasons; feeds the Counterfactual scorecard / 2x2 decision analytics). Valid confirmReasons: fresh_cycle_entry, trendline_break_confirmed, cluster_confluence, regime_aligned, risk_reward_attractive, adding_to_winner, other. confirmNote is required when a reason is "other". Reasons are optional (untagged confirms still work) but every untagged confirm is decision-analytics data lost. Pair with dwlf_skip_trade to pass instead. Find planned trades via dwlf_list_trades(status: "planned").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tradeId": "<tradeId>"
},
"name": "dwlf_confirm_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryAt | No | Entry timestamp, ISO 8601 (defaults to now) | |
| tradeId | Yes | Planned trade ID to confirm/take | |
| entryPrice | No | Actual entry/fill price (defaults to the planned entryPrice) | |
| confirmNote | No | Entry rationale note (max 500 chars). Required when a reason is "other". | |
| initialStop | No | Actual stop the trade opens with (defaults to the planned stop). ⚠️ Overriding this does NOT re-derive positionSize — the planned size was computed from the PLANNED stop, so a wider stop means proportionally more money at risk. Pass positionSize in the same call to hold risk constant. | |
| positionSize | No | Actual position size / quantity (defaults to the planned size) | |
| confirmReasons | No | WHY the trade is taken (multi-select; see tool description for the valid set). First = primary. | |
| initialTakeProfit | No | Actual take-profit the trade opens with (defaults to the planned target) |