Samples :: Dialect

Dialect BuySide Sample

Description

This is a FIX initiator that connects to the pre-defined host and port. When the session is established, the "MarketDataIncrementalRefresh"(MsgType='X') FIX message is sent to the counterparty. This message contains 2 custom tags defined in the dialect file.

This sample can be run together with the "DialectSellSide" sample. The "DialectSellSide" must be started first.

Usage

  • Run the sample:
    • win: 2-DialectBuySide.bat
    • linux: 2-DialectBuySide.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

Dialect SellSide Sample

Description

This is a FIX acceptor that waits for incoming connections on the pre-defined port (ListenPort). The acceptor session is configured with dialect file. If the incoming application-level message is not valid then the "Email" (MsgType='C') message is sent back.

This sample can be run together with the "DialectBuySide" sample. The "DialectSellSide" must be started first.

Usage

  • Run the sample:
    • win: 1-DialectSellSide.bat
    • linux: 1-DialectSellSide.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh