KCG Hotspot FX FIX Adapter

Using the Adapter

The Spotfire Streaming Adapter for KCG Hotspot FX FIX allows a StreamBase application to connect to and exchange FIX messages with the following KCG Hotspot FX products:

  • BookFeed Market Data

  • Order Entry And Execution

Because this adapter uses the FIX protocol to communicate with the KCG Hotspot FX infrastructure, the adapter's user-visible functionality is nearly identical to that of the Spotfire Streaming FIX adapter. See the FIX Adapter page for primary instructions on configuring and using the KCG Hotspot FX adapter.

The KCG Hotspot FX adapter has the following differences, compared to the FIX adapter:

  • Product selection:

    Because the usage and semantics are different, the adapter makes a primary distinction between connecting to BookFeed Market Data and connecting to Order Entry And Execution. In the adapter's Properties view, on the Adapter Properties tab, use the Product control to select BookFeed (Market Data)or Order Entry / Execution. Use a different instance of the FIX adapter with the product configured appropriately to connect to either of these gateways.

  • Additional Configuration Settings:

    Because KCG Hotspot FX venues require a Username and Password to be included when logging in for both Market Data and Order Entry, you must specify these items in the configuration file used by the adapter.

    • For QuickFIX/J configuration files, add Username=MyUsername and Password=MyPassword entries in the session-specific section of the file.

    • StreamBaseFIX engine:

      Add the following section to your session's <session> tag of the StreamBaseFIX configuration file:

      <username>MyUsername</username>
      <password>MyPassword</password>

    Additionally, when using Order Entry you must also supply an HSFX User ID, which depending on your type of connection to the gateway will need to be specified in one of two fields:

    • Single User / Connection Setup: Your User ID must be specified in the SenderSubID field of all FIX message headers. To do so, add the following entry:

      • For QuickFIX/J configuration files, add SenderSubID=MyUserID in the session-specific section of the file.

      • StreamBaseFIX engine:

        Add the following section to your session's <session> tag of the StreamBaseFIX configuration file:

        <sender-sub-id>MyUserID</sender-sub-id>
    • Multiple User / Connection Setup: Your User ID must be specified in the OnBehalfOfSubID field of all FIX message headers. To do so, add the following entry:

      • For QuickFIX/J configuration files, add OnBehalfOfSubID=MyUserID in the session-specific section of the file.

      • StreamBaseFIX engine:

        Add the following section to your session's <session> tag of the StreamBaseFIX configuration file:

        <on-behalf-of-sub-id>MyUserID</on-behalf-of-sub-id>

As included in StreamBase software, this adapter can use the QuickFIX/J FIX engine and the StreamBase® High-Performance FIX Engine. The QuickFIX/J FIX engine is included in Spotfire StreamBase distributions. The StreamBase High-Performance FIX Engine is available as a separate product. Contact product Support for additional information.