Try TT Now

Advanced Troubleshooting Tools

The following table lists additional tools available for FMDS:

ToolAccessed FromWhat to do?

FMDSConsole

A command prompt

If you are running 32-bit FMDS, navigate to: <root drive>:ttfmdsbin directory.

If you are running 64-bit FMDS, navigate to: <root drive>:ttfmdsbin64 directory.

Type: FMDSConsole

Brings up help document.

Note: Commands are case sensitive.

FMDSFileMonkey

A command prompt

If you are running 32-bit FMDS, navigate to: <root drive>:ttfmdsbin directory.

If you are running 64-bit FMDS, navigate to: <root drive>:ttfmdsbin64 directory.

Type: FMDSFileMonkey

Brings up help document.

Note: Commands are case sensitive.

The Data Management tool on the FMDS Management Console

Refer to Running a Free Text Command.

FMDSSyncData

A command prompt

If you are running 32-bit FMDS, navigate to: <root drive>:ttfmdsbin directory.

If you are running 64-bit FMDS, navigate to: <root drive>:ttfmdsbin64 directory.

Type: FMDSSyncData

Brings up help document.

Note: Commands are case sensitive.

Dated .TTLog logfiles

<root drive>:ttlogfiles

Checks Core issues.

TTM logfiles

<root drive>:ttlogfiles

Checks TTM issues.

TTFMDSFEED_date.log

<root drive>:ttlogfiles

Displays various FMDS messages.

FMDSConsole

FMDSConsole is a command line tool used to test, query and control the responder.

Tool OptionsResult

-V [ --version ]

Prints version to stdout and exit

-h [ --help ]

Print this message to stdout and exit

--verbose

Verbose output

--nocolor

Do not use any output colorizing

-x [ --x ]

Pause for debugger attach

CommunicationResult

--host arg

Host name or IP Address where TTM daemon is located

--port arg (=10200)

Port on which TTM daemon is listening

--service arg (=250)

TTM service on which FMDS is listening

CommandsResult

-p [ --ping ]

Ping FMDS

-q [ --quit ]

Quit Responder

-t [ --gettradecalendar ]

Get trade calendar document from FMDS

--getmanifest

Get the manifest (list of instrs)

--getdm

Get the current dynamic manifest

-g [ --getdata ]

Get data points in range (see --remainder-only)

-G [ --getdatask]

Get data points in range by using a series key

--getstats

Get FMDS statistics

--listen

Wait for unsolicited messages such as time sync

Data Request ParametersResult

-c [ --contract ] arg

Contract or spread specifications

-S [ --serieskey ] arg

Series key specification

--exch arg

Exchange for series key

-l [ --logic ] arg

Logic string (see below)

-s [ --start ] arg

Start time of range

-e [ --end ] arg

End time of range

--timeperiods arg

List of range to get data from

-E [ --epoch ] arg

Epoch for rollups

-m [ --maxrecords ] arg

Maximum # of records to retrieve

--recspermsg arg

Records per response message

--msgsperack arg

Messages before ACK is required

--remainder-only

Get remainder instead of data

--timeout arg

Request timeout (sec)

Statistic Request ParametersResult

--numactive

Get the number of active contracts

--numinactive

Get the number of inactive contracts

--numrequests

Get the number of requests for instruments

FMDSConsole examples:

Sample logic strings:

  • MP01: 1-minute market profile
  • TK: ticks (price updates)
  • S11|3|-2: 1-minute, two-legged, 3/2 bid-to-bid spread
  • S22|3|-2: 2-minute, two-legged, 3/2 bid-to-ask spread
  • S31|1|-1: 1-minute, two-legged, 1/1 last-to-last spread
  • S31|4|-5: 1-minute 4/5 spread profile (last-to-last)

Sample contract strings:

  • "CME-A.ES Mar11.Future"
  • "CME-A.ES Mar11.Future|CME-A.NQ Mar11.Future" (user defined spread)
  • "CME-A.Calendar: 1xGE Mar11:-1xGE Mar12.Spread"
  • "CME-B.Pack: 1xGE Mar11:1xGE Jun11:1xGE Sep11:1xGE Dec11.Spread"
  • "CME-B.Butterfly: 1xGE Mar11:-2xGE Jun11:1xGE Sep11.Spread"

Sample date/time strings:

  • "2011-Nov-2" - midnight on November 2
  • "2011-Nov-2 22:59:01" - 10:59:01 PM on November 2
  • "2011-Nov-2 22:59:00.123456" - 0.123456 microseconds past 10:59:00 PM
  • "2011-Nov-2 23:00:00-" - barely less than 11:00 PM

Sample commands to get price distribution data for a simple future and a custom (non-exchange-traded) spread:

  • FMDSConsole -g -c “CME.ES Dec11.Future” -l MP1 -s “2011-Nov-10” -e “2011-Nov-11 12:34”
  • FMDSConsole -g -c “CME.NQ Dec11.Future|CME.ES Dec11.Future” -l “S11|3|-2”

Note: Type all on one line. Optional parameters for host, service, and port omitted for brevity.

FMDSFileMonkey

You can now create the data management commands, originally only available using FMDSFileMonkey from the command line, using the Free Text window on the FMDS Management Console.

Refer to Free Text (FileMonkey) Commands.

FMDSSyncData

FMDSSyncData is a command line tool used to transfer missing data from one FMDS server to another. Refer to Copying Data for details.