FEC Financial Engineering Club

43
FEC FINANCIAL ENGINEERING CLUB

description

FEC Financial Engineering Club. Agenda. Trading The Order Book and Order Types Market Participants. What is trading?. Economics : Multiple parties participating in the voluntary negotiation and then exchange of one’s goods and services for the desired goods and services of another. - PowerPoint PPT Presentation

Transcript of FEC Financial Engineering Club

Page 1: FEC Financial Engineering Club

FEC FINANCIAL ENGINEERING CLUB

Page 2: FEC Financial Engineering Club

AGENDA Trading The Order Book and Order Types Market Participants

Page 3: FEC Financial Engineering Club

WHAT IS TRADING? Economics: Multiple parties participating in the voluntary

negotiation and then exchange of one’s goods and services for the desired goods and services of another.

Finance: Purchasing and selling of securities.

As a career, trading involves selling and purchasing securities at a fast-pace for some purpose, generally to profit. Heavy integration of technology for executing trades and gathering

information Filtering through information and risk management are key

Page 4: FEC Financial Engineering Club

TRADING & MARKET MICROSTRUCTURE

Page 5: FEC Financial Engineering Club

THE ORDER BOOK How much would you pay for a bag of cash whose contents are

unknown? There is at least $1 in the bag and less than $10

Page 6: FEC Financial Engineering Club

THE ORDER BOOK

If we put this bag up for auction, we might see the following:SELLERS

BUYERS

Page 7: FEC Financial Engineering Club

THE ORDER BOOK A collection of buy and sell orders

Orders sitting in the book are called resting orders The number of orders at each price level is referred to as the

depth

The highest bid is referred to as the best bid The highest ask is referred to as the best ask/offer

Their difference is the bid-ask spread

Here, the bid-ask spread is 522.22-522.17 = .05

Bids or buy orders

Asks or sell orders

Price

Best bidBest ask

Page 8: FEC Financial Engineering Club

ORDER TYPES Limit order: Buying a specified number of an asset only at a

specified price or better

Example) AAPL is at 522. You put in a limit buy for 40 shares at 520. This means that your order is executed when AAPL is at 520 or lower, if there are sellers.

Liquidity: Limit orders sit and wait in the order book until an individual with the opposite position enters the market. In this case, when an individual submits a trade to sell for 520 or less.

Page 9: FEC Financial Engineering Club

ORDER TYPES Example) You want to put in a limit bid to

buy 40 shares of AAPL at 522.14

How does this change the order book? Current best-bid is 522.17 Best ask is 522.22

+40 No sell orders at 522.14

Page 10: FEC Financial Engineering Club

ORDER TYPES Example) You want to put in a limit bid to

buy 40 shares of AAPL at 522.14

How does this change the order book? Current best-bid is 522.17 Best ask is 522.22

Here, we added liquidity by increasing the number of resting orders

Page 11: FEC Financial Engineering Club

ORDER TYPES Example) NOW, suppose you want to put

in a limit bid to buy 700 shares of AAPL at 522.22

+700

675 sell orders at 522.22

Page 12: FEC Financial Engineering Club

ORDER TYPES Example) NOW, suppose you want to put

in a limit bid to buy 40 shares of AAPL at 522.22

Here, we took and added liquidity This is known as a marketable limit order A limit order at a price that will execute

immediately (best bid or ask)

Page 13: FEC Financial Engineering Club

ORDER TYPES Market order: Buying a specified number of an asset at the best

prevailing price on the opposite side of the order book

Example) AAPL is at 522. You put in a buy for 40 shares. Your order is executed immediately—that is, you buy 40 shares at the best ask.

Liquidity: Market orders always execute

Page 14: FEC Financial Engineering Club

ORDER TYPES Example) You want to sell 20 shares of

AAPL immediately. You submit a market sell.

How does this change the order book? Current best-bid is 522.22 Best ask is 522.23

+20

Page 15: FEC Financial Engineering Club

ORDER TYPES Example) You want to sell 20 shares of

AAPL immediately. You submit a market sell.

Again, we took liquidity

Page 16: FEC Financial Engineering Club

ORDER TYPES Example) Now, you want to sell an

additional 20 shares of AAPL immediately. You submit a market sell.

+20Only 5 shares at best bid

Page 17: FEC Financial Engineering Club

ORDER TYPES Example) Now, you want to sell an

additional 20 shares of AAPL immediately. You submit a market sell.

-5

-15

Page 18: FEC Financial Engineering Club

ORDER TYPES Example) Now, you want to sell an

additional 20 shares of AAPL immediately. You submit a market sell.

Page 19: FEC Financial Engineering Club

ORDER TYPES

What are the pro’s of market orders? Execute immediately

What are the con’s of market orders? Unlimited price risk—potential to get

bad fill prices Cost of bid-ask spread

What are the pro’s of limit orders? No price risk They provide liquidity—can sometimes

earn a rebate

What are the con’s of limit orders? They may never execute

Conclusion: always use limit orders. Marketable limit orders capture (nearly) all the pro’s of market orders without the con’s

Page 20: FEC Financial Engineering Club

MORE COMPLICATED ORDER TYPES Fill or kill (FOK): If the full quantity cannot be filled, don’t fill any. Stop orders: Buy/sell once the price exceeds/falls below a specified

price Pegged orders: Buying/selling at a competitive offset to the best

bid/ask

Combinations of orders: Iceberg orders, hidden orders

Cancelling orders: A feature that is currently being reconsidered

Page 21: FEC Financial Engineering Club

EXTREME ORDER CANCELLING

Page 22: FEC Financial Engineering Club

MARKET PARTICIPANTS

Page 23: FEC Financial Engineering Club

EXCHANGES Exchanges are organized venues where buyers and sellers meet and

transact Historically, physical venues Now, collections of servers and computer infrastructure to maintain an

order-book for one of many listed (traded) products

To trade on an exchange, one must become an exchange member, which costs a fee. Traders providing liquidity (adding resting orders) often earn a rebate Those taking liquidity (using marketable orders) often pay a fee

To be have a security listed on an exchange, the lister is required to maintain certain qualifications (in the case of a company) as well as pay listing and entry fees.

Page 24: FEC Financial Engineering Club

EXCHANGES

Exchange fees for CME

Page 25: FEC Financial Engineering Club

EXCHANGES Exchange companies compete on fees, types of products listed, and order priority rules

Hire market makers (traders) to continuously provide liquidity Oftentimes one holding company containing many exchanges and clearing corporations

CME Group—Chicago Mercantile Exchange Group Several options and futures exchanges CME, NYMEX, CBOT, KCBOT

BATS Global BATS BZX, BATS BYX exchanges

NYSE Euronext NYSE, Euronext, NYSE Arca exchanges

Page 26: FEC Financial Engineering Club

EXCHANGES One security can be listed on multiple exchanges

This creates market fragmentation issuesNASDAQ BATS

What’s opportunities do we have here?

BUY on NASDAQ @ 522.21Sell on BATS @ 522.22

Profit: (522.22-522.21)*quantity = .01*quantity

Page 27: FEC Financial Engineering Club

MARKET FRAGMENTATION ISSUES More importantly, institutional investors do not want to worry

about trading on particular exchanges Multiple exchanges institutional investing unnecessarily complicated

Competition amongst exchanges is good—cheaper fees Market fragmentation is bad

Regulation NMS: Regulation passed in 2005/2006 (effective 2007) attempting to consolidate exchanges while promoting competition

Page 28: FEC Financial Engineering Club

FEATURES OF REGULATION NMS Sub-penny rule: Cheapest tick (increment) in a trade price is a

penny Access rule: Trading fees must be reasonable Market-data rule: Each exchange must provide affordable data Order protection rule: Marketable orders routed to best price

NBBO: National best bid and offer—best bids and best asks across all exchanges

Market orders routed to exchange with NBB or NBO

Page 29: FEC Financial Engineering Club

DARK POOLS A trading venue where prices and trades are not publicized

Pro’s? You have less market impact People cannot benefit from knowledge conveyed in your orders

Con’s Leeching from price discovery in “lit markets”

Page 30: FEC Financial Engineering Club

THE TRADING ECOSYSTEM Three main types of trading:

Hedgers Speculators Arbitrageurs

Trading vs investing Investing generally has longer

holding periods Investors intend to never sell their

investments Trading is generally the opposite

Hedging Arbitrage

Speculators

Page 31: FEC Financial Engineering Club

HEDGERS Traders who seek to mitigate risks in their business by trading

Example) You are a trader at BP. Your business has fixed costs of $2 million. Your portfolio is long 20,000 barrels of crude oil (currently $100/barrel). What is your position?

Crude Price/Barrel

How can you hedge some of this downside risk?

Page 32: FEC Financial Engineering Club

You can 2,000 buy put options with strike 100. Suppose these cost $1.

HEDGERS

Page 33: FEC Financial Engineering Club

HEDGERS

You can 2,000 buy put options with strike 100. Suppose these cost $1.

Page 34: FEC Financial Engineering Club

SPECULATORS Traders who speculate on asset prices via information and trade

accordingly.

Example) You believe that AAPL will exceed earnings expectations this quarter due to product development. You buy shares of AAPL based on this sentiment and further research.

Page 35: FEC Financial Engineering Club

ARBITRAGEURS Traders who trade on mispricings in asset prices.

Usually there is some model asserting a price different from the market

Example) Suppose , , and . It should hold that

=1

(that is if you convert GBP to Euros, then Euros to USD, then USD to GBP, you should have the same amount of money you started with, ignoring bid-ask spreads)

However =1.0248

How can we profit from this mispricing?

Page 36: FEC Financial Engineering Club

ARBITRAGEURS

1) Start with $1,000,000.00 USD, buy GBP at Now we have £ 600,000.00

2) Buy Euros at Now we have € 732,000.00

3) Buy USD at Now we have USD 1,024,800.00

Page 37: FEC Financial Engineering Club

AGENCY TRADING Trading on behalf of another individual.

Large-scale brokerage firms have traders trade on behalf of clients

Example) A client calls TD Ameritrade to sell a large sum of bonds in their portfolio.

They do this to avoid others from identifying him/her in the markets. TD Ameritrade has its traders sell off the bonds according to certain rules to avoid a steep decline in the price of the bonds.

Page 38: FEC Financial Engineering Club

EFFICIENT MARKET HYPOTHESIS Markets are informationally—efficient

To some degree, new information is already priced into assets; lucrative trading strategies have been used up

Weak form: Future prices cannot be predicted by analyzing the past (technical analysis). Some forms of fundamental analysis can produce excess returns.

Semi-strong Form: Share prices adjust very quickly to new information. Technical analysis and fundamental analysis cannot produce excess returns.

Strong Form: Share prices reflect all information, public and private. No one can earn excess returns

Page 39: FEC Financial Engineering Club

EFFICIENT MARKETS

Page 40: FEC Financial Engineering Club

FINANCIAL ENGINEERING IN TRADING Pricing Models and asset dynamics

Execution strategies: How to split up your orders to receive the best fill price

Computing: Designing and programming high-performance systems with efficient software

Page 41: FEC Financial Engineering Club

QUESTIONS?

Page 42: FEC Financial Engineering Club

NEXT WEEK Trading in simulated markets

Introduction to the Rotman Interactive Trader

7PM @ the Margolis Market Information Lab Seats available to FEC via sign-up

Page 43: FEC Financial Engineering Club

THANK YOU!

Facebook: http://www.facebook.com/UIUCFEC LinkedIn: http://www.linkedin.com/financialengineeringclub Email: [email protected]

Internal Vice PresidentMatthew [email protected]

PresidentGreg Pastorekgfpastorek@gmail.

com