25.12.2012 Views

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1 <strong>TT</strong> <strong>Gateway</strong> and the Exchange<br />

Order and Trade Book<br />

Files<br />

<strong>CME</strong> <strong>Gateway</strong> <strong>System</strong> <strong>Administration</strong> <strong>Manual</strong> 25<br />

<strong>Trading</strong> Technologies International, Inc.<br />

The FIX log files are created in the :\tt\logfiles directory and uses<br />

the naming convention:<br />

Exchange-flavor_mode_MemberID_<strong>CME</strong>_send_recv_date.log, where<br />

MemberID is the Member ID assigned in the Order Router section in hostinfo.cfg.<br />

For <strong>CME</strong> <strong>Gateway</strong> 7.15.0 or higher, the name of the FIX log file shows the mode of<br />

the gateway and the targetCompId FIX tag value of “<strong>CME</strong>”. The unique<br />

MemberID is sent as FIX Tag senderCompId and is also reflected in the logfile<br />

name.<br />

Example:<br />

<strong>CME</strong>_A_PROD_P16000_BVMF_send_recv_2011-10-23.log .<br />

Whenever the Order Router sends or receives a FIX message, it writes the entire<br />

message to the Exchangeflavor__mode_MemberID_<strong>CME</strong>_send_recv_date.log<br />

file.<br />

The Order Server uses several files to help manage and track all orders and fills<br />

that pass through the <strong>CME</strong> <strong>Gateway</strong>. The Order Server reads these files to<br />

memory and updates them whenever orders or fills are received. The <strong>TT</strong> <strong>Gateway</strong><br />

stores these files in<br />

:\tt\datfiles:<br />

• The Exchange-flavor_mode_orders.tbl file record all orders (i.e.,<br />

working, filled, deleted, etc.) sent to the <strong>CME</strong> <strong>Gateway</strong> and their status. For<br />

<strong>CME</strong> <strong>Gateway</strong> Version 7.15.0 or higher, the name of this file has changed<br />

to reflect that one common file is created per Order Server. Refer to the<br />

following example.<br />

Example:<br />

If you installed <strong>CME</strong>-C <strong>Gateway</strong> 7.15.0 or higher in production mode, the file’s<br />

name would be: <strong>CME</strong>-C_PROD_orders.tbl<br />

• The Exchange-flavor_SessionIdMemberId_mode_fills.tbl file<br />

contains a record of all fills received from the exchange for the specified<br />

session (SessionIdMemberId). The rest of this manual refers to this file as<br />

the fills.tbl file.<br />

Example:<br />

If you installed a <strong>CME</strong>-C <strong>Gateway</strong> in production mode, the file’s name would be:<br />

<strong>CME</strong>-C_653ABC_PROD_fills.tbl<br />

• The Exchange-flavor_mode_MemberID_<strong>CME</strong>_msg.dat file contains<br />

FIX messages and information relevant to that particular order session and<br />

is used in conjunction with the Exchangeflavor_mode_SessionId_<strong>CME</strong>_idx.dat<br />

file, which the gateway uses to<br />

locate the messages in the *msg.dat file. The Exchangeflavor_mode_SessionId_<strong>CME</strong>_seqnum.dat<br />

file tracks sequence<br />

numbers of each message sent by the <strong>CME</strong> <strong>Gateway</strong>. The gateway syncs<br />

this number with the message sequence tracked by the exchange host.<br />

For detailed information on how the <strong>CME</strong> <strong>Gateway</strong> uses these files to reconstruct<br />

the Order and Trade Book during disaster recovery, refer to the section<br />

called Single <strong>Gateway</strong> Failure on page 101.<br />

X_TRADER ® uses the Trade and Order book files to populate its Fill window and<br />

Order Book respectively whenever it connects to the <strong>CME</strong> <strong>Gateway</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!