Main Page > Articles > Algorithmic Trading > The Art of the Custom Tag: Tailoring FIX for Proprietary Trading

The Art of the Custom Tag: Tailoring FIX for Proprietary Trading

From TradingHabits, the trading encyclopedia · 7 min read · February 28, 2026
The Black Book of Day Trading Strategies
Free Book

The Black Book of Day Trading Strategies

1,000 complete strategies · 31 chapters · Full trade plans

The Financial Information eXchange (FIX) protocol is the lingua franca of the global financial markets, providing a standardized language for electronic communication between buy-side firms, sell-side firms, and exchanges. While the standard FIX protocol is comprehensive, many proprietary trading firms find it necessary to extend the protocol to meet their unique needs. This article explores the art of customizing the FIX protocol for proprietary trading, including the strategic use of custom tags, the challenges of maintaining compatibility, and best practices for extending the protocol.

The Case for Customization

Proprietary trading firms, which trade with their own capital, often employ highly sophisticated and secretive trading strategies. These strategies may require the communication of information that is not covered by the standard FIX protocol. For example, a proprietary trading firm might want to send a custom tag to its execution broker to specify a particular trading algorithm to be used or to provide additional context about an order.

By extending the FIX protocol with custom tags, proprietary trading firms can:

  • Enhance their trading strategies: Custom tags can be used to communicate proprietary information that is essential for the execution of complex trading strategies.
  • Improve efficiency: Custom tags can be used to automate manual processes and to streamline workflows.
  • Gain a competitive edge: By tailoring the FIX protocol to their specific needs, proprietary trading firms can gain a competitive edge over firms that are limited to the standard protocol.

The Mechanics of Customization

The FIX protocol is designed to be extensible, allowing firms to define their own custom tags and messages. Custom tags are typically defined in the 5000-9999 range, which is reserved for user-defined tags. When defining a custom tag, it is important to choose a tag number that is not already in use and to clearly document the meaning and purpose of the tag.

In addition to custom tags, firms can also define their own custom messages. Custom messages are defined using the UserDefinedMessage (35=U) message type. This allows firms to create entirely new message types to support their specific workflows.

The Challenges of Customization

While customizing the FIX protocol can provide significant benefits, it also presents a number of challenges:

  • Interoperability: The biggest challenge of customization is maintaining interoperability with other trading partners. If a firm uses custom tags that are not understood by its counterparties, it can lead to communication errors and trade breaks.
  • Complexity: Customizing the FIX protocol can increase the complexity of a firm's trading systems. This can make it more difficult to develop, test, and maintain the systems.
  • Maintenance: As the FIX protocol evolves, firms that have customized the protocol will need to update their customizations to remain compatible with the latest version of the standard.

Best Practices for Customization

To mitigate these challenges, it is important to follow a set of best practices when customizing the FIX protocol:

  • Use custom tags sparingly: Only use custom tags when absolutely necessary. If the information can be communicated using standard tags, that is always the preferred approach.
  • Document everything: Clearly document the meaning and purpose of all custom tags and messages. This will make it easier for other developers to understand and maintain the code.
  • Collaborate with counterparties: Before using custom tags with a counterparty, it is important to discuss the proposed customizations and to agree on a common implementation.
  • Stay up-to-date: Keep abreast of the latest developments in the FIX protocol and be prepared to update your customizations as needed.

A Case Study: Custom Tags for Algorithmic Trading

A common use case for custom FIX tags is in the context of algorithmic trading. A proprietary trading firm might develop a suite of trading algorithms, each with its own set of parameters. To specify which algorithm to use for a particular order, the firm could define a custom tag, such as 9001=AlgoID. The value of this tag would be an integer that identifies the desired algorithm.

When the firm sends an order to its execution broker, it would include the 9001=AlgoID tag in the NewOrderSingle message. The broker's system would then use the value of this tag to route the order to the appropriate algorithm for execution.

In conclusion, customizing the FIX protocol can be a effective tool for proprietary trading firms. By carefully considering the trade-offs and by following a set of best practices, firms can extend the protocol to meet their unique needs and to gain a competitive edge in the market.