Skip to content
02 / EXECUTION EVIDENCE / 5 MIN READ

From fills to closed trades.

Understand FIFO pairing, partial exits, open positions and what a unique execution ID protects.

One position. Two partial exits.Synthetic example · USD
OPENBuy 10 @ $100$2 fee
FIRST EXITSell 4 @ $105$0.80 fee
FINAL EXITSell 6 @ $107$1.20 fee
Quantity closed4 sharesAllocated fees$1.60Net P&L+$18.40Position remaining6 shares

Opening fees follow the matched quantity: $0.80 goes to the first exit, $1.20 to the final exit. Combined net result: $58.00. This illustration is separate from the downloadable sample.

Follow the steps

  1. Start with complete opening history

    Execution mode assumes a net position that begins flat. Include the opening fills before the closing fills. If your account holds separate long and short positions at once, export completed trades instead.

  2. Map a real buy or sell

    Each row needs symbol, buy/sell side, filled quantity, execution price and timestamp. Long/short describe a position, not whether a fill opens or closes it. Map positive USD fees and a unique execution ID where your broker provides one.

  3. Keep later exports in the same account

    FIFO pairs closing quantity with the earliest unmatched opening quantity for the same instrument. A partial exit creates a completed record for the quantity closed. Unmatched opening quantity remains in the account’s execution ledger until a later file supplies its exit.

  4. Inspect the reconciliation

    New executions and completed trades are different counts. Review allocated trade fees, net P&L and remaining open positions. Importing the same execution IDs again skips known fills; a conflicting price, quantity or time for the same ID stops the import.

Check the result

0 / 3 checked

Use these checks while you work. They stay on this page and do not change your journal.

When something differs

An order ID appears on several fills

Do not map it as a unique execution ID. Use the broker’s fill/execution ID if available. Without IDs, identical fills within a file are retained, but overlapping partial exports can be ambiguous. Compare overlap carefully before importing.

A later file would rewrite a past match

The import stops when backfilled evidence would change existing reconciliation. Resolve the source chronology first. Execution batches must be undone in dependency order; restore earlier opening evidence before its dependent exits.

A contract cannot derive USD P&L

Some futures, non-USD forex pairs and metals require an explicit USD contract multiplier or a reported USD realized P&L. The app does not assume a currency conversion. Reported realized P&L must belong only to the closing part of that execution.

SYNTHETIC PRACTICE FILES

A small file. Known totals.

Use a separate practice trading account. You can add a personal account from Account, subject to your plan’s allowance, then select it as the import destination. These files are examples, not market history. Imported sample rows count in normal analytics until their batch is undone.

Select Execution fills for the fills file. Use UTC, decimal point and Stocks / shares. The completed file supplies net P&L; select Already net of all allocated fees. The fills file has no reported realized P&L, so matching prices and fees determine its result. Review the auto-mapped columns before importing.