TT CME Gateway System Administration Manual - Trading ...
TT CME Gateway System Administration Manual - Trading ...
TT CME Gateway System Administration Manual - Trading ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Fill Server Data Flow<br />
5 Configuring Order Management<br />
• The Order Server records the order in its *_mode_orders.tbl file.<br />
• The Order Server sends an ACCEPT/Add message to the trader’s Audit Trail<br />
(in X_TRADER®).<br />
• The Order Server sends the order to the exchange host.<br />
• Upon receipt, the exchange host sends an order confirmation (containing<br />
the TON) back to the Order Server, and the order confirmation is sent (as<br />
an OK/ADD) to the trader’s Audit Trail in X_TRADER®.<br />
• The Order Server updates the Order Book with the TON Number to indicate<br />
that a confirmation was received, and writes it to the *_mode_orders.tbl<br />
file.<br />
Note: Terminology used in the following data flow matches terminology used in the <strong>Gateway</strong><br />
<strong>System</strong> - Logical Architecture diagram. Also, native orders are those orders normally<br />
accepted by the exchange's API.<br />
The Logical Architecture diagram illustrates the following fill flow:<br />
• The <strong>CME</strong> Group host matches the order.<br />
• The <strong>CME</strong> Group host sends a fill, with the TON, to the Order Router.<br />
• The Order Router matches the fill to the recorded order in the Order Book<br />
and updates the Order Book according to the type of fill received:<br />
- If the TON for the fill does not match a TON for an order in the order<br />
book, the Order Router notifies the trader’s and supervisory trader’s<br />
Audit Trails that the trader received a fill but that the fill does not<br />
match any of the orders in the Order Book.<br />
- If the fill completes the order, the Order Router removes the order<br />
from the Order Book.<br />
- If the fill does not complete the order (i.e., it is a partial fill), the Order<br />
Router updates the Order Book to reflect the partial fill.<br />
• The Order Router writes order changes to the *_mode_orders.tbl file and<br />
records the fill in its unique fills.tbl file.<br />
Note: The Order Server deletes completed orders from its<br />
*_mode_orders.tbl file only when it restarts.<br />
• Simultaneously, the Order Router:<br />
- Sends a fill response to X_TRADER®. X_TRADER® displays a fill in the<br />
Audit Trail. X_TRADER® updates the relevant files and screens (i.e., if<br />
it is a complete fill, the order is removed from the X_TRADER® Order<br />
Book).<br />
- Sends the fill to the Fill Server.<br />
• The Fill Server records the fill to the bof.tbl file and the FS Log.<br />
• X_TRADER® displays the fill in the Fill window.<br />
92 <strong>CME</strong> <strong>Gateway</strong> <strong>System</strong> <strong>Administration</strong> <strong>Manual</strong><br />
<strong>Trading</strong> Technologies International, Inc.