In this article
One action, several events
MetaQuotes explains that one trade request can produce several transactions and their arrival priority is not guaranteed. Callback lines alone are therefore insufficient for reconstructing the whole operation. Preserve transaction types and relevant identifiers alongside the observed receipt sequence.
Separate the log from interpretation
Keep the raw file unchanged. Build a second table linking requests, orders, deals and positions only where records support each relationship. Label local receipt time separately from any source timestamp. Never reorder the original file to make a preferred explanation appear obvious to another reader.
Show gaps rather than filling them
Mark missing events as missing and compare the reconstruction with account history. Note collector restarts and known recording interruptions. Ask about a specific unmatched identifier. Unexpected arrival order alone does not establish manipulation. The useful result is a bounded map of confirmed relationships and unresolved gaps; keep account information private when sharing the diagnostic summary.
A readable incident summary
Put the original sequence and reconstructed relationships side by side. Mark which links came directly from identifiers and which remain hypotheses. If the collector restarted, do not join the last line before restart to the first line afterwards as though nothing could have happened between them. State the interruption explicitly. This format lets another investigator challenge a proposed explanation without losing access to the observations on which it was based.
| Layer | Treatment |
|---|---|
| Raw file | Unchanged |
| Link map | Evidence for each link |
| Gap | Unresolved |
Article sources
- OnTradeTransaction (opens in new tab) MetaQuotes