Tracking Asynchronous Trade Transactions for Multi-Order Execution
Summary
This document explains a MetaTrader library for accessing trading transaction data throughout a program, rather than only inside the transaction event handler. It presents this as a way to make asynchronous order workflows easier to build: a program can submit orders in a batch, inspect their transaction records, and wait for server responses before proceeding.
The examples illustrate polling newly recorded transactions and using request identifiers to wait for a group of orders to complete. They also show opening positions across symbols and closing or deleting existing orders. The article describes the library’s intended functionality and implementation dependencies, but offers no execution benchmarks or evidence about fill quality, latency, or reliability. Asynchronous submission and confirmation handling also do not guarantee that orders will fill as intended; the examples are programming demonstrations rather than a trading strategy.
Key ideas
- The library makes transaction details available outside the standard transaction event handler.
- It supports asynchronous submission of multiple trading orders and waiting for their responses.
- The examples cover opening positions across symbols and closing or deleting orders.
- The document gives no performance benchmarks or guarantees about execution outcomes.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.