Operator FIXInitiator
SPL standard and specialized toolkits > com.ibm.streams.financial 2.0.0 > com.ibm.streams.financial.adapters.fix > FIXInitiator
The FIXInitiator operator functions as the Financial Information Exchange (FIX) Initiator. The initiator establishes the telecommunications link and initiates the session via transmission of the initial logon message.
Examples
The following is an example of a FIXInitiator invocation within an SPL program:
use com.ibm.streams.financial.adapters.fix::*;
stream<rstring message, rstring sessionID, rstring msgType>
InputInitiator(rstring message, rstring sessionID) =
FIXInitiator(Source1)
{
param
configFile: "trader.cfg";
handleAdmin: true;
}
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 2 parameters.
Required: configFile, handleAdmin
- Metrics
- This operator does not report any metrics.
Properties
- Implementation
- C++
- Threading
- Always - Operator always provides a single threaded execution context.
- Ports (0)
The input stream consists of a sessionID and a valid FIX message. Both stream attributes are represented as rstring objects. The input stream is a FIX message that is to be sent to a FIX acceptor.
- Properties
-
- Optional: false
- ControlPort: false
- TupleMutationAllowed: false
- WindowingMode: NonWindowed
- WindowPunctuationInputMode: Oblivious
- Assignments
- This operator requires that assignments made to output attributes be input stream attributes.
- Ports (0)
-
The output stream consists of a sessionID, a valid FIX message, and a msgType. All attributes of the stream are represented as rstring objects. The stream represents a FIX message that was received by the Initiator. The msgType field is added as a convenient way to filter outgoing messages for downstream processing.
- Properties
-
- Optional: false
- TupleMutationAllowed: false
- WindowPunctuationOutputMode: Free
- configFile
This parameter specifies the fully qualified path to a file which contains the configuration information needed to create an Initiator. The options that are specified in the configuration are documented at the QuickFIX Web page at http://www.quickfixengine.org/.
- Properties
-
- Type: rstring
- Cardinality: 1
- Optional: false
- ExpressionMode: AttributeFree
- handleAdmin
This parameter is a true or false flag that is used to determine whether you want to turn administration messages into streams.
- Properties
-
- Type: boolean
- Cardinality: 1
- Optional: false
- ExpressionMode: AttributeFree