IBM InfoSphere Streams Version 4.1.1

Operator StreamToFIXMessage

Primitive operator image not displayed. Problem loading file: ../../image/tk$com.ibm.streams.financial/op$com.ibm.streams.financial.adapters.fix$StreamToFIXMessage.svg

The StreamToFixMessage operator takes a stream of attributes and converts it to a valid Financial Information eXchange (FIX) message.

A stream is converted into a FIX message by taking the incoming stream of attributes and assigning them to their FIX message destination.

The operator requires that the attributes of the incoming tuple be in the same order as the fields assembled into the FIX message. This is required because the fields that belong to a group must be assembled in order.

Fields used to specify repeating groups need to be declared by using the composite types list<> and tuple<> as seen in the FIXMessageToStream example.

For all messages, the input stream must contain the following attributes BeginString, MsgType, SenderCompID, TargetCompID, and sessionQualifier.

Summary

Ports
This operator has 1 input port and 1 output port.
Windowing
This operator does not accept any windowing configurations.
Parameters
This operator supports 4 parameters.

Required: dictionaryFile

Optional: propertiesFile, numberNoValue, stringNoValue

Metrics
This operator does not report any metrics.

Properties

Implementation
C++
Threading
Always - Operator always provides a single threaded execution context.

Input Ports

Ports (0)

A set of attributes to convert into a valid FIX message. The attributes in the schema need to be in the same order as they would appear in a valid FIX message.

Properties

Output Ports

Assignments
This operator allows any SPL expression of the correct type to be assigned to output attributes.
Ports (0)

The output stream consists of a sessionID and a valid FIX message.

Properties

Parameters

This operator supports 4 parameters.
dictionaryFile

This parameter is the fully qualified path to a file which contains the data dictionary used to interpret the contents of the message.

Properties

propertiesFile

This optional parameter is the fully qualified path to a file which allows us to rename FIX field names as defined by the FIX data dictionary into names more suitable for the streams programmer. Field names can be renamed by using either the field name or field number as defined by the FIX specification. Each field to be renamed goes on a separate line. The content of the file would take on the following format. For example, to rename the TotNoOrders (68) field to totalOrderCount the properties file would need to contain one of the following lines:

totalOrderCount=TotNoOrders
totalOrderCount=68 
Properties

numberNoValue

This optional parameter is used to provide a value for numeric fields when that field that is requested does not exist.

Properties

stringNoValue

This optional parameter is used to provide a value for a string field when the field that is requested does not exist.

Properties

Libraries

quickfix FIX message library
Command: ../Common/FIXLibInfo.pl