4. Floors to Screens: Nuts and Bolts
Executive Summary
This chapter explores the architecture of electronic trading. We discuss the components of the trade cycle for electronic trading and the history of its development, with examples of some key new players in the industry. It's not just time/price any more; we explore the various alternative matching algorithms in use today. We then dig deeply into the technical structure of electronic exchanges, from client applications to exchanges to clearing services.
Traders can now trade markets from anywhere in the world as long as they have a computer and network connection. The movement toward electronic trading has forced the rest of the industry to transform itself. The entire financial markets have seen unprecedented growth and collaboration between industry players to solidify the infrastructure and trading model while competing with each other with new products and ideas. These changes have enabled the creation of more new products, new trading styles, and new trading strategies that have given a facelift to the static world of floor-trading. The benefits of electronic trading have been tremendous.
Although the concept of buying and selling products still remains the crux of trading, the electronic trading model does differ significantly from the old floor-trading model. To appreciate this transformation fully and to further analyze the future path for financial markets, it is important to understand the high-level trade cycle, the electronic architecture built to support this trade cycle, and the roles of the new players in the markets.

The Financial Trade Cycle

A trade touches many hands as it makes its way through the system. The simple act of buying or selling a financial instrument goes through a number of components to ensure that trades are executed, cleared, settled, and reported properly. The functions remain the same; however, a trade requires far less manual processing by humans than it did in floor-trading days. The trade cycle from execution to settlement takes much less time than it did before; in fact, for derivatives it is done in real time, without any manual processing. The electronic infrastructure can be divided into three major sections required to complete the trade cycle: front office, middle office, and back office.

Front Office

The front office is where traders buy and sell financial instruments. It is a virtual trading floor created and accessed by software applications. The front-end application is a major component that allows traders to trade on a number of exchanges around the world. These virtual trading floors have all but eliminated the traditional, physical trading floors. In addition, the front office has seen tremendous growth in innovation. New software companies offer traders tools to help their trading needs. These new players have built platforms to support trading functions and provide analytical tools to study trading styles and adjust their strategies based on numerous parameters such as economic data, market events, and historical trends. The front-end application also provides pre-trade risk management and portfolio management applications to provide a consolidated view of traders’ portfolios.

Middle Office

The middle office is the area of trading where every trade undergoes risk management. Every trader has an assigned risk limit based on the amount of money available to trade and the limitations imposed by regulatory bodies and exchanges. In electronic trading, there are systems built to automatically check every trade against the risk limits set for each trader. Risk management has improved significantly over the years compared with the more manual process on the trading floor. Risk management on the floor varied for members who owned a seat on the exchange. Since the membership itself was worth a significant amount, firms allowed members to margin their own account. Traders on the floor who leased the membership generally were risk-managed more. There were rules that required all trade cards to be collected every half hour to an hour for clearing firms to review the trades. Personnel from clearing firms were on the floor, watching the traders throughout the trading day.
Risk management is now far more automated, and there is an enormous amount of tracking and checking that can be implemented by risk management applications. Trades are efficiently managed throughout the trading day while providing risk managers a complete real-time view of all the firm's traders. In addition, the middle office also handles numerous other functions, including reporting and allocations of trades to appropriate accounts, and generally serves as the bridge between the front office and back office.

Back Office

The back office is the area where buys and sells are matched and trades are reconciled. The back office has two major functions: clearing and settlement. As discussed in Chapter 1, these functions are an integral part of financial markets. They ensure that a trade that took place on the exchange is processed accurately. The clearing function covers tasks such as post trading and analyzing credit exposure risk and ensures trades meet all the market rules tied to the trade. Trading firms rely on brokers to clear their trades. In addition, exchanges’ clearing arms serve as the CCP. All trades ultimately are cleared through the CCP for the exchanges.
The clearing and settlement process is a significant step in the trade cycle and is generally the longest process in it. The process involves significant coordination between exchanges, brokers, trading firms, and depository firms to ensure post-trade process is completed smoothly. Post-trade processing involves final trade allocations, trade reconciliation, fund and instrument transfer, and reporting. The back-office function also involves reporting between players and the regulatory bodies such as CFTC and SEC.

Electronic Trading Architecture

The early adopters started developing their electronic exchange architecture to bring the electronic trading model as the replacement for floor-based trading. These early exchanges have gone through numerous iterations of their technology platforms to continually improve the stability and reliability of their architecture. They now rely on their hardware and software to gain access to exchanges worldwide.
As adoption of electronic trading by the financial community increased, the trading architecture continued to evolve. New players, whom we will discuss shortly, entered the financial markets to provide application and services for the trade cycle. These new players serve a vital role in this overall trading architecture. Today there are players for every component of the trade cycle. There are front-end trading screen providers, exchange connectivity providers, market data providers, and network connectivity providers. All these players, along with exchanges, must work harmoniously to build an infrastructure that can move trade from the front office to back office with much less human intervention than in the past.
Traders no longer rely on their loud voices and tall statures to buy and sell products on only a single exchange. For the floor-trading model, all one needed to trade was membership on an exchange, a knowledge of hand signals to communicate with others on the floor, and the ability to deal with stress on volatile trading days. For electronic trading, the trader might need membership on some exchanges to gain direct access, but virtually direct access is available to nonmembers at many exchanges. Of course, the trader still needs the ability to deal with stress. Additionally, today the traders need to understand how to use a computer that provides them with market access. Instead of feeling the market on the floor, traders today must understand the wealth of information blasted on their trading screens. They must learn to adapt to the speed of trading on the electronic trading floor. The trader must learn the complex order types and trading strategies available through the vendors to gain an edge in a market that is transparent.
The trading firms must also understand technology and the trading architecture to ensure that they build an electronic trading infrastructure that is fast, reliable, and stable. Today trading firms need to have technical staff who can analyze the pros and cons of the new players offering the trading screens, exchange connectivity through gateways, risk management applications, and tools to help meet regulatory requirements. In addition, they must understand the network details in depth to ensure that they have the hardware capacity to handle the message traffic and telecommunications setup to provide the fastest connection to the exchange.
Therefore, understanding the overall architecture of the electronic trading infrastructure is critical to the success of a trading firm as well as the exchange. An in-depth understanding of the electronic infrastructure will also allow the players to understand who provides software applications for the components as well as the connectivity details that take a trade from the front-end trading screen to the clearing and settlement process. The exchanges and trading firms today must understand this architecture (see Figure 4.1) and the players involved to build and improve their own electronic trading infrastructure.
B978012374252000006X/gr1.jpg is missing
Figure 4.1
Electronic trading architecture.
As we explored in Chapter 1, trades must flow through numerous components of the trade cycle. These components consist of individual applications such as the trading screen, exchange gateway, risk management, and the clearing and settlement process. In the electronic trading model, buyers and sellers submit their orders through the front-end trading systems. These systems are software applications that are installed on traders’ computers. The front-end trading systems are also known as graphical user interfaces (GUIs) or trading screens, since they are windows through which traders can view the market(s) across the globe. The front-end trading systems display the market information from multiple exchanges and route the trader's submitted orders to the exchange gateways. The financial markets have the choice of building these trading screens in house or buying them from third-party vendors. Today there is significant competition among the front-end trading screen vendors. These companies specialize in tools for traders to employ more sophisticated strategies and provide better visualizations across markets as well as charting tools to help analyze market movements. As electronic trading matured, so did the technology of independent software vendors (ISVs). Today companies such as Trading Technologies, RTS, GLTrade, Actant, and many others all provide trading firms access to multiple exchanges through their trading screens.
Today the trades can also be submitted by automated trading engines, also known as black boxes. These are software applications that run on computers and submit orders without any human intervention. The trading firms can simply create rules based on their trading strategies and allow the computer to automatically submit orders around the clock. The use of these applications has grown significantly in recent years. For example, an estimated half of the U.S. stock trades flow through black boxes. They allow trading firms to trade more products across multiple exchanges and to do so at a speed that could not be matched by the fastest human trader.
A number of vendors, such as SmartQuant and Strategy Runner, provide automated trading applications that can be modified to meet individual traders’ needs. The large trading firms also spend significant amounts of time and money to build black boxes. For example, the hedge fund giant Man Group's $16 billion assets are traded through its black-box application, called AHL. Built by three analysts with physics degrees from Oxford and Cambridge universities, the AHL black box is the backbone of the hedge fund's trading operations. AHL monitors markets across asset classes, analyzes market direction based on historical data, and every five minutes spits out trading decisions that are executed by a small number of traders. 1
As the orders are entered by traders in the front-end application or through black boxes, they are also checked by risk management applications. These applications verify the limits set for traders. The risk management application provides controls to meet the risk parameters set by the risk managers of the trading firm. The risk management application also provides risk managers a full view of the trading activity for all the traders within the firm. These risk management applications’ monitoring capabilities allow a firm to monitor trading activity in real time. Vendors such as GlobalRisk specialize in risk management applications to provide trading firms with software applications that help the firms manage risk of their individual traders as well as the entire firm. For example, GlobalRisk's FirmRisk application calculates real-time profit and loss, volatility, and equity for traders and an entire firm. The application also provides trading firms with the ability to calculate “what-if” scenarios to determine hypothetical market movements’ impact on firms’ portfolios. 2
Once passed through the risk checks, the orders flow to the exchange gateway. A gateway is the bridge between the financial community and the exchanges and must keep pace with the rapidly evolving exchanges as well as the trading needs of the financial community. These are complex applications that perform many different functions to ensure that data flows among the front-end applications, exchanges, and the reporting applications utilized by clearing and back-office systems. Gateways are the software applications that connect to an exchange through the application programming interface (API; see sidebar). Although the design of gateways can vary by asset classes or vendors, their major processes are to route orders to the exchange, disseminate market data to the trading screen, manage order execution, and handle administrative functions such as authenticating the traders and providing audit trails of trading activity. The gateway generally is developed with the following processes:
Order server. This process manages the flow of orders that are sent from the front-end application. Orders from multiple trading screens flow through the order server process. The order server manages and routes orders to the exchange's electronic trading system, where they are processed and matched.
Price server. This process provides real-time market data information to the front-end application. The price server process fetches the market data from the exchange system and publishes these prices in real time on the front-end trading screens. The market data feed contains a significant amount of information, such as the opening price, last traded prices, closing prices, and settlement prices, that traders use to make their trading decisions.
Fill server. As the exchange matches orders, it sends the executed orders back to the gateways. The fill server process receives these executed orders and updates the trader's order book. It provides confirmation to the traders of all the orders that were filled, along with the quantity of the fill. This is a complex process that tracks the fills for all the traders whose orders flow through the gateway. The process keeps each trader's order book updated as the fills are received from the exchange(s).
Administrative process. The administrative process serves as a gatekeeper process between the trading screens and the exchange. Every exchange has various parameters that are used to validate the traders. This process manages the authentication process for the traders across exchanges. For example, the trader on the front end can only view and trade markets that have passed the validation process in the exchange gateway. In addition, the administrative process tracks other details that are passed between the trading screen and exchange, such as account information, clearing firm code, order IDs, and timestamps for orders and fills flowing between the exchange and the trading screen. It maintains and stores the audit trail of traders’ activity.
The gateway sends the orders to the exchange trading system. Via networks, the exchange trading system receives orders from gateways from the trading firms located around the world. The exchange trading system processes these orders through its matching engine (see sidebar). Although the details of the various exchanges’ architectures might vary, they all perform the same primary functions: publish market data, match the buys and sells, and send confirmations back to the traders for their filled orders. The exchange trading system also sends the executed orders to the clearing and settlement system for the final processing of the trade. The process involves trade allocations and reconciliation, final margin calculation, fees and charges for the trades, and reports to meet compliance requirements. For example, an application such as GL RIMS3 processes trades to calculate the fees associated with the trades, create reports for the regulatory bodies, and process settlement instructions for the depository agencies. 4

The Application Programming Interface
Early exchanges such as Eurex built the electronic infrastructure, including the graphical user interface, 5 or the trading screen, to allow traders to trade on their markets. As the popularity of electronic trading increased, new independent software vendors (ISV) entered the markets. These ISVs developed trading screens that would display the market information and route orders to the exchange. The connectivity between the front-end application and exchanges could not be possible if the exchanges did not provide the API for development. Programmers use the API to develop gateways that fetch price data, submit buy and sell orders, check the volume, and much more. An API is the way you communicate with another system. It contains detailed specifications that allow a programmer to understand the requirements of a particular exchange. For example, the API provides the detailed market data the exchange provides. It is the API that tells the programmers the order types the exchange supports or that the information exchange requires on every trade to validate an order.
The API can either be closed or open; no matter which it is, the API's function is the same: to allow connectivity between the trading screen and the exchange trading system. The difference between closed and open APIs is that an open API such as LIFFE Connect would allow any developer to connect to the LIFFE Connect platform, whereas a closed API would be limited to a select few developers. Today the majority of the exchanges have open APIs.
An open API plays a significant role in the success of electronic trading. It also allows exchanges to essentially outsource the connectivity and user interface development to third-party vendors or customers. As the exchanges made the migration from floor to screen, the competition among the ISVs increased significantly. This competition generated innovative ideas in front-end trading systems as well as spurring improvements in the speed and efficiency of the exchange gateway. Companies such as Pats, GLTrade, and Trading Technologies are some of the well-known ISVs that connect to exchanges around the world using APIs. They connected these gateways to their trading screens to provide the trading community access to exchanges around the world on a single screen.
The ISVs work closely with exchanges to build gateways. As bridges between the financial community and exchanges, they provide the exchanges with valuable insights into their customers’ needs. The ISVs also help educate the user community about electronic trading and the functionality offered by the individual exchanges. For example, during CBOT's migration from the Eurex platform to LIFFE Connect, there was a close coordination between the exchanges as well numerous ISVs that were developing the gateway to support CBOT on the LIFFE Connect platform. The CBOT and LIFFE relied on the ISVs to bridge the functionality gap between the LIFFE Connect and Eurex platforms. For example, when CBOT used the Eurex platform for its electronic trading infrastructure, stop orders were supported by the exchange. The LIFFE Connect platform did not support the stop orders. The ISVs developing the exchange gateway developed the functionality to synthetically support the stop orders. The traders were able to continue to send the stop orders through their trading screens, and the exchange gateway would manage the stop order synthetically.
A stop order is an order that is triggered when the specified price is reached (the stop price). So, for a stop market order, an order will be in the order book as a stop order and will convert into a market order when the stop prices are reached in the market. As a synthetic order, the ISV holds the stop order in its exchange gateway and submits the order when the specified price is reached on the exchange.
Both CBOT and LIFFE worked closely with these ISVs to ensure that they were ready for the launch, helping them throughout their development cycle as well as in their testing phases. They knew that for the launch to be successful, the ISVs would need to be ready with their connectivity; otherwise, traders would not be able to trade and the exchange would have no volume.

