FIX protocol
From Wikipedia, the free encyclopedia
The Financial Information eXchange (FIX) protocol is an electronic communications protocol developed for international real-time exchange of information related to the securities transactions and markets. It is a self-describing protocol in many ways similar to other self-describing protocols such as the newer XML; however largely because its use and general acceptace predates XML it remains much more common than XML in securities trading systems.
FIX Protocol, Ltd. is the company established for the purpose of owning and maintains and owns the specification, while keeping it in the public domain.
FIX is used by both the buy side (institutions) as well as the sell side (brokers/dealers) of the financial markets. Among its users are mutual funds, investment banks, brokers, stock exchanges and ECNs. See FIX Protocol Organization for an extensive list of major FIX users.
The FIX protocol is a technical specification for electronic communication of trade-related messages. More precisely, the FIX protocol is a series of messaging specifications developed through the collaboration of banks, broker-dealers, exchanges, industry utilities and associations, institutional investors, and information technology providers from around the world. These market participants share a vision of a common, global language for automated trading of securities, derivatives, and other financial instruments.
FIX is open and free, but is not software. Rather, FIX is a specification around which software developers can create commercial or open-source software, as they see fit. As the market's leading trade-communications protocol, FIX is integral to many order management and trading systems. Yet, its power is unobtrusive, as users of these systems can benefit from FIX without knowing the language itself.
FIX messages are formed from a number of fields, each field is a tag value pairing that is separated from the next field by a delimiter SOH. The TAG is a string representation of an integer that indicates the meaning of the field. The value is an array of bytes that hold a specific meaning for the particular TAG. eg TAG 48 is securityID and is a string that identifies the security, TAG 22 is IDSource and is an integer that indicates the identifier class being used. In the main the value is readable text however fields can be encrypted and thus the value can be pure binary and include the normal delimiter SOH - binary fields are always preceded by a length field. The FIX protocol defines meanings for most TAGs and a range of TAGs is reserved for private use between consenting parties.
The FIX protocol also defines sets of fields that make a particular message, within the set of fields some will be mandatory and others optional. The ordering of fields within the message is generally unimportant, however as noted length of encryption fields precede the encrypted fields also repeating groups are preceded by a count. The message is broken into three distinct sections: the head, body and tail. Fields must remain within the correct section and within each section the position may be important as fields can act as delimiters that stop one message from running into the next - the final field in any FIX message is TAG 10 (checksum).
There are two main groups of messages - admin and application. The admin messages handle the basics of a FIX session. They allow for a session to be started and terminated and for recovery of missed messages. The application messages deal with the sending and receiving of trade-related information such as an order request or information on the current state and subsequent execution of that order.
[edit] Background
Since its inception in 1992 as a bilateral communications framework for equity trading between Fidelity Investments and Salomon Brothers, FIX has become the standard electronic protocol for pre-trade communications and trade execution. Today, the membership of FIX Protocol Ltd. is extending FIX into block-trade allocation and other phases of the trading process, in every market, for virtually every asset class.
[edit] External links
- FIX Protocol Organization - this official FIX website also includes a comprehensive list of closed-source and open-source FIX implementations.
- FIXimate FIX Dictionary 4.0 4.1 4.2 4.3 4.4