FIX connections
B2TRADER can be configured to function as a prime brokerage platform. In this case, B2TRADER acts as a Liquidity provider (Maker) for other BP setups (Takers) and is responsible for providing market data and handling orders received from linked BPs. Interactions between B2TRADER prime and the linked BPs are organized through the FIX protocol.
The linked BP should register as a trader on B2TRADER prime, create at least one account that will be used for trading operations, and make a deposit to it. Then a new FIX connection should be initialized, first on the B2TRADER prime side (Maker → Taker), and then on the linked BP side (Taker → Maker).
The Maker → Taker connection
To configure a new connection to a Taker on the side of B2TRADER prime:
Go to FIX connections > Taker, and then click Add connection.
In the popup that opens, fill in the following fields:
User (required) — select an email of a Taker for whom you establish the connection. Accounts of this user will be used for trading operations. Only emails of registered users are available for selection.
Session name — enter any value to help you identify the connection.
Session type (required) — there are two types of sessions: Market Data and Trading. For A-Book trading, both should be created. For the B-Book model, only the Market Data session is required.
Click Confirm.
In the popup that opens, you'll see a list of connection parameters that you need to securely pass to your Taker. First of all, save the Password — mind that the password only reveals once in this popup, and can't be accessed again if lost. Then click the Copy parameters button to copy other parameters (they can be accessed later, from the connection list on the Taker page).
Pass the connection parameters to the Taker, ensuring proper security measures are in place.
If configuring a connection for A-Book trading, repeat steps 1 to 5 to create another session type: if you initially created a Market Data session, create a Trading session next, and vice versa.
The Taker → Maker connection
To configure a new connection to a Maker on the side of the linked BP:
Go to FIX connections > Maker, and then click Add connection.
In the popup that opens, fill in the following fields:
Gateway type (required) — select B2TRADER prime.
Session type (required) — there are two types of sessions: Market Data and Trading. For A-Book trading, both should be created. For the B-Book model, only the Market Data session is required.
Click Create.
In the popup that opens, fill in the connection parameters:
Session name — enter any value to help you identify the connection.
Account (required) — enter the identifier of an account that you want to use for orders routed to the A-Book, this identifier, along with other connection parameters, was passed to you by the Maker (B2TRADER prime). If you have more than one account on B2TRADER prime, all of them will be listed in the connection parameters: select the one that you want to use.
Fill in the remaining connection parameters with the values passed to you by the Maker (B2TRADER prime).
If configuring a connection for A-Book trading, repeat steps 1 to 4 to create another session type: if you initially created a Market Data session, create a Trading session next, and vice versa.
After the connections on both sides are established, B2TRADER starts providing market data to the linked BP, all A-Book orders placed on the linked BP are sent to B2TRADER prime.
The connections can be disabled from either side, Maker or Taker, at any time.
See also:
Last updated
Was this helpful?