Side-by-Side and Hybrid Systems

Most floor-based exchanges made the transition to electronic trading in a gradual fashion. Some, like the CME, CBOT, NYMEX, and LIFFE, started with after-hours systems, as described in Chapter 3. But the majority started with what are called side-by-side arrangements, whereby the trading floor and the screens were made available during regular trading hours. In such systems, the two markets were two separate pools of liquidity, and customers could choose whichever they preferred. Prices were kept more or less equal via the activity of arbitrageurs. The securities exchanges in the United States would have liked to also follow a side-by-side approach, but the SEC would not allow futures-style side-by-side trading, because customers might sometimes not get the better price available on the other system. Equity and options exchanges could either go all electronic or stay floor based. The CBOE created a “hybrid” system that blended the two markets. And then some years later, the NYSE modeled its own hybrid system on that of the CBOE.

The CBOE's Hybrid System6

The CBOE had been exploring electronic trading since at least 1988 when senior exchange officials (Gary Lahey, Dick Dufour, and Kruno Huitzingh) went to visit the pioneer electronic exchanges of Europe—including OM and SOFFEX. Over the subsequent years, the exchange put together a plan, a design, and actually built an electronic trading system. But because the CBOE was member owned, like all other member-owned exchanges, there was a deep aversion to electronic trading and even though the exchange had completed the development of an electronic trading system as early as 1999, there was neither member interest nor SEC willingness to allow electronic trading to proceed side-by-side with floor-trading. Just as important, there was a belief that options trading just would not work well on a screen. So when ISE opened its virtual doors in 2000, the initially light trading volume confirmed the views of those who believed screen trading would not work and the threat level moved back toward green. However, after about a year and a half of trying, ISE gained real traction, volumes started rising, and the ISE became viewed as a real threat to the CBOE and it was clear to the membership that CBOE had to become part of this new world.
While a side-by-side arrangement, where traders could choose, would have been the best and quickest way to get in the game, the SEC had blocked this option by requiring all floor or all screen. The CBOE felt that neither of these extremes was viable. It had already created an electronic system, and it decided to create a hybrid system that would integrate both screen and floor-based trading and thus satisfy the SEC's concern that customers would always get the best available price. The CBOE spent just under a year melding its floor and electronic trading platform into a single, linked system called the Hybrid Trading System.
CBOE received SEC approval to launch its Hybrid Trading System on May 30, 2003. The Hybrid system was launched on June 12, 2003, with Harmony Gold options as the first product. 7 Today CBOE's Hybrid Trading System incorporates electronic and open-outcry trading, enabling customers to choose their trading method. The electronic side of Hybrid is CBOEdirect, an electronic platform that also supports the CBOE Futures Exchange (CFE), CBOE Stock Exchange (CBSX) and OneChicago. Over 15 ISVs provide connectivity to the trading community to one or more of the CBOE markets.
With its launch of CBOEdirect, the trade engine behind the hybrid system, the exchange is able to grow and compete with the ISE and subsequent screen-based option exchanges, both domestically and internationally. CBOEdirect allows firms to trade electronically and still provides the flexibility for them to trade on the floor, if they choose. CBOEdirect supports an open interface and provides multiple connectivity options. It allows ISVs to connect to CBOEdirect via its own proprietary interface, CMi, through industry-standard protocol FIX, or through the CMS-based COMPASS. CBOEdirect allows its customers to trade its options via ISV trading screens through its Hybrid Trading System Terminal (HyTS) and the option to continue to trade on the floor. HyTS provides market access and order routing to all U.S. equity options from a single screen. Similarly, ISVs also provide customers the ability to trade multiple markets through a single screen. 8
The Hybrid system has turned out to be a reasonable compromise, given the SEC's refusal to allow side-by-side. Options are different from equities and futures, both of which lend themselves to straight buy and sell positions or at least relatively simple spreads. Because there are so many options for any given stock, many transactions often involve the purchase and sale of a number of puts and calls at different strikes. Combining this with the fact that market makers don't always post the best price at which they would buy or sell, because they have to watch so many different options and thus build in a protective cushion in the bid-ask spread, a lot of customers still prefer to negotiate trades on the floor to get better prices. Therefore, worldwide, options have been the financial product most difficult to migrate to the screen. And even on screen-based systems, the options transaction is often negotiated prior the execution on the screen.

