Installation & Uninstallation

Requirements & Compatibility

Supported operating systems:

Supported compilers:

Installation instruction

Under Win32

For Microsoft Visual C++ 6.0

In the Project Settings dialog (select Project ->Settings), add "V12.lib", "Ws2_32.lib" libraries to the Object/Library Modules entry in the Link tab and switch on the support for Run-Time Type Information (in the C/C++ tab, select C++ Language from the Category list and click to check the Enable Run-Time Type Information (RTTI)" option). In the C/C++/Code Generation/Use run-time library section select 'Debug Multithreaded DLL' for the debug version and 'Multithreaded DLL' for the release one.

V12.DLL file must be located in one of the following directories:

For Microsoft Visual .Net 7.0

To add the library:

  1. Click "Project" -> "Properties"
  2. Go to the Linker sub-directory
  3. Under the Input selection, add the following library file to the Additional Dependencies field: V12_7.lib

V12_7.DLL file must be located in one of the following directories:

For Microsoft Visual .Net 7.1

To add the library:

  1. Click "Project" -> "Properties"
  2. Go to the Linker sub-directory
  3. Under the Input selection, add the following library file to the Additional Dependencies field: V12_71.lib

V12_71.DLL file must be located in one of the following directories:

For Microsoft Visual .Net 8

To add the library:

  1. Click "Project" -> "Properties"
  2. Go to the Linker sub-directory
  3. Under the Input selection, add the following library file to the Additional Dependencies field: V12_8.lib

V12_8.DLL file must be located in one of the following directories:

Note

Under Win64

For Microsoft Visual .Net 8

To add the library:

  1. Click "Project" -> "Properties"
  2. Go to the Linker sub-directory
  3. Under the Input selection, add the following library file to the Additional Dependencies field: V12_8.lib

V12_8.DLL file must be located in one of the following directories:

Under Solaris

When compiling, it is necessary to indicate adding the libV12.so library as well as socket, nsl, pthread and rt system libraries.

For example:

CC engine.cpp -mt -o engine -Iheaders -R . -L . -lV12 -lsocket -lnsl -lpthread -lrt

Under Linux

When compiling, it is necessary to indicate adding the libV12.so library, the pthread system library and to use the following compiler options:

-D_LINUX -fpic -pthread.

For example:

g++ -O -DNDEBUG -D_LINUX -fpic -pthread -o connectToGateway ConnectToGateway.o -I../../headers ../../lib/libV12.so -lpthread

Install license

License file contains encrypted information about product, company it is issued to, expiration date, restrictions on instances, etc. It is distributed separately from the release package and usually named "engine.license". The file must be placed somewhere on the disk and path to it must be specified in engine.properties file (see Configuration).

Package structure description

B2BITS FIX Antenna package consists of:

inline_dotgraph_1.dot

Samples descriptions

Samples is a set of pre-built small application accompanied with sources, which demonstrate the usage of the core FIX Antenna functionality.

Benchmark

This directory contains a basic benchmarking tool.

The tool consists of Receiver and Sender.

When you start Receiver it:

When you start Sender it:

When Receiver gets all message it calculates the performance as a number of received messages divided by the time frame between receiving the first and last messages. When Sender enqueus all messages it calculates the performance as a number of enqueued messages divided by the time frame between put the first and last messages.

Setup

There are three configuration files:

The two first hold the general engine parameters such as listen port, log directory, etc. The third file holds the benchmark properties: session parameters, number of messages to be sent, measuring message source, etc.

All files are pretty well preconfigured and ready to use.

When changing configuration make sure that Sender and Receiver uses different ports and log directories.

Run

Both Receiver and Sender hold two input parameters: engine properties file and sender properties file. To start benchmark run Receiver first

Receiver engine.receiver.properties benchmark.properties

wait for notification

NOTIFICATION: Acceptor created. Waiting for initiator...

then run Sender

Sender engine.sender.properties benchmark.properties

Enjoy the benchmark result on the Receiver's console

ConnectToGateway

This application creates a FIX session in accordance to its arguments (from property file).

Sample support following properties:

When you start ConnectoToGateway it:

ConnectToGatewayEx

This application creates a FIX session in accordance to its arguments (from command line):
{-optionalParameterName Value} SenderCompId TargetCompId Host Port

Where

Sample support following optional parameters:

When you start ConnectoToGateway it:

EchoServer

EchoServer creates and maintains FIX sessions, initiated by the other side, receives application-level FIX messages and sends them back to the initiator.

When you start EchoServer it:

BenchmarkFast

This directory contains a basic benchmarking tool for the FIX over FAST sessions.

The tool consists of Receiver and Sender.

When you start Receiver it:

When you start Sender it:

When Receiver gets all message it calculates the performance as a number of received messages divided by the time frame between receiving the first and last messages. When Sender enqueus all messages it calculates the performance as a number of enqueued messages divided by the time frame between put the first and last messages.

Setup

There are three configuration files:

The two first hold the general engine parameters such as listen port, log directory, etc. The third file holds the benchmark properties: session parameters, number of messages to be sent, measuring message source, etc.

All files are pretty well preconfigured and ready to use.

When changing configuration make sure that Sender and Receiver uses different ports and log directories.

Run

Both Receiver and Sender hold two input parameters: engine properties file and sender properties file. To start benchmark run Receiver first

Receiver engine.receiver.properties benchmark.properties

wait for notification

NOTIFICATION: Acceptor created. Waiting for initiator...

then run Sender

Sender engine.sender.properties benchmark.properties

Enjoy the benchmark result on the Receiver's console

FastConnectToGateway

This application creates a FIX over FAST session in accordance with its command-line arguments:
{-optionalParameterName Value} SenderCompId TargetCompId Host Port

Where

Optional parameters:

When you start FastConnectoToGateway it:

FastEchoServer

FAST EchoServer creates and maintains FIX over FAST sessions, initiated by the other side, receives application-level FIX messages and sends them back to the initiator.

When you start FastEchoServer it:

FixMTStatistics

Sample that shows an example of how to get statistical information from FIX Antenna. Sample creates sessions and sends messages in accordance to its arguments (from command line):
<engine properties file> <fix protocol: 4.0-4.4> <file with message> <message amount>

Where 

When you start FixMTStatistics it:

Creates session acceptor. Done.
Create session initiator. Done.
Send 100 messages to acceptor. Done.
All 100 messages have been sent. Close session.
Engine statistics:
Average received message handling time: 8.1e-005 sec.
Average received message 'D' handling time: 8.2e-005 sec.
Average send message handling time: 0.000483 sec.
Average send message 'D' handling time: 0.000483 sec.
Average message validation time: 0 sec.
Average 'D' message validation time: 0 sec.
Message received: 103
Message sent: 12
Total message procceed: 115

TransientSession

Sample that demonstrates how to create and use transient FIX sessions i.e. sessions, which do not have persistence. Sample creates sessions and sends messages in accordance to its arguments (from command line):
<engine properties file> <file with message> <message amount>

Where 

When you start TransientSession it:

Creates session acceptor. Done.
Create session initiator. Done.
Send 100 messages to acceptor. Done.
All 100 messages have been sent. Close session.
Engine statistics:
Average received message handling time: 1.5e-005 sec.
Average received message 'D' handling time: 1.6e-005 sec.
Average send message handling time: 0.000142 sec.
Average send message 'D' handling time: 0.000142 sec.
Total message procceed: 120

TrEchoServer

TrEchoServer creates and maintains transient FIX sessions ( i.e. sessions, which do not have persistence), initiated by the other side, receives application-level FIX messages and sends them back to the initiator. When you start TrEchoServer it:

Uninstallation instructions

To uninstall FIX Antenna simply remove the FIX Antenna directory from disk. It is recommended to keep license file though.

Generated on Fri Apr 17 12:26:09 2009 for B2BITS FIX Antenna C++ by  doxygen 1.5.6