GAIN GTX FIX Adapter

Using the Adapter

The Spotfire Streaming Adapter for GAIN GTX allows a StreamBase application to connect to the trading infrastructure provided by GAIN Capital, and to exchange FIX messages with it.

Because this adapter uses the FIX protocol to communicate with the GAIN GTX infrastructure, its 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 GAIN GTX adapter.

The GAIN GTX adapter has the following differences, compared to the FIX adapter:

  • Username and Password:

    If your GAIN GTX account requires a username and password to be included when logging in, you must specify this username and password in the adapter's configuration file.

    • QuickFIX/J engine: Add Username=MyUsername and Password=MyPassword entries either in the session-specific section or the [DEFAULT] section of the file.

    • StreamBaseFIX engine:

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

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

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.