Trade execution · Cost control
One gold plan, explained through its actual fills
Confirm a linear gold or index contract, plan full-cost risk, stress the same size and explain your actual fills against the saved plan. FX models remain available.
Original method · Reproducible examplesOne synthetic gold contract
This is an arithmetic example, not a broker preset or a trade recommendation. Use Practice: synthetic gold in the workbench. Practice stays labeled and never counts as a real task completion.
Linear contract: 100 underlying units per lot, tick size 0.01 and tick value 1 USD per lot. USD account balance 10,000; risk budget 1% = 100 USD; available margin 2,000; entered margin per lot 2,000; volume grid 0.01 to 100 lots in steps of 0.01.
Long at midpoint 2,000, stop 1,990, target 2,020. Normal spread 20 ticks, additional entry slippage 10 ticks, exit slippage 20 ticks; commission 3.50 USD per lot per side, financing 2 USD per lot and no fixed charge.
Plan the same trade before and after stress
Normal effective entry = 2,000.20; stop fill = 1,989.70; target fill = 2,019.70. Per-lot stop loss is 1,050 + 7 commission + 2 financing = 1,059 USD. Floor 100 / 1,059 to the 0.01 lot grid: 0.09 lots. The planned loss is 95.31 USD; target net is 174.69 USD.
Stress uses 40 spread ticks, 20 entry slippage ticks, 50 exit slippage ticks and 4 USD financing per lot. The original 0.09 lot position would lose 100.89 USD at the modeled stop, over the budget. Resizing to 0.08 lots produces 89.68 USD of modeled stop loss. These are distinct choices: forming a plan explicitly selects normal or stress-resized volume.
A stop can gap and real charges can differ. Neither result is a guaranteed loss cap.
Save, then reconcile the actual fills
Select the normal alternative and form the plan. Download it if you will close the tab; restore the file later to recompute it. No automatic save, account connection or order is involved. The same contract and direction are used for the actual calculation.
For the unchanged case, choose target reference and enter 0.09 fully closed lots, entry 2,000.20, exit 2,019.70, conversion 1, total commission 0.63, financing 0.18, other 0, statement net 174.69 USD. Every difference and the statement residual should be zero.
For a different fill and fee case, use actual entry 2,000.30, exit 2,020.10, commission 0.70, financing 0.20, other 0.05 and statement net 177.25 USD. Keep 0.09 lots and conversion 1.
| Bridge from saved target | USD |
|---|---|
| Saved target net | 174.69 |
| Entry fill effect | −0.90 |
| Exit fill effect | +3.60 |
| Commission difference | −0.07 |
| Financing difference | −0.02 |
| Other fees | −0.05 |
| Calculated actual net | 177.25 |
If the statement instead says 177.31, a 0.06 unexplained residual remains. The tool must not invent a cause or hide it inside rounding when tolerance is 0.01.
What the difference means
Gross P&L in profit currency = direction × (exit − entry) ÷ tick size × tick value × lots. Convert that gross once, then subtract actual signed costs in account currency. Positive cost means charge; negative cost means credit. Actual fills already contain their spread and slippage. Do not subtract them again.
The bridge changes quantity first, then entry, exit, conversion and each fee. The sum is checked in exact rational arithmetic. Price effects compare a scenario with fills: they may include market movement or a different exit decision. Without contemporaneous quotes, they are not a measured spread/slippage attribution.
Supports one fully closed round trip of a confirmed linear gold/index contract; EUR/USD and USD/JPY models remain available. Weighted fill prices must describe that complete position. No inverse/quanto/nonlinear contracts, open residual positions, taxes, multi-currency fee ledger, tiered or hedged margin, automatic assignment, broker verification or profitability judgement. A source label is the user's record, not verification by PipGauge.
Unknown or inconsistent specifications, blank actual inputs and unconfirmed trades cannot produce a valid plan/audit. Imported plan results are recomputed; saved results are never trusted as authoritative.
Start with your specification → · Inspect existing fixed formula cases