---
title: "FIX Connections"
description: "The Financial Information eXchange (FIX) is the standard electronic communications protocol for front-office messaging. LEAN has some FIX connections."
canonical: https://www.quantconnect.com/docs/v2/cloud-platform/live-trading/brokerages/fix-connections
markdown: https://www.quantconnect.com/docs/v2/cloud-platform/live-trading/brokerages/fix-connections.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/01%20Cloud%20Platform/10%20Live%20Trading/02%20Brokerages/97%20FIX%20Connections
modified: 2026-11-01
index: https://www.quantconnect.com/llms.txt
---

# FIX Connections

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Cloud Platform](https://www.quantconnect.com/docs/v2/cloud-platform.md) > [Live Trading](https://www.quantconnect.com/docs/v2/cloud-platform/live-trading.md) > [Brokerages](https://www.quantconnect.com/docs/v2/cloud-platform/live-trading/brokerages.md) > FIX Connections

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

The Financial Information eXchange (FIX) is the standard electronic communications protocol for front-office messaging. The FIX community includes about 300 firms, including major investment banks.

## Supported Connections

The following FIX connections are available on QuantConnect:

| Name | Integration Implementation | Model Implementation |
| --- | --- | --- |
| [Bloomberg](https://www.quantconnect.com/docs/v2/cloud-platform/live-trading/brokerages/bloomberg-fix.md) | Lean.Brokerages.Fix.Bloomberg | [BloombergFixBrokerageModel.cs](https://github.com/QuantConnect/Lean/blob/master/Common/Brokerages/BloombergFixBrokerageModel.cs) |
| Raiffeisen Bank International | [Lean.Brokerages.RaiffeisenBankInternational](https://github.com/QuantConnect/Lean.Brokerages.RaiffeisenBankInternational) | [RBIBrokerageModel.cs](https://github.com/QuantConnect/Lean/blob/master/Common/Brokerages/RBIBrokerageModel.cs) |
| [Wolverine](https://www.quantconnect.com/docs/v2/cloud-platform/live-trading/brokerages/wolverine.md) | [Lean.Brokerages.Wolverine](https://github.com/QuantConnect/Lean.Brokerages.Wolverine) | [WolverineBrokerageModel.cs](https://github.com/QuantConnect/Lean/blob/master/Common/Brokerages/WolverineBrokerageModel.cs) |

## Order Properties

FIX connections support custom order properties. The following table describes the members of the `FixOrderProperties` object that you can set to customize order execution:

| Property | Data Type | Description | Default Value |
| --- | --- | --- | --- |
| `time_in_force` | `TimeInForce` | A [TimeInForce](https://www.quantconnect.com/docs/v2/writing-algorithms/trading-and-orders/order-properties.md#03-Time-In-Force) instruction to apply to the order. | `TimeInForce.GOOD_TIL_CANCELED` |
| `handle_instruction` | `str/NoneType` | The instruction for order handling on the broker floor. The following values are supported: `FixOrderProperties.AUTOMATED_EXECUTION_ORDER_PRIVATE`: Automated execution order, private, no broker intervention `FixOrderProperties.AUTOMATED_EXECUTION_ORDER_PUBLIC`: Automated execution order, public, broker intervention OK `FixOrderProperties.MANUAL_ORDER`: Staged order, broker intervention required |  |
| `notes` | `str` | The free form text instructions that may be sent to the broker. |  |
| `additional_properties` | `BaseExtendedDictionary[str, str]` | The custom FIX tags to send with the order. The key is the FIX tag number and the value is the tag value. | An empty dictionary |

Each FIX connection provides an order properties class that inherits the `FixOrderProperties` class. For example, the Bloomberg FIX connection provides the `BloombergFixOrderProperties` class.

Some FIX counterparties require extra tags on order messages. For example, a broker behind the Bloomberg FIX connection requires tag 9301=1 to mark orders as direct market access (DMA). To send extra tags with your orders, add them to the `additional_properties` dictionary:

```python
def initialize(self) -> None:
    # Set the default order properties to mark orders as direct market access (DMA)
    order_properties = BloombergFixOrderProperties()
    order_properties.additional_properties["9301"] = "1"
    self.default_order_properties = order_properties
```

The dictionary starts empty and you can't replace it with a plain Python dictionary. To add several tags at once, call the `update` method with a dictionary. To remove all the tags, call the `clear` method.

## Portfolio State

FIX connections do not support fetching the portfolio state. You must provide the cash and holdings on deployment.

If your brokerage account has existing cash holdings, follow these steps ([see video](https://vimeo.com/703024505)):

1. In the **Algorithm Cash State** section, click **Show**.
2. Click **Add Currency**.
3. Enter the currency ticker (for example, USD or CAD) and a quantity.

If your brokerage account has existing position holdings, follow these steps ([see video](https://vimeo.com/703024505)):

1. In the **Algorithm Holdings State** section, click **Show**.
2. Click **Add Holding**.
3. Enter the symbol ID, symbol, quantity, and average price.