Matching Algorithms
One of the key components of trading involves matching bids and offers. In electronic trading, these matches occur based on various formulas called matching algorithms. There are several matching algorithms that are utilized by the exchanges. Within a given exchange there are different algorithms depending on the asset class, the trading style, and liquidity of the product. Before we dive into the reasons that a specific algorithm is used for matching, let's explore the various matching algorithms that are currently used. The following four matching algorithms are used in the global derivatives trading world:
First-in/first-out (FIFO). This is one of the most commonly used algorithms, also known as price/time priority matching. Trades are matched in the order in which they arrive into the matching engine.
Pro rata. Often used in illiquid products where the trade with the best price above a specified volume is given the highest priority.
Lead market maker (LMM) allocation. Another algorithm to enhance liquidity, where the market maker who provides a two-sided market is guaranteed a certain percentage of the order.
Work-up. Markets such as BrokerTec and eSpeed have used a work-up model for fixed income trading. The work-up model gives a trader, at a given price, the right to execute all trades within a specified time (generally two to three seconds). This model is considered the least efficient because it gives a trader control over the market for a specific period of time.
Matching algorithms are a critical part of an exchange's architecture. Two critical requirements are to enhance liquidity and to efficiently match trades while maintaining the anonymity of the traders. An early attempt to provide complex matching algorithms was by an upstart, OptiMark. Introduced in the early 1990s, it was an innovative electronic matching algorithm that would match large orders anonymously. 9 If successful, it would have allowed large institutional funds to effectively trade their large orders fully electronically. OptiMark built a proprietary algorithm that would match trades in cycles. The system would match orders in five-minute intervals. 10 In equities trading the “dark books”11 could have been eliminated if the OptiMark idea was successful. In the futures industry, it would have allowed traders to trade their large block orders anonymously instead of in prearranged deals with human intervention. At the time of its introduction, the concept was well received by the industry. At its peak, it matched close to 3 million trades. 12 However, the complex algorithms and radical new way of trading, at a time when electronic trading was still in its infancy, were too cumbersome for traders to use. Many industry leaders agreed that OptiMark might have been too innovative too early.
The financial market landscape has changed drastically in the last few years. The traders have been able to adapt to the technology, the trading styles have become more complex, and there is a gradual rise in algorithmic trading. The fate of OptiMark could have been much different in the current marketplace. In recent years, large investment banks such as JP Morgan Chase and Banc of America Securities (BAS) introduced new matching algorithms with names such as Aqua, Arid, and Ambush to “stealthily trade stocks on dark books.”13 The innovation in new matching algorithms will continue to efficiently match large institutional orders while maintaining the anonymity of the trader.

New Players Solidifying the Single-Screen Concept

The growth of electronic trading broke the traditional floor-trading model. The early exchanges used technology to design the electronic infrastructure. And, as they opened their APIs, technology vendors entered the markets with fresh new ideas and new concepts in the financial markets. These new players helped shape the direction for the new model and are now an integral part of bringing the trading world onto a single screen. Today, there are client-side application vendors that provide trading screens, charting tools, risk management, and analytical tools. There are vendors that specialize as market data providers. There are vendors that provide applications for the post-trade processing for clearing and settlement processes. And there are players that provide maintenance and support services for the trading infrastructure. These vendors introduced the concept of single-screen trading. They have allowed the financial market players to pick and choose applications to build the electronic trading infrastructure that allows traders access to markets from around the world in real time and analyze market movements against historical data, and, with the help of black boxes, they can trade around the clock.
Endnotes
1. Heather Timmons, “A London Hedge Fund That Opts for Engineers, Not M.B.A.'s,”; www.nytimes.com/2006/08/18/business/worldbusiness/18man.html?ex=1313553600&en=b2fee1b41c85af15&ei=5088&partner=rssnyt&emc=rss; (August 18, 2006).
2. “GlobalRisk Firm Risk,”; www.globalrisk.com/firmrisk.
3.
4. Developed by GL Trades, the majority interest of which is owned by SunGard, GL RIMS; www.sungard.com/financialsystems/brands/glrims.aspx.
5.
6. “CBOE Hybrid®, The Hybrid Trading System,”; https://www.cboe.org/hybrid/default.aspx.
7. “CBOE Receives SEC Approval to Launch CBOEdirect HyTS, The Hybrid Trading System,”; www.cboe.com/AboutCBOE/ShowDocument.aspx?FILE=06-02-2003.doc&DIR=ACNews&HEAD=CBOE+News+Releases&SEC=7; (June 12).
8.
9.
10.
11.
13. “JP Morgan Launches ‘Dark Book’ Algorithms,”; www.finextra.com/fullstory.asp?id=15828(September 8, 2006).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset