![Page 1: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/1.jpg)
MachineLearningforTradingFinancialInvesting
Part3ofCourseOverviewandIntroduction
![Page 2: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/2.jpg)
SoyouwanttobeaPortfolioManager?
• WhatisComputationalInvesting?– Typesoffunds– LiquidityandCapitalization– FundManagers– TheInvestors– GoalsandMetrics
![Page 3: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/3.jpg)
Landscape
https://news.gallup.com/poll/147206/stock-market-investments-lowest-1999.aspx
• RetailInvestors.– Individualwhopurchasessecuritiesforhisorherownpersonalaccount
– 50MillionUShouseholds[InvestmentCompanyInstituteandtheSecuritiesAssociation]
– Roundlottrades.(lot=100stocks),typicallyinterestedininvestinginlargercompanies.
• InstitutionalInvestors.– (Large)Organization,ratherthanindividualthatinvestonbehalfofthemember.
– Blocktrades-10,000ormoresharestradedatatime,investinlargercompanies(stocksare>>$10share)Swapsandforwardsmarket(later)
![Page 4: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/4.jpg)
6TypesofInstitutionalInvestors• Organization,ratherthanindividualthatinvestonbehalfofthemember.
InstitutionalInvestorTypes:• PensionFunds• Endowmentfunds• InsuranceCompanies• CommercialBands• MutualFunds• HedgeFunds
![Page 5: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/5.jpg)
• WewillfocusonRetailInvesting.
![Page 6: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/6.jpg)
ModuleContent.• Soyouwanttobeahedgefundmanager?• Marketmechanics• Whatisacompanyworth?• TheCapitalAssetsPricingModel(CAPM)• HowhedgefundsusetheCAPM• TechnicalAnalysis• Dealingwithdata• EfficientMarketsHypothesis• TheFundamentalLawofactiveportfoliomanagement• Portfoliooptimizationandtheefficientfrontier
CoreProjects:MarketSimulator&StrategyLearner
![Page 7: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/7.jpg)
ClassesofFundTypes
MutualFunds• Buy/Sellatend
ofday• Quarterly
disclosure• LessTransparent
HedgeFunds• Buy/Sellby
agreement• Nodisclosure….
• NotTransparent
ETF• Buy/Selllike
stocks• Basketof
Stocks• Transparent
• Buy&Sell–howliquidisthefund?– Feesofexchange
• Disclosure–whatisinthefund,howoftenisitdisclosed• Transparency–inadditiontowhatisinthefund,whatare
thegoalsofthefund.
![Page 8: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/8.jpg)
ExchangeTradedFunds• Trackseither:
– Index,commodity,bonds,basketofassetslikeanindexfund,someutilizegearing/leverage–trackingoppositereturnsofassets.
• Liquid– EasytobuyandsellETFs,tradeslikeatocommonstock
• ButyoubuymultiplestockswithanETF.– Quicklyconvertsintocashatareasonableprice.
• Maturitytendstobelessthanayear.• Carriesmoreinterestthancash.
• ETFprice:valueisclosetofairvalue.• Advantages:
– Higherdailyliquidity,andlowerfeesthanmutualfunds.– Diversification– Sellshort,buyonmargin– Taxadvantagesoncapitalgainsnotpassedtoshareholderslikemutualfunds.
• Examples: – SPDR–tickerSPYtracksSP500,IWMtracksRussell2000,QQQtracksNasdaq100,– SectorETF–tracksindustries,OIH:oil,XLE:energy,XLF:finance,REIT:biotech,
GLD–gold,SLVsilver,UNGnaturalgas– Foreignmarketsbothindicesandcurrency.
![Page 9: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/9.jpg)
MutualFund• Poolofmoney–frommanyinvestorsthatareoperatedbyprofessional
moneymanagersusinganinvestmentobjectivestatedinaprospectus.• RegulatedbytheSEC(hedgefundsarenot)
– Disclosure,prospectus,lessaggressive,anadvertise.• Liquid:Dailybases(lessliquidthatETF,moreliquidthanhedgefunds).• Disclosure:regulated–mustdiscloseitquarterly.• Strategies:Mostlylong,someshortthemarket–hedgefundsaremore
aggressive.– Morelikelytooutperformhedgefundsinadownmarket(bearmarket).
• Price/Value:lessexpensivethanhedgefunds.MutualFundsgenerallycharge2%intotalfees,whilehedgefunds–commonlyhavea2/20structure–2%managementfeeskimmedontop,and20%onallprofits.
• Advantages:Lowcostwithaprofessionalfunmanager,diverse,liquidity,explicitgoals.
• Disadvantages:Loweroverallreturns,underperformbenchmarkaverages,onlyonceperday.Taxinefficient,
• Examples:Pimco,Vanguard(Several)),FidelityContrafund,AmericanFunds
https://www.forbes.com/sites/billharris/2012/08/08/the-10-biggest-mutual-funds-are-they-really-worth-your-money/#16dd39fdf3cf
![Page 10: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/10.jpg)
HedgeFunds.
• AlternatetoMutualFunds.• Onlyaccessibletoaccreditedinvestors.NotSECregulated.
![Page 11: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/11.jpg)
Whattypeoffundisthis?• UseGoogleforafewminutesfortheseandfilltheboxesinwithE,MorH.– E–ETF– M–Mutualfund– H–Hedgefund.
q VTINXq DSUMq FAGIXq BridgewaterPureAlphaq SPLV
![Page 12: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/12.jpg)
Activity:Whattypeoffundisthis?• UseGoogleforafewminutesfortheseandfilltheboxesinwithE,MorH– E–ETF– M–Mutualfund– H–Hedgefund.
q VTINXq DSUMq FAGIXq BridgewaterPureAlphaq SPLV
LastName,FirstName:Notes:Include–whatdoestheacronymmean,andisitagoodinvestment?Ornot?
![Page 13: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/13.jpg)
Activity:Whattypeoffundisthis?• UseGoogleforafewminutesfortheseandfilltheboxesinwithE,MorH.– E–ETF– M–Mutualfund– H–Hedgefund.
q VTINXq DSUMq FAGIXq BridgewaterPureAlphaq SPLV
M
M
H
M
E
Hedgefund:Nosymbolacronym,don’tneedtobetradedreadily,only100investors
![Page 14: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/14.jpg)
Incentives:Howarepomanagerscompensated?
• ETF• MutualFunds• HedgeFunds
--AssetsUnderManagement(AUM)–typicallyearna%oftheAUM.
--Whatistheformula?
![Page 15: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/15.jpg)
Incentives:Howaretheycompensated?
WhatistheExpenseRatio?Foreachtypeoffund:• ETF: 0.01%AUM---1.00%AUM• MutualFunds 0.50%AUM---3.00%AUM• HedgeFunds Two&Twenty(2%AUM&20%Profit)
v ETFmanagers–stocksaretiedtotheindex.v Mutualfunds–paidforresearchwhatgoesintothefund,
andtyingthesestockstothefund.
![Page 16: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/16.jpg)
IncentivesManagedFundExample:• January1,2017
– $100,000,000($100million!)
• December31,2017– $115,000,000
TwoandTwenty:2%AUM,20%ofprofit.“Two” =$100M*0.02à$2M-$2.3M(.02*115M)“Twenty”=$15M*0.20à$3M=$5M-$5.3M
![Page 17: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/17.jpg)
IncentivesManagedFundExample:• January1,2017
– $100,000,000($100million!)
• December31,2017– $115,000,000
TwoandTwenty:2%AUM,20%ofprofit.
![Page 18: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/18.jpg)
IncentivesTwoandTwenty:2%AUM,20%ofprofit.“Two” =$100M*0.02à$2M“Twenty”=$15M*0.20à$3M=$5MTwo&Twenty
popularapproachin90s–early2000sTodaytypicallylower
Exception:ASCCapital–(notapublicfund)4and20.
![Page 19: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/19.jpg)
Quiz:Incentives
• AUMaccumulation• Profits• RiskTaking
ExpenseRatio
TwoTwenty
Accumulatingassetsundermanagement->notprofit.
![Page 20: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/20.jpg)
Quiz:Incentives
• AUMaccumulation• Profits• RiskTaking
✔ ✔
✔
✔
ExpenseRatio
TwoTwenty
![Page 21: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/21.jpg)
HowfundsattractInvestors
• Whoaretheinvestors?– Individuals– Institutions– Fundsoffunds
• Why?– TrackRecords– SimulationandStory– Goodportfoliofit
![Page 22: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/22.jpg)
HedgeFundsgoalsandmetrics
• Goals:– Beatabenchmark– AbsoluteReturn
• Long/Short– Long(+bets):Buyingfirst,sellingat[aprofithopefully]– Short(-bets):Reverseorder.Borrowstocks-immediatelysell,thenbuybackwhenitdropsinprice.
• Metrics(recap)– CumulativeReturn– Volatility– Risk/Reward(SR)
![Page 23: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/23.jpg)
ComputationsinsideaHedgeFund
• AComputationalFramework– database->scaleup.– Networkconnectivity– Lowlatency,highbandwidth– Realtimeprocessing.
(c) 2016 by Tucker Balch, all rights reserved.
The Computing Inside a Hedge Fund
- Hedge funds are among the most computationally demanding environments I know of. They have infrastructure requirements like huge databases, significant network connectivity, low latency and high bandwidth connectivity, real-time processing, and so on. I want to show you as an example, the typical kinds of computing that goes on inside a hedge fund to motivate you for this class. In other words, this isn't exactly the way all hedge funds work, but this is just to give you a taste for how many hedge funds work. And you'll see, I think, that computing and computational capabilities are core here.
- So we're going to work backwards from the market back towards the sort of back office of the hedge fund. The way things work are we have certain portfolio that is which stocks we have and whether we're in positive or negative positions with regard to them. The trading algorithm here is central. It's interacting with the market, observing the live portfolio. And what it's trying to do is to get this live portfolio to match some target portfolio.
- So somewhere further back inside the hedge fund we've decided what this target portfolio ought to look like. In other words, how many shares of Apple, how many shares of Delta Airlines we should have, and so on, and this trading algorithm is trying to get us there. So it's comparing target with live.
- And then to move this portfolio towards that target, it's issuing orders. So it sends order like buy 200 shares of Apple to the market. Those orders get executed or not, and that updates the live portfolio. Now one reason this kind of trading algorithm is important is you don't want to execute everything at once. In other words, suppose we wanted to take a very, very large position in Apple. If we were just to send an order, hey, buy me 10 million shares of Apple, that would affect us detrimentally in the sense that the price for Apple would probably rise. And we would not get a good execution. So this training algorithm takes those sorts of things into consideration as it moves our live portfolio to be more close to the target portfolio. In fact,
![Page 24: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/24.jpg)
InsideaHedgeFund
• Howtogettoatargetportfoliowithoutperturbingthemarket.
• Smallincrementalsteps.
(c) 2016 by Tucker Balch, all rights reserved.
sometimes it takes days to enter a particular position. So this doesn't necessarily happen all at
once.
- And there's many, many different types of trading algorithms that have been invented to solve
these problems. Now let's step one step back into the computing of the hedge fund, and look
at how we arrive at this target portfolio.
- Here's that target portfolio, and here is some of the data and computing that could go into
computing that target portfolio. So from somewhere, machine learning perhaps, we have a
forecast of what stock prices are going to be at some time into the future. And that can of
course drive what our target portfolio ought to be for today. In other words, if we're forecasting
that BAC is going to go up, this might represent that we think it's going to go up 5%. We might
want to increase our holdings in that. If we think that Apple, for instance, is going to go down,
we might want to decrease our holdings.
- So this forecast informs this algorithm called a Portfolio Optimizer that works to balance the
risks and rewards for a balanced portfolio that considers volatility and correlation between
different stocks and so on. We're going to talk a lot about portfolio optimization later in this
course.
- Some other considerations that go into Portfolio Optimizer are historical data, open, high, low,
close, and volume. We can look at that historical data to inform how stocks are correlated or
uncorrelated to one another, and also of critical importance is our current portfolio. It may be
the case that if we're holding something, we don't want to exit it immediately because we'd be
penalized by rapidly selling it. So this optimizer takes all this information into account to get to
the target portfolio that our trading algorithm is working to drive us towards.
- Now one more stop along our road here at the computing infrastructure of a hedge fund is to
look at how do we come up with this N-day forecast. By N, N might be five days or ten days or
whatever.
![Page 25: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/25.jpg)
InsideaHedgeFund
• Createaforecastingalgorithm,tiedtothestockmarket(informationfeed).
(c) 2016 by Tucker Balch, all rights reserved.
- So here's this N-day forecast, and we've got some kind of forecasting algorithm. This is very often in the form of a model, in fact, a machine learning based model. And creating these sorts of forecasting algorithms using machine learning is the focus of the last mini-course in this group of mini-courses. Anyhow, how do we get to this forecast? Well, we've usually got some sort of proprietary information, again, historical data, and our forecaster crunches all that data to build a model and create a forecast.
- So, bringing it all together, that's the computing in a hedge fund. And we've also spent some time talking about what might motivate you as a hedge fund manager. That's it for this lesson. I'll talk to you again soon.
![Page 26: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/26.jpg)
MarketMechanics.
– Buystocksbyissuingorders– Senttoastockbroker
![Page 27: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/27.jpg)
Whatisanorder?
• BuyorSell• Symbol• #Share• Limit(price)orMarketOrder• Price
BUY,IBM,100,LIMIT,99.95SELL,GOOG,150,MARKET
Market–willingtoacceptagoodprice,thepricethatthemarketiscurrentlybearing.Limit–constraintsonbuyingorselling.
Examples: Selling:nottosellitbelowacertainprice. Buying:notbuyatapriceaboveacertainamount
![Page 28: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/28.jpg)
OrderBook• Listofordersrecordingbuyersandsellersinterests,organizedbypricelevel.
• Oneorderbookforeverystocksoldorbought:
Example:• BB:BUY,IBM,100,LIMIT,99.95
• (noselleryet)• Buy100sharesfornomorethan99.95• BID
• SA:SELLIBM,1000,LIMIT,100• ASKdoesnotmatchanyofthebids.
BID 99.95 100
BID 99.95 1000
ASK100.001000BID 99.95 100
![Page 29: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/29.jpg)
MarketMechanics.
Example:• BB:BUY,IBM,100,LIMIT,99.95
• (noselleryet)• BID
• SA:SELLIBM,1000,LIMIT,100• ASKdoesnotmatchanyofthebids.
• Marketorder– BB:BUY,IBM,100,Market– Exchnagemustgiveclientthelowestprice–sodeduct100stocksfromthe‘ASK100’row.
ASK 100.10 100ASK 100.05 500ASK 100.001000BID 99.95 100BID 99.90 50BID 99.85 50
Sell
Buy
ASK 100.10 100ASK 100.05 500ASK 100.00900BID 99.95 100BID 99.90 50BID 99.85 50
![Page 30: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/30.jpg)
Quiz:Orderbook
• IsthePriceofstockgoingupordown?
ASK 100.10 100ASK 100.05 500ASK 100.001000BID 99.95 100BID 99.90 50BID 99.85 50
q Upq Down
Sell
Buy
![Page 31: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/31.jpg)
MarketMechanics.• Pricegoingupordown?– Probablypriceisgoingdown,thereismoresellingpressure• 1600stockstosell• 100stockstobuy
– Examplewhatwillhappenedif:• SELL500,market.
– Priceimmediatelygoesdown.– [email protected]– [email protected]– …andsoon.
• BUY500,market– Priceisnotbudgingmuch(thereareplentyofsellorders.
ASK 100.10 100ASK 100.05 500ASK 100.001000BID 99.95 100BID 99.90 50BID 99.85 50
Sell
Buy
![Page 32: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/32.jpg)
• Example:– BUY,100,Market– BUY,100,Limit,100.02
• Executedat100.00– SELL,175,Market
• Executedat– [email protected]– [email protected]– [email protected]– (averageprice)
• Note:Priceisgoingdown.
ASK 100.10 100ASK 100.05 500ASK 100.001000BID 99.95 100BID 99.90 50BID 99.85 50
ASK 100.10 100ASK 100.05 500ASK 100.00900BID 99.95 100BID 99.90 50BID 99.85 50
Sell
Buy
ASK 100.10 100ASK 100.05 500ASK 100.00800BID 99.95 100BID 99.90 50BID 99.85 25
![Page 33: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/33.jpg)
• LiveOrderbookexample.– Udacity:Howordersaffecttheorderbook{155,2:49}
![Page 34: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/34.jpg)
MarketMechanics.
• Howordersgettotheexchange
BATSGOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
ETRADE Ameritrade CharlesSchwab
You
Broker
Exchange
![Page 35: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/35.jpg)
MarketMechanics.
• Howordersgettotheexchange
BATSGOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
ETRADE Ameritrade CharlesSchwab
You
Broker
Exchange
![Page 36: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/36.jpg)
MarketMechanics.
• Howordersgettotheexchange
BATSGOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
ETRADE Ameritrade CharlesSchwab
You
Broker
Exchange
![Page 37: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/37.jpg)
MarketMechanics.
• Howordersgettotheexchange
BATSGOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
ETRADE Ameritrade CharlesSchwab
You
Broker
Exchange • Handletradeinternally• Eventuallyregistertradeat‘host’exchange.
![Page 38: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/38.jpg)
MarketMechanics.
• Howordersgettotheexchange
BATSGOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
GOOG:OrderBookYahoo:OrderBook…OrderBook
ETRADE Ameritrade CharlesSchwab
You
Broker
Exchange
DarkPool
![Page 39: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/39.jpg)
https://www.bloomberg.com/quicktake/dark-poolshttps://www.bloomberg.com/quicktake/dark-pools
![Page 40: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/40.jpg)
ExploitingMarketMechanics
• Orderfromfaraway• Orderatexchange• Valuefluctuates• Co-located• .3usecvs.12msec.• Co-locatedcouldgetthestockatlowerprice.
NYSE
Co-located
![Page 41: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/41.jpg)
ExploitingMarketMechanics
• Orderfromfaraway• Orderatexchange• Valuefluctuates• Co-located• .3usecvs.12msec.• Co-locatedcouldgetthestockatlowerprice.
NYSE
Co-located
NYSE
Co-located
![Page 42: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/42.jpg)
AdditionalOrderTypes
• Exchanges– Buy– Sell– Market– Limit
• Broker– StopLoss–whenstockdropstoacertainpricesellit.– StopGain–whenstockgainstoacertainpricesellit.– TrailingStop– SellSort
![Page 43: Part 3 of Course Overview and Introductioncobweb.cs.uga.edu/~maria/classes/0-4646-Summer-2018/slides/007-finance-investing.pptx.pdf• Strategies: Mostly long, some short the market](https://reader033.vdocument.in/reader033/viewer/2022041910/5e673a07b31a1027ff54f548/html5/thumbnails/43.jpg)
MarketMechanics.
• Hedgefunds&co-locationofcomputersontheexchanges“floor”space.