Showing posts with label Organisation and Functioning of Securities Markets. Show all posts
Showing posts with label Organisation and Functioning of Securities Markets. Show all posts

Thursday, 3 July 2008

Exploring the Precursor to Straight Through

I miss out the portion on Straight Through Processing (STP) earlier on and take the opportunity now to post it here, thanks to Shashank Mahajan who reminder me. I seriously didn’t expect someone from New York to be reading my blog. Thanks for your support.

To understand STP, you need to understand the concepts of the front office, middle office, and back office. These are, role-wise, the segregation in a member’s office or trading institution’s office.

The front office is responsible for trading. In a broker’s office, the front office speaks to various customers and solicits business. The front-office staff is also responsible for managing orders and executing them.

The back-office staff is responsible for settling transactions. The back office ensures that all obligations toward the clearing corporation are met seamlessly and that the member receives its share during pay-out.

While this entire process is happening, the middle office monitors all limits and exposures, and thus risks that the firm is assuming. The middle office is also responsible for reporting, especially where corporate-level reporting is required.

Since a broker’s office is organized into front, middle, and back offices, solution providers structure their products in the same fashion in the form of modules. Although many vendors provide solutions for all three sections, it is not mandatory for a broker to buy all three modules from the same vendor. If a broker goes for different vendors, though, then they have an issue of inter-module communication. Most brokers want all the three modules to be integrated. If they are not, then data will have to be entered multiple times in these modules. To obviate from this problem, brokers rely on a concept called STP.

STP, as defined by the Securities Industry Association (SIA), is “...the process of seamlessly passing financial information to all parties involved in the transaction process, spanning the investment manager decision through to reconciliation and statement production, without manual handling or redundant processing in real time.”

Two types of STP exist: internal and external. In the case just discussed, internal STP is required because you need to connect modules installed in a broker’s office. But some other entities such as custodians, fund managers, and so on, play an equally important role in settlement. To achieve true STP, even these need to be connected to each other. Any attempt to connect such entities beyond the organization in pursuit of STP is called external STP.

The industry wants to put processes in place that will allow an order to flow right from deal entry to conversion to trade to affirmation and confirmation and finally through settlement and accounting without manual intervention. This is because the industry wants to move toward T+1 settlement. This means trades done on one day will get settled the next day. This is an ambitious plan because it will call for a lot of process change, technology change, and industry change. Applications will have to come together and orchestrate the entire business process.

STP provides a lot of benefits to industry participants:
  • STP reduces settlement time. This essentially reduces risk because transactions will be settled faster and will be irrevocable. Settlements are said to be irrevocable when they are considered to be final and cannot be reversed. Reduced settlement time also means better utilization of capital.
  • Less manual intervention will mean fewer operational risks and errors. It will also mean fewer costs.
  • STP will force the entire industry to move toward standard communication protocols. This will mean standardized systems and fewer system development and maintenance costs. Interoperability will be a prerequisite for this to happen.
  • Increased automation will lead to increased throughput in transaction processing, thereby enabling institutions to achieve greater transaction volumes.

Equity trading and STP by itself are vast subjects, and understanding every minute business detail in a single go is not possible; furthermore, the functioning of every stock exchange is different from one another (though the concepts are fairly standard).

Saturday, 29 December 2007

Life Cycle of a Trade (Part 3)

This post is the continuation of the post on life cycle of a trade. In this post, I’m going to discuss the last two steps, namely the Affirmation and Confirmation and Clearing and Settlement.

Affirmation and Confirmation

This step is present only when the trading client is an institution. Every institution engages the services of an agency called a custodian to assist them in clearing and settlement activities. The figure below illustrates this.

As the name suggests, a custodian works in the interest of the institution that has engaged its services. Institutions specialize in taking positions and holding. To outsource the activity of getting their trades settled and to protect themselves and their shareholder’s interests, they hire a local custodian in the country where they trade. When they trade in multiple countries, they also have a global custodian who ensures that settlements are taking place seamlessly in local markets using local custodians.

As discussed earlier, while giving the orders for the purchase/sale of a particular security, the fund manager may just be in a hurry to build a position. He may be managing multiple funds or portfolios. At the time of giving the orders, the fund managers may not really have a fund in mind in which to allocate the shares. To avoid a market turning unfavorable, the fund manager will usually give a large order with the intention of splitting the position into multiple funds. This is to ensure that when he makes profits in a large position, it gets divided into multiple funds, and many funds benefit.

The broker accepts this order for execution. On successful execution, the broker sends the trade confirmations to the institution. The fund manager at the institution during the day makes up his mind about how many shares have to be allocated to which fund and by evening sends the broker these details. These details are also called allocation details in market parlance. Brokers then prepare the contract notes in the names of the funds in which the fund manager has requested allocation.

Along with the broker, the institution also has to liaise with the custodian for the orders it has given to the broker. The institution provides allocation details to the custodian as well. It also provides the name of the securities, the price range, and the quantity of shares ordered. This prepares the custodian, who is updated about the information expected to be received from the broker. The custodian also knows the commission structure the broker is expected to charge the institution and the other fees and statutory levies.

Using the allocation details, the broker prepares the contract note and sends it to the custodian and institution. In many countries, communications between broker, custodian, and institutions are now part of an STP process. I’ll talk about STP in another post. This enables the contract to be generated electronically and be sent through the STP network. In countries where STP is still not in place, all this communication is manual through hand delivery, phone, or fax.

On receipt of the trade details, the custodian sends an affirmation to the broker indicating that the trades have been received and are being reviewed. From here onward, the custodian initiates a trade reconciliation process where the custodian examines individual trades that arrive from the broker and the resultant position that gets built for the client. Trades are validated to check the following:

  • The trade happened on the desired security.
  • The trade is on the correct side (that is, it is actually buy and not sell when buy was specified).
  • The price at which the trade happened is within the price range specified by the institution.
  • Brokerage and other fees levied are as per the agreement with the institution and are correct.

The custodian usually runs a software back-office system to do this checking. Once the trade details match, the custodian sends a confirmation to the broker and to the clearing corporation that the trade executed is fine and acceptable. A copy of the confirmation also goes to the institutional client. On generation of this confirmation, obligation of getting the trade settled shifts to the custodian (a custodian is also a clearing member of the clearing corporation).

In case the trade details do not match, the custodian rejects the trade, and the trades shift to the broker’s books. It is then the broker’s decision whether to keep the trade (and face the associated price risk) or square it at the prevailing market prices. The overall risk that the custodian is bearing by accepting the trade is constantly measured against the collateral that the institution submits to the custodian for providing this service.

Clearing and Settlement

With hundreds of thousands of trades being executed every day and thousands of members getting involved in the entire trading process, clearing and settling these trades seamlessly becomes a humungous task. The beauty of this entire trading and settlement process is that it has been taking place on a daily basis without a glitch happening at any major clearing corporation for decades.

After the trades are executed on the exchange, the exchange passes the trade details to the clearing corporation for initiating settlement. Clearing is the activity of determining the answers to who owes the following:

  • What?
  • To whom?
  • When?
  • Where?

The entire process of clearing is directed toward answering these questions unambiguously. Getting these questions answered and moving assets in response to these findings to settle obligations toward each other is known as settlement. This is illustrates with the figure below.

Thus, clearing is the process of determining obligations, after which the obligations are discharged by settlement. It provides a clean slate for members to start a new day and transact with each other.

When members trade with each other, they generate obligations toward each other. These obligations are in the form of the following:

  • Funds (for all buy transactions done and that are not squared by existing sale positions)
  • Securities (for all sale transactions done)

Normally, in a T+2 environment, members are expected to settle their transactions after two days of executing them. The terms T+2, T+3, and so on, are the standard market nomenclature used to indicate the number of days after which the transactions will get settled after being executed. A trade done on Monday, for example, has to be settled on Wednesday in a T+2 environment.

As a first step toward settlement, the clearing corporation tries to answer the “what?” portion of the clearing problem. It calculates and informs the members of what their obligations are on the funds side (cash) and on the securities side. These obligations are net obligations with respect to the clearing corporation. Since the clearing corporation identifies only the members, the obligations of all the customers of the members are netted across each other, and the final obligation is at the member level. This means if a member sold 5,000 shares of Microsoft for client A and purchased 1,000 shares for client B, the member’s net obligation will be 4,000 shares to be delivered to the clearing corporation. Because most clearing corporations provide novation (splitting of trades), these obligations are broken into obligations from members toward the clearing corporation and from the clearing corporation toward the members. The clearing corporation communicates obligations though it’s clearing system that members can access. The member will normally reconcile these figures using data available from its own back-office system. This reconciliation is necessary so that both the broker and the clearing corporation are in agreement with what is to be exchanged and when.

In an exchange-traded scenario, answers to “whom?” and “where?” are normally known to all and are a given. “Whom?” in all such settlement obligations is the clearing corporation itself. Of course, the clearing corporation also has to work out its own obligations toward the members. Clearing members are expected to open clearing accounts with certain banks specified by the clearing corporation as clearing banks. They are also expected to open clearing accounts with the depository. They are expected to keep a ready balance for their fund obligations in the bank account and similarly maintain stock balances in their clearing demat account. In the questions on clearing, the answer to “where?” is the funds settlement account and the securities settlement account.

The answers to “what?” and “when?” can change dramatically. The answer to “when?” is provided by the pay-in and pay-out dates. Since the clearing corporation takes responsibility for settling all transactions, it first takes all that is due to it from the market (members) and then distributes what it owes to the members. Note that the clearing corporation just acts as a conduit and agent for settling transactions and does not have a position of its own. This means all it gets must normally match all it has to distribute.

Two dates play an important role of determining when the obligation needs to be settled. These are called the pay-in date and the pay-out date. Once the clearing corporation informs all members of their obligations, it is the responsibility of the clearing members to ensure that they make available their obligations (shares and money) in the clearing corporation’s account on the date of pay-in, before the pay-in time. At a designated time, the clearing corporation debits the funds and securities account of the member in order to discharge an obligation toward the clearing corporation. The clearing corporation takes some time in processing the pay-in it has received and then delivers the obligation it has toward clearing members at a designated time on the date of pay-out. It is generally desired that there should be minimal gap between pay-in and pay-out to avoid risk to the market. Earlier this difference used to be as large as three days in some markets. With advancement in technology, the processing time has come down, and now it normally takes a few hours from pay-in to pay-out. Less time means less risk and more effective fund allocation by members and investors. The answer to “when?” is satisfied by the pay-in and pay-out calendar of the clearing corporation, which in turn is calculated depending upon the settlement cycle (T+1, T+2, or T+3).

Answers to “what?” depend on the transactions of each member and their final positions with respect to the exchange. Suppose a member has done a net of buy transactions; he will owe money to the clearing corporation in contrast to members who have done net sell transactions, who will owe securities to the clearing corporation. To effect settlements, the clearing corporation hooks up with banks (which it normally calls clearing banks) and depositories. It has a clearing account with the clearing bank and a clearing account with the depository as well. A clearing bank account is used to settle cash obligations, and a clearing account with a depository is used to settle securities obligations.

That is a very long post on the last two steps of the life cycle of a trade. Have a nice weekend my readers and have a happy new year.

Saturday, 22 December 2007

Life Cycle of a Trade (Part 2)

In my previous post, I had mentioned about 5 steps involving in the trade’s life cycle. In this post, I shall discuss about the Risk Management and Order Routing and the Order Matching and Conversion into Trade.

Risk Management and Order Routing


Regardless of how an order gets generated or delivered, it passes through a risk management matrix. This matrix is a series of risk management checks that an order undergoes before it is forwarded to the exchange. The onus of getting the trades settled resides with the broker. Any client default will have to be made good to the clearing corporation by the broker. Credit defaults are thus undesirable from the point of view of the broker who puts money and credibility on the line on behalf of the customer. Hence, these credit and risk management checks are deemed necessary.

Institutions are normally considered less risky than retail customers. That is because they have a large balance sheet compared to the size of orders they want to place. They also maintain a lot of collateral with the members they push their trades through. Their trades are hence subjected to fewer risk management checks than retail clients.

The mechanisms followed when orders are accepted and sent to exchanges for matching are the same for both institutions and retail clients. However, for retail customers the orders are subjected to tighter risk management checks and scrutiny. The underlying assumption in all such risk management checks is that retail clients are less credit worthy and hence more susceptible to defaulting than institutions. A recent extension of retail trading has been trading through the Internet. This exposes brokers to even more risk because the clients become faceless. In the good old days of “call and trade” (receiving orders by phone), most brokers executed transactions of clients they knew. With the advancement in trading channels, the process of account opening became more institutionalized, and the numbers came at the expense of client scrutiny. Most brokers who operate on behalf of retail clients these days operate on the full-covered concept. This means that while accepting orders from retail clients, they cover their risks as much as possible by demanding an equal value of cash or near cash securities.

The steps below show how a retail transaction is conducted and the benefit provided by risk management. The method utilized is more or less the same in call and trade as in Internet trading. The order delivery mechanism changes, but the basic risk management principle implemented remains the same. Here are the steps:


  1. The client calls the broker to give the orders for a transaction (in Internet trading the client logs on to the Internet trading site, provides credentials, and enters orders).
  2. The broker validates that the order is coming from a correct and reliable source.
  3. In case the client gives a buy order, the broker’s system makes a query to ascertain whether the client has enough balance in a bank account or in the account the client maintains with the broker. In case the client does not have enough balance, the order is rejected even before forwarding to the exchange. If the client has the balance, the order is accepted, but the value of the order is deducted from the client’s balance to ensure that he does not send a series of orders for which he cannot make an upfront payment. Many brokers still do not have direct interfaces to a banking system. In such cases, they ask the client to maintain a deposit and collateral in the form of cash and other securities; they keep the ledger balances of a client’s cash and collateral account in their back-office system and query this system while placing the order to ensure that the client has enough money in his account. The figure below illustrates this process.

  4. In case a client gives a sell order, the broker checks the client’s custody/demats account to ensure that he has a sufficient balance of securities to honor the sale transaction. Short selling is prohibited in most countries, and brokers need to ensure that the client is not short of securities at the time of settlement, especially in markets that do not have an adequate stock-lending mechanism in place. Most markets have an auction mechanism in place for bailing out people with short positions, but such bailouts could be very expensive. Once the sale transaction is executed, the broker keeps a record and updates the custody balance’s system if it is in-house or keeps reducing the figures from the figures returned by the depository to reflect the client’s true stock account position. In many countries, brokers have a direct interface with the depository system that lets them query the amount of shares of a particular company in which the client has balances. Wherever a direct interface is absent, the broker maintains the figures in parallel; the broker then does a periodic refresh of this data by uploading the figures provided by the depository and maintains a proper intraday position by debiting figures in his system when the clients give sale orders that are executed on the exchange. The figure below illustrates this step.

  5. Once the risk management check passes, the client’s order is forwarded to the exchange.
  6. On receipt of the order, the exchange immediately sends an order confirmation to the broker’s trading system.
  7. Depending upon the order terms and the actual prices prevailing in the market, the order could get executed immediately or remain pending in the order book of the exchange.

You can appreciate the role technology plays when you consider that the entire process of receiving the order, doing risk management checks, forwarding the order to the exchange, and getting back the confirmation is expected to take a few hundredths of a second. Any performance not conforming to this standard is considered unacceptable and could be a serious reason for clients to look for other brokers who can transact faster and get them more aggressive prices.

One of the ways of implementing risk management is through margining. A margin is an amount that clearing corporations levy on the brokers for maintaining positions on the exchange. The amount of margin levied is proportional to the exposure and risk the broker is carrying. Since positions may belong to a broker’s clients, it is the broker’s responsibility to recover margins from clients. Margins make the client stand by trades in case the market goes against the client by the time the trades get settled.

To protect the market from defaulters, clearing corporations levy margins on the date of the trade. Margins are computed and applied to a client’s position in many ways, but the underlying philosophy of levying margins is to tie the customer to a position and preserve the integrity of the market even if a large drop in stock prices occurs.

Order Matching and Conversion into Trade

All orders are aggregated and sent to an exchange for execution. Stock exchanges follow defined rules for matching all the orders they receive. While protecting the interests of each client, the exchange tries to execute orders at the best possible rates. The broker’s trading system communicates with the exchange’s trading system on a real-time basis to know the fate of orders it has submitted.

A broker keeps a record of which orders were entered during the day, by whom, and on behalf of which client. A broker also maintains details of how many orders were transacted and how many are still pending to be executed. Using this system, a broker can modify the order and order terms, cancel the order, and also split the order if required depending upon the behavior of the market and instructions from the clients. Once the order is executed, it gets converted to a trade. The exchange passes the trade numbers to the broker’s system. The broker in turn communicates these trade details to the client either during the day or by the end of the day through a contract note or through an account activity statement. The contract note is a legal document that binds the broker and the client. Contract note delivery is a legal requirement in many countries. Apart from the execution details, the contract note contains brokerage fees and other fees that brokers levy for themselves or collect on behalf of other agencies such as the Clearing Corporation, exchange, or state.

On my next post, I’ll discuss about the last two steps. Have a nice day.

Monday, 19 November 2007

Types of Order in the Market and Time Limits with Trade Orders

If you have trade in the US market before, you will realise that the US market has so many features that you cannot find in Singapore market. Take for example, the types of order in the market. What is type of order in the market? In the US, we have orders such as Market Order, Limit Order and Stop Loss/Sell Stop etc. What do they mean?

Market Order
This is where you authorise your broker to buy or sell stock or options at the best price in the market.


Limit Order
This is where you:

  • only buy if share falls to a certain price or lower; or
  • only sell if share rises to certain price or higher.

Limits are recommended with options trading, particularly for spreads and combination trades. The reason for this is that the bid/ask spread prices can fluctuate dramatically and often not in your favour, so it is better to specify your prices.

Stop Loss/Sell Stop (Defensive)
This is where you:

  • Sell if stock falls below a certain price (sell stop is placed below the current price).

You can increase the stop loss if the share rises.

Buy Stops
This is where you will only buy once the stock has reached or exceeded a certain price. This is like the opposite of a limit order where you look to buy a stock when it has fallen to a certain price. A Buy Stop is appropriate where you expect a stock to rise beyond a resistance level or bounce up from a support level.

  • Buy Stop with limit - Only buy when stock is between two prices.
  • Buy Stop with limit and Stop Loss - Buy between two prices and sell if below another price.

There are however some time limits with different type of trade orders such as GTC, Day only, Week only etc. What do these mean then?

Good Till Cancelled (GTC)
This is where the order is valid unless and until you cancel it or until it is filled. For example, a limit order GTC means you authorise your broker to sell the stock at a particular price, today or any time in the future where the stock is selling at that particular amount, until you have sold the requisite number of shares.
Smith Barney Benefit Access uses this. Be careful with GTC orders because these orders generally do not go to the top of the list of floor traders’ priorities.

Day Only
The order will be cancelled if it is not filled by the end of the day. This is a good ploy because it encourages the floor traders to deal. If they don’t by the end of the day, then they won’t get their commission, so there is an incentive for floor traders to put this type of trade nearer to the top of their list.

Week Only
The order will be cancelled if it is not filled by the end of the week.

Fill or Kill
The order of maximum priority. If it is not filled immediately, the order is cancelled. A fill or kill order is bound to capture the attention of the floor trader, but if it is a limit order, then you need to make it realistic.

All or None
Either the entire order is filled or none of it. This is not generally a good idea given that many trades are not filled all at once anyway because there has to be a buyer or seller on the other side, and most of the time they won’t be specifically dealing in the same lot sizes as your order. So if you want to be sure to get filled, do not go for all or none!