Algorithmic Trading in Foreign Exchange Based on Order Flow

Size: px
Start display at page:

Download "Algorithmic Trading in Foreign Exchange Based on Order Flow"

Transcription

1 AlgorithmicTradinginForeignExchangeBased onorderflow Mat IndependentResearchProjectsinAppliedMathematics 6 th February2009 HelsinkiUniversityofTechnology DepartmentofEngineeringPhysicsandMathematics TuomasNummelin 62832W

2 1. ExecutiveSummary Thegoalofthisstudywastoconstructasimplifiedsimulationmodelforforeign exchangeandtotesttheperformanceoftradingalgorithms.someofthetested algorithmsusetheinformationfromorderflowandthegoalwastoseewhether significant insight is gained from this it. After rigorous analysis it could be deemed that the utilisation of order flow information does benefit the algorithms. However, the results depend on how the information is used. Differences in performance are evident. The performances of algorithms vary fromamediocreandstableperformancelackingtheexceptionalhighprofits,toa performance altering much from the top profits to the largest loses. It is also noteworthythatthedifferentalgorithmsperformedwell,withbothasimulation data set and with a real daily data set. This information encourages us to seek betterwaystoutilizetheorderflowdata. 2.MotivationandBackgroundforResearch Thefocusofthisstudyisonautomatedtradinginforeignexchange(forex,FX). Focusingonamicrostructure basedorderflowwehopetoenhanceautomated trading in FX markets. In order to adapt the microstructure view to automated trading, we first look at the FX market and the FX spot rate determination models, examining microstructure based models, and determine whether they canbeusedinautomatedtradingornot.thisisthefirstpartofthisstudywhile thequantitativeanalysisofthechosenmodelimplementationisthesecondone. Theforeignexchangemarketisacashinter bankorinter dealermarket,which isthebiggestandmostliquidmarketintheworld.theaveragedailyturnoverin traditional FX markets has grown by 69% since April 2004, to $3.2 trillion in April2007(BIS,TriennalCentralBankSurvey2007).Howevertherecentcrisis infinancialmarketshasaneffectinfxmarketaswell,butitisstilltooearlyto say what are the lasting consequences for market. Although the potential markets and technical improvements in information and communication technologies (ICT) the FX markets have turned in to actual 24/7 real time electronicmarketsusingelectronictradingsystemstobeveryattractivemarket. Theuseofautomatedtradingsystemshasincreased( itisestimatedthataround25%automatedtradingin2008doesalltradeinfx markets. 2

3 3. ForeignExchangeMarket:BriefOverviewAboutModels&Market Traditionally,themodelsforFXspotratehavebeenextensivelybasedonmacro exchange models, which pay little attention to how actual trading in the FX marketiscarriedout,eventhoughmacroeconomicmodelsdotakeintoaccount such factors as GDP, monetary politics, etc. These models have been used to modelmediumtolongterm(afewmonthstoyears)developmentsinfxrates. However, these models have little or no prediction power in the short term (MeeseandRogoff1983,1997).Theimplicitassumptionincorporatedinmacro modelsisthatthedetailsoftrading(i.e.whoquotescurrencypricesandhowthe trade takes place) are unimportant to exchange rate changes over months and quartersorlonger.incontrast,micromodelsexaminehowinformationrelevant tothespotpriceofthecurrencyisreflectedinthespotexchangerateviatrading process. Based on this microstructure, the trading process is not an ancillary marketactivitythatcanbeignoredwhenconsideringexchangeratebehaviour. Instead, the trading process can be seen as a crucial factor in the process that determinesthefxspotrate. TheFXmarketconsistsoftwosegments;theinterbankmarketandthecustomer market.theadvancementsintradingtechnologyhavereshapedthestructureof the FX market; the electronic brokers in interbank markets and the internet trading for customers have been the main driving factors of the restructuring (Rime).Intheinterbankmarket,tradingiseitherdirect(bilateralortakingplace between dealers) or brokered (interdealer trades). Prior to the Internet revolution,customerstradedwiththebank.however,nowadayscustomershave thepossibilitytotradethroughelectronicbrokeringsystemswhichhavebecome thedefactosystemsoftoday.therefore,weshouldconsidercustomersasthe ultimate end users of currency. Customers can be broadly defined as being central banks, governments, importers and exporters of goods, financial institutions,likehedgefunds,andprivateindividuals.themarketiscentralised unlikebeforetheictimprovementswhenthefxmarketwasdecentralisedcall market. The fundamental nature of currency trading (i.e. due different time zones there exists a continuous need to recognize the value of different currencies)ledtothedecentralisedandcontinuousmarket. 4. MicrostructureModels Marketmicrostructureisapartoffinanceconcerningindetailshowthetrading ofassetsoccursinthemarkets.themainfocusofmicrostructuremodelsishow the trading process affects asset prices, quotes, transaction costs, volumes and tradingbehaviour.theearliestmicrostructuremodelsfocusedonmacroaspect ofthemarketsandconsideredlongtermeconomicalscaleissuesinthemarkets. However until the s the microstructure models have not been seen as veryprominentinshort termexchangerateprediction.onerelevantfactisthat the ICT technology has made it possible to record detailed data about transactions in the markets and give researchers the needed empirical data to develop models. However, it is still today one drawback of microstructure modelsthattheyneedtohavesufficientdatatovalidation.thedevelopmentin microstructuremodelshasbeenfastandprofitable. 3

4 AmajordevelopmentinmicrostructuremodelinginFXwasachievedin1999, when Evans and Lyons (Evans and Lyons, 1999) presented their paper about orderflowandexchangeratedynamics.theyintroducedasimplemodel,which captured the high R 2 statistics in daily DM/USD and YEN/USD spot rate dynamics. The overall fit of the model is striking, compared to the traditional macro models, with R 2 statistics of 64% and 45% for the DM and YEN respectively. It is remarkable that the model captures the essentials from the macropointofviewaswellasthemicropointofview.themodelconsidersthat allmacroinformation(i.e.interestrate)isconsideredpublicinformation.private ornon publicinformation(i.e.orderflow)isbasedmainlyonmicroindicators. Theinformationprocessoraggregationoftheprivateinformationisembedded intheorderflowwhichisthesourceofinformationdiffusioninthemodel.even thoughthemodelisbetterthantraditionalmacroeconomicmodels,itstillisfar from perfect. To some extent, models with roughly 50% R 2 statistics can be regardedasgoodmodelsinthefieldoffx. The rationale behind order flow was analysed more closely and developed further by Evans and Lyons in 2004 (Evans and Lyons, 2004). This time they took a different approach to exchange rate predictions; they focused on information sets and the diffusion of these sets in the markets. Their model is basedonrationalexpectations(rationalexpectationsandportfolioshiftmodels canbeseenastwoofthemostusedmodelideasinmicrostructure).thesumof presentvaluesofthemeasuredmacroeconomicfundamentalsandfundamentals whicharenotexplainedwithmacroeconomicfundamentals,i.e.microstructure measures,formarelationforthepredictionofexchangerate.thekeyempirical findings of their paper include transaction flows, forecasts of future macro variables,suchasoutputgrowth,moneygrowth,andinflation.transactionflows generally forecast these macro variables better than spot rates do. Transaction flowsforecastfuturespotrates,andthoughflowsconveynewinformationabout future fundamentals, much of this information is still not captured in the spot ratesonequarterlater.thesefindingsindicatethatorderflowhasasignificant roleinexchangeratepredictionthroughseveraldifferentchannels. A different point of view to market dynamics comes from Bacchetta and Van Wincoop (2004). Their model is based on heterogeneous information of standard dynamic monetary model for exchange rate determination. Their findings support the idea that heterogeneous information and different risk attitude through market makers disconnect changes in exchange rate from macro fundamentals in the short run and the value of the order flow as the distributorofprivateinformation. Danielson and Payne (2002) analyse the forecasting power of order flow in differenttimehorizonsandfoundthattheorderflowhassignificantmeaningin exchange rate forecasting. They examine different currency pairs and crossreferencetheirfindingswithothercurrencypairscloselyrelatedtotheoriginal pairs orderflows. EvansandLyons(2005)takeamoredetailedlookatorderflowsandseparate order flows in different segments and find that order flows based on 4

5 heterogeneouscustomerscarrymoreinformationaboutthefuturevaluesofthe fundamentalswhencustomersfocusedonlong terminvestments. The central banks have also been keen to understand the FX market microstructurefromtheregulatorypointofviewandalsoinextremesituations, where interventions are needed, to understand the possible impacts (Vitale P, 2006).Theresearchareaofthemicrostructureandorderflowbasedmodelsin FXisapromisingresearchfieldinthenearfuture.Itcanbenotedthatthepoint of view has expanded slightly towards the Hidden Markov Processes that are seen as a new, very prominent, but loosely microstructure based method to predictexchangerates. 5. AutomatedTradingwithInformationfromMicrostructureModels In this section we consider, which improvements are possible in automated trading with the help of better understanding of the market microstructure. In chapter5.1,wedefinethesimulationmarketmodel,whichisusedtomodelfx market. 5.1 SimulationModelforFXMarket Thesimulationmodelisaportfolioshiftmodel,wherethesourceofthevariation in exchange rates is based on shifts in portfolio balance of the customers. The modelisbasedontheworkofevansandlyons(1999).thismodelwaschosen asthebasisofthesimulationbecauseofitssimplicityandthefactthatnomodel has performed consistently better in exchange rate prediction in all time horizons.sincethemainpointofthisstudyistodevelopatradingalgorithm,the use of this simplified model for markets seems reasonable. A simulation model based on rational expectations could have been an alternative approach. However, the alternative approach was discarded because it would have led to theuseofimpracticalestimations. The portfolio shifts are not common knowledge at the time of occurrence. Commonknowledgeisknowntoeveryoneinthemarkets(e.g.currentexchange rateandeveryoneknowsthateveryoneknowsthateveryoneknowsadinfinum). The shifts are large enough that the clearing of the market requires rate adjustments of the spot rate. The fact that a portfolio shift is not common knowledgeatthetimeofoccurrenceservesasaninitiatingsourceoforderflow. Whenacustomerplacesprivate(notpublicallyobserved)quotestodealerswho trade among themselves in the interdealer markets to share the resulting inventory risk. The market learns about the initial portfolio shifts through interdealer trading. Though it can be considered common practice that dealers donotholdovernightrisks.theinventoryrisksaresharedwiththepublic.the inventoryriskisnotdefinedindetail.itisusedasconceptinpotentiallossdue the inventory, which adjust the actions of traders. The public s demand for foreign currency assets has to be less than perfectly elastic because if the currency assets are imperfect substitutes, price adjustments are required to clear the market. Innovations in the model are considered in two parts; public information(standardmacrofundamentals)andnon public,privateinformation 5

6 inportfolioshifts.however,themodeldoesnottakeintoaccounttheunderlying sourceoftheseportfolioshifts. LetusconsiderapureexchangeeconomywithTtradingperiods.Theeconomy hastwoassets;risklessandriskywithstochasticpayoffrepresentingthefx.the payoft+1periodsinthefx,denotedf,iscomposedofaseriesofincrementsrt, observed before trading in each period. This flow of realised increments represents publicly available macro economic information (e.g. interest rate changes). T+1 F r t, r t ~ N (0,Σ t ) i.i.d (1) t=1 ThesimulatedFXmarketismodelledasadecentraliseddealershipmarketwith Ndealersindexedbyi,andcontinuumofnon dealercustomersindexedbyzin interval[0,1].withineachtradingperiodthreeroundsoftradingaredone.inthe first round, dealers trade with customers(the public), i.e. receive the customer order flow, which carries the information about the portfolio shifts of those customers.inthesecondround,dealerstradeamongthemselvesininterdealer market to share the resulting inventory risk. In the third round, dealers trade again,butthistimewiththepublictoshareriskmorebroadly. Figure1.Timingoftheperiod Nextweconsiderthedifferentroundsoftrading. 6

7 Round1 At the beginning of each period t in round 1, all market participants observe rt period stincrementforpayoff.basedonrtandallotheravailableinformation (both public and private information) each dealer chooses simultaneously an independent price with which he/she agrees to sell and buy any amount of currencytohis/hercustomers.wedenotedealer priceforround1fordealerias Pi1.Dealer priceisamappingfromrtandallotherinformationtorealnumbers. Themappingisdefinedbydealerpreferences.ThevalueofPi1canbethesame among multiple trades but it does not have to be. Every dealer receives net customerordersinthevalueofci1thatisexecutedbyeachdealer squoteprice Pi1. ci1 <0 denotes net customer sales (dealer purchases). Each net customer order ci1 is independent across dealers. Customer net orders are distributed independentlyfromri1.customerorderrealisationsaredistributedci1~n(0,σc1). These initial customer orders can be seen as preferred bilateral customer transactions.thesecustomerordersrepresenttheportfolioshiftsonthepartof the non dealer public information and the realisation of these orders is not publicallyobserved. Round2 Round 2 is the interdealer trading round. In the beginning of the round, each dealer independently and simultaneously chooses his/her price with which he/sheiswillingtobuyandsellanyamountamongthedealers.theinterdealer pricepi2fortraderiisamappingofpi1andci1torealnumbers.theseinterdealer quotes are observable and available to all dealers in the market. Then each dealer independently trades on the other dealers quotes. The orders on the same quoting price are equally distributed among the dealers who are quoting thatprice.letti2denotethe(net)interdealertradeinitiatedbydealeriinround 2.Attheendofround2,alldealersobservethenetinterdealerorderflowfrom thatperiod N Δx = T i 2 (2) i=1 Equation (2) is the interdealer order flow and it is observed without noise, though adding noise to the equation does not affect the estimates. FX market interdealerorderflowisrecorded,becausedealer dealertradesareobservable. However,customer dealertradesarenotpublicallyobserved.thesignalsofthe customerorderflowareembeddedintheinterdealerorderflowandthesignals fromtheformercanbeobservedtosomeextent. Round3 In round 3 dealers share the inventory risk with the non dealer public. The simulation model is derived from the Evans and Lyons (1999) model, which 7

8 focusesondailyexchangerateprediction.however,muchshortertimeperiods (minutes) are considered in our simulation. In their paper Evans and Lyons (1999)consideredround3asanovernightrisksharinground.Althoughinthe minuteconceptround3isstillarisksharinground,itisalsomorespeculative. Initially, each dealer simultaneously and independently quotes a price Pi3 at which he/she agrees to buy and sell any amount. These quotes are observable and available to the public. The number of customers is large compared to the number of dealers, implying that the public s capability to bear risk is greater than that of dealers. Therefore dealers set the prices according to the public s willingness to bear the inventory imbalance risk. In the concept of daily trade, therearenoovernightnetpositionsfordealerswhereasintheminuteconcept the imbalance risk can be seen as the unbearable exposure to exchange rate variation. Typically this means that each dealer has limited currency positions, whicharesettokeeprisksacceptable.theseround3pricesareconditionedby the round 2 interdealer order flow. The interdealer order flow informs the dealersofthesizeofthetotalinventorythatthepublicneedstoabsorbinorder to achieve stock equilibrium. Knowing the size of the total inventory that the public needs to absorb is not sufficient for determining the price for round 3. Dealers need to know the risk bearing capability of the public (normal assumptionisthatitislessthaninfinite).givennegativeexponentialutility,the public s total demand for risky assets in round 3, denoted by c3, is a linear functionofitsexpectedreturnthatisconditionalonpublicinformation: c 3 = γ( E[ P 3,t+1 Ω 3 ] P 3,t ) (3) Wherethepositivecoefficientγcapturestheaggregaterisk bearingcapacityof the public, and Ω3 is the public information available at the time of trading in round3. Equilibrium Thedealer sproblemisdefinedoverfourchoicevariables,thethreepricequotes Pi1, Pi2, and Pi3, and the dealer s interdealer trade Ti2 (the latter being a component of x, the interdealer order flow). The more detailed reasoning of Bayes Nash Equilibrium in Evans and Lyons (1999) leads to optimal trading strategyhavingthepricedifferenceinperiodtandt 1as Δp t = r t + λδx t (4) Where λ is a positive constant. The fact that this price change includes the innovationinpayoffsrtone for oneisunsurprising.theλ xtermistheportfolio shift term. The no arbitrage conditions ensures that, within a given round, all dealersquoteacommonprice.giventhatalldealersquoteacommonprice,this priceisnecessarilyconditionedoncommoninformationonly.eventhoughrtis common information in the beginning of round 1, the order flow xt is not observed until the end of round 2. The price for round 3 trading, P3, therefore reflects the information in both r and x. Interdealer order flow carries the signalsfrominitialportfolioshifts,ifitisassumedthatthedealers tradeisbased on initial customer order flow and in that sense interdealer order flow communicatestheinitialportfolioshiftsinthemarket.however,theaggregated 8

9 information about portfolio shifts is absorbed into the market and the price is adjusted based on known information about the relation between interdealer orderflowandsubsequentpriceadjustments.thisprocessofinformationflow takesafiniteamountoftime. For simulation purposes we define empirical implementation of the price differenceequation: * Δp t = β 1 Δ( i t i i ) + β 2 Δx t +η t (5) where ptisthechangeinthelogspotexchangeratefromtheendofperiodt 1 totheendofperiodt, (it it*)isthechangeintheovernightinterestdifferential fromperiodt 1toperiodt(*denotesforeigncurrency),and xistheorderflow fromtheendofperiodt 1totheendofperiodt(negativesigndenotesnetsales ofthehomecurrency). Theovernightinterestrateisthemacrofundamentalofthemodel.Itisassumed to bring all macro information into the model. In the simulation market the empiricalpricingrelationisusedtoadjustexchangerate,accordingly Δp t = ln S t ln S t 1 (6) S t = S t 1 e Δp t wherestisthespotexchangerate. In the simulation market, order flow has three components, two of which are basedontradingalgorithms,andonewhichisacombinedorderflowfromother dealersinthemarket.therelativesizesoftheorderflowscangreatlyinfluence thedynamicsofthemarketandthiscanbeseenasoneinterestingfactorinthe simulation model. The simulation market model is based on an equilibrium model,whereitisassumedthatunlessshiftsoccurintheportfoliosbalanceon the market, it tends to stay in equilibrium state. The non algorithmic dealers order flows in period i are assumed to be normally distributed, because it is assumed that each dealer s customer order flow is independently normally distributed. This assumption is based on the model assumption of round 2 tradingstrategies.inround2,thedealerstradesomefractionofcustomerorder flow as their interdealer market flow, which leads to a sum distribution, which can be modeled as a normal distribution (N(0,σ 2 )). The normal distribution parameters can be seen as average values of the periodic values of the whole market. Hence he simulation market model is based on market orders, if we generalise the concept of limit orders. We can see that the limit orders can be seenasapartoftheorderflowinaperiod,justlikethemarketordersinthat period. However, the limit orders could give a more detailed view of the buying/selling pressure of the market. In certain cases, when the triggering condition for a limit order is met, the limit order can be executed in the same wayasamarketorder.limitorderscanbeconsideredtobufferthechangesin exchangerate. 9

10 Figure2Overviewofsimultationmodel Figure 2 shows the components of simulation model and some basic relationships between components. In addition customers are added to algorithms.however,thosecustomersarenotexplicitlymodeledinsimulation. Algorithms are assumed to take customers in account as algorithms try to maximizetheirownprofit. 5.2 TradingAlgorithmBasedonMicrostructureKnowledge. InordertoanalysemicrostructurebasedalgorithmsinFXmarket,wetestthree different kinds of models. Recursive reinforced learning (RRL) based model is not truly dependent on understanding the microstructure of the market. However, to some extent it can be regarded as the algorithm that is based on microstructure ideology. A more detailed description of RRL can be found in ExploringAlgorithmsforAutomatedFXTrading ConstructingaHybridModel Mat Seminar on Case Studies in Operations Research, Spring The fundamentalideaoftherrlisalsousedinthesecondmicrostructurealgorithm, whichisforthemostpartofsimilarconstructiontotherrl.inprinciple,ittries to model the order flow using the RRL to achieve reasonable predictions of exchange rate movements. The third model is a combination of the basic RRL andsomedirectlyorderflowbasedindicator(and/orflowitself). The order flow RRL algorithm is fundamentally similar to the normal RRL algorithm,whichusesreturnsindecisionfunction.intheorderflowmodel,the algorithm uses differences in the order flow to predict the order flow in the future.therationalebehindtheattempttopredictorderflowandthatwayform adecisionoftheshort/longpositionistheideaofthestrongdependenceofthe 10

11 spotexchangerateandorderflow.however,therelationbetweenspotrateand orderflowisnotasevidentastherelationbetweenreturnsandspotrate.inthe orderflowalgorithmthedecisionestimateismainlybasedonadaptive,moving averageofthedifferencesinorderflow. F t = tanh(uf t 1 + v 0 o t + v 1 o t 1 +K+ v m o t m + w) (7) where ot s are differences in order flow at t, i.e. how much cumulative buying/selling pressure is changed in time t, Ft is the decision and u, vi, w are systemparameters. Togeneralisedecisionsandtoensuredifferentiabilityofthedecision,hyperbolic tangent is used. Even though the function is continuous, decisions are discrete and achieve three different positions; long, neutral and short ([1,0, 1]). Continuousdecisionscouldbeusedtomeasurethestrengthoftheimpact,which is based on the variation of the exchange rate. The differentiability of the decisionfunctionisimportantwhenconsideringgradient basedoptimizationof system parameters. The wealth of the trader is defined as the sum of periodic increments. W T = T R t=1 t ( ) (8) R t = µ F t 1 r t δ F t F t 1 wherewtisthewealthofthetrader,rtistheperiodicincrementinwealth,µ>0 isthetradingpositionsize,δisthetransactioncost,andrtisthereturninperiod t. Tomeasuretheperformanceofthealgorithm,autilityfunctionofthetraderis definedasafunctionofwealthandprofit(wt,rt).strictlyspeakingthemeasure of the performance is not a utility function in the conventional sense. The differentialratio,likethesharperatio,isusedasaperformancemeasureforthe algorithm.anotherpossiblemeasureisthesterlingratio.thedifferentialratiois usedtocapturethemarginalutilityofthertineachperiod.inthealgorithmthe downsized deviation, which is based on the Sterling ratio, is used as the risk adjustedperformancemeasureforthesystemparameterupdate. Sterling ratio = Downsizeddeviationratiois DDR t = Average(R t ) DD T, DD T = 1 T T t=1 Annual Average Re turn Maximum Drawn Down (9) { } 2 min R t,0 1/2 (10) InordertousetheDDRintherecurrentlearning,ithastobedifferentiated.The learning is defined as the gradient of the utility with respect to the system parameters. 11

12 du T dθ = T t=1 du T dr t dr t df t df t dθ + dr t df t 1 df t 1 dθ (11) Usinggradientlearningwithlearningrateρ,theadjustmentoftheparametersis Δθ = ρ du (θ ) T (12) dθ Note that due to the inherit recurrence of the total derivatives, the entire sequence depends on the previous time periods. To correctly compute the learning in a time sequence, we have to compute in a recursive manner. The learningequationhasaform Δθ t = ρ dd t dr t dr t df t df t dθ t + dr t 12 df t 1 df t 1 (13) dθ t 1 wheredtisadifferentialofddr. The other algorithm, which uses direct information from the order flow, is a hybrid algorithm that uses a combination of the decision suggested by normal RRL algorithm and order flow based moving averages. In the simulations we decidedtousethemovingaverageofthefivelastobservations.thedecisionis basedonheuristictestsoftheperformanceofthealgorithm.however,itcanbe reasoned that if the intraday trading happens with high frequency, then the 5 minute time marginal can be seen as a practical time period. The algorithm combinestheinformationfromvarioussubalgorithmpartsandmakesdecisions basedonthatinformation.themostobviousadvantageofthisalgorithmisthat by combining information from multiple sources, it reduces the risk of biased onesourcedecision.inthishybridalgorithm,theorderflowpartdeterminesthe possible future direction of the spot exchange rate, if we accept the positive correlationassumptionbetweentheorderflowandspotnominalexchangerate. TheRRLpartgivesestimatesnotonlyoftheamountofchangeinspotexchange rate,butalsosomeestimateofthedirection. ThecombinedmodeloftheRRLandorderflowismorepromisingthantheuse of direct RRL based on the order flow algorithm. The decision function in RRL made it possible for us to utilise order flow more accurately, though different functionalformswerethoughtandtested. 6. QuantitativeAnalysisofthePerformance The quantitative analysis is performed with simulated data and to some extent withrealdailydata(evansandlyons(1999)).eventhoughusingthedailydata somewhat changes the nature of the trading, which is done by algorithms, the algorithmsareunrelatedtothetimediscretionofthemarkettime. Tomeasuretheperformanceofthealgorithms,threemeasuresareused;profit, Sharpe ratio, and daily ranking, which is made by ranking analysed algorithms bythedailyprofit(profitmadeindailytradingtakingplacebetween i.e.in480minutes).sharperatioisdefinedas

13 S T = mean R t (14) var R t wherertisthereturnintimet. Thesimulationsaredonewithasetofsimulationparameters,wherethespread for the day is The spread is large, but can be seen in highly volatile markets (i.e. RUB). Half of the used spread is used as the transaction cost for trading. High spreads, like the one used, should encourage algorithms to do fewer trades during the day. Large spreads are also used to encourage gaining differencesinsimulationresults.thetestedalgorithmshaveeachapproximately 5% share of the total order flow of the market. The algorithms can be seen to represent major players in the market (10 th largest overall currency trader by volume in May 2008 did have about a 3% share of the overall volume (EuromoneyFXsurvey)).Theparametersthatdefinetherelationbetweenorder flowandspotexchangeratearetheorderofmagnitudeofthenetorderflowof 10 million, which will cause a 1% change in spot rate according to the buying pressureofthedemand.themagnitudeoftherelationisoverestimatedtofind possible changes in exchange rate. Based on this, the volatility of the market is high. In the simulation, the spot exchange rate is updated every minute. However,themacropartoftheexchangeratepredictionisupdatedonlyevery 200 minutes (about once in every 3 hours). It can be seen that the changes in macrofundamentalshavealowerfrequency. The model parameters in RRL based algorithms can greatly affect the performanceofthealgorithm.weshouldkeepthisinmindwhenconsideringthe performanceofrrl basedalgorithms.themodelparameters,likethelearning rate and numbers of differences that is used in the moving average part of the decision function, will greatly affect the performance of the algorithm. In the simulation,therrlmodelparametersareheuristicallychosenandhaveahigh likelihood of not being the optimal ones. The choice of the optimal model parameters for RRL based algorithms can be seen as one of the drawbacks of usingthesealgorithms 7. Results The simulation results are based on simulation runs of the simulation trading day (480 min = 8 hour trading day) to obtain statistically significant results. It took a total of two days to compute these simulation runs. First we lookattheresultswithoutanyfilteringorremovalofbiasedobservations.then ten best and ten worst daily results are removed from each algorithm s result. Toanalysetheperformanceofthealgorithm,theKruskal Wallisnon parametric one way analysis of variance test (Gibbons, J. D) is performed. The common descriptivestatisticsoftheprofitsare: 13

14 Table1.Profitsofthedifferentalgorithms.(Profitsaremeasuredaspercentsand1meansthat the equity of the dealer has not changed during the day. Exceptionally high magnitude of 10 3 profits or loses are explained by the simulation spot exchange rate, which gives a slight possibilitytogainunrealisticallyhugevariationsinexchangerate.) InTable1weseethedescriptivestatisticsofalgorithms.,theRRL+orderflow indicatorandrrlperformedwell.however,theorderflowbasedrrlhadthe highest overall result when there was no removal of the 10 best daily results. Thehighestresultwasintheorderofmagnitudeof1e+6.However,thiskindof resultwascausedbyexceptionalvariationoftheexchangerate.thefluctuation ofexchangerateisaninheriteffectofthechosenmodelparameters,whichwere chosentoencourageexchangeratevariation.itis,however,noteworthythatthe RRL+orderflowindicatorhasalsothebiggeststandarddeviation.Thiscanbe seen as an undesirable characteristic for a good algorithm. On the other hand, RRLseemstoperformaveragelywitharathersmallstandarddeviation. Figure3Box WhiskerPlotoftheprofits.(1istheorderflowRRL,2isRRL,3isRRL+orderflow indicator) 14

15 BasedontheKurskal Wallistest,wecanrejectthenullhypothesisofthesame median of all three algorithm s profits with confidence of 95%. By continuing testing, we can see that even the medians of the RRL and RRL + order flow indicator differ from each other. We can conclude that the RRL + order flow indicatorseemstooutperformtheothers. Table2.Sharperatiodescriptivestatistics Figure4Sharperatios(Ratiosofeachindividualsimulationdaysortedindescendingorder) Table 2 and in Figure 4 show that the order flow RRL performs both exceptionally well and very poorly with respect to the Sharpe ratio. This is especially evident in Figure 4 where the line of the order flow RRL is very S shapedwhencomparedtotheotheralgorithms.weseethattherrlstaysrather flat with respect to the Sharpe ratio and therefore its performance is steady, if not the most profitable. RRL + order flow indicator seems to perform well in general,butdoeshavesomebaddays.tosummarize,wecanconcludethatrrl+ order flow indicator is in a class of its own in general. The RRL performs most steadily. The order flow RRL does have some remarkable days, but the overall performanceisnotgood. 15

16 Figure5Dailyrankingofthealgorithms(Fromleft:numberonerankings,numbertworankings, numberthreerankings) Figure 5 shows that RRL + order flow indicator captures most of the top rankings. RRL has a consistent performance and ranks number two in most of thedays.orderflowrrlseemstobetheoptionwiththeweakestperformance. 16

17 Figure 6 Results from real daily data (top panel: blue = exchange rate, green dashed = order flow.restofthepanels:pink=orderflowrrl,greendashed=rrl,bluedash dot=rrl+order flowindicator) WecanseeanoteworthytrendinFigure6.TheorderflowRRLoutperformsthe restofthealgorithms.thisismainlyduetothemorecautiousnatureoftherrl +orderflowindicator,whichcanbeseeninthedecisionspanel(figure6.thierd panelfromthetop),wheretherearemanyzerodecisionsmadebyrrl+order flow. Looking at the Sharpe ratio panel, we can see that order flow RRL algorithmatalltimesperformswellandthatotheralgorithmsperformhorribly. In order to gain more realistic and statistically correct results, more genuine minute data would have been needed. The parameterisation of the RRL based algorithmscanalsobeseenasarelevantfactor,sincethemodelparametersfor RRL were chosen to represent a volatile simulation market. The effects of the parameters are most clearly seen in the RRL + order flow indicator algorithm; thealgorithmistoocarefulandthereforemakestoomanyzerodecisions(figure 6, third panel). However, since limited genuine data was available for the RRL modelparameters,wewereunabletochoosetheminanymorespecifiedway. 8. LimitationsoftheSimulation The simulation is somewhat simplified. We were forced to determine some simulation parameters, namely parameters for distributions of the order flow, size of the market, and segmentation of the different algorithms. From the algorithm point of view, one limiting factor was the choice of the model parameters. The lack of a limit order book can be seen as a hindrance in the simulationmodel.therealisticimplementationofalimitorderbookisdifficult, because in order to define it realistically, we would need to know the traders strategiesofusingtousethelimitorderbook.thereareseveralwaystousethe 17

18 limit order book; it can be used as a risk control method as well as in an opportunisticway.thesimulationwasbasedononlyalimitednumberofagents andtherestofagentpopulationwasmodeledonlywithdistributions. 9. Conclusions TheuseoftheorderflowinformationandbetterunderstandingoftheFXmarket help develop better trading algorithms. However, the efficient utilisation of the gained information seems to be hard. The hybrid algorithms are the most promising approach to construct a well performing algorithmic trader. The better understanding of the market microstructure helps us to develop more accurate indicators and hence, to improve algorithmic trading. Based on the simulations presented in this paper, the order flow information helps us to developbetteralgorithmictraders.however,constructinganefficientalgorithm remainsachallenge.algorithmsimplementedliketherrlareblackboxmodels. These algorithms are very sensitive to model parameter changes. The prospect of RRL based algorithms being able to learn to pick certain features in the FX marketandtomakedefeasibledecisionsbasedonthosefeaturesispromising.in order to gain better and more accurate results, genuine minute based data is needed. It might be available in some time in the future mainly because of the advances in algorithms and the transition to use electrical broker systems(e.g. EBS). The next logical research challenge is to develop an even better and detailed understandingofthemarketmicrostructure.afterthatwemightseetheuseof new kinds of algorithms, e.g. Hidden Markov process based algorithms, which areusedwithsuccessinspeechrecognition.inthefutureitisinterestingtosee whethertheuseofalgorithmictradingwillalterthedynamicsofthemarketand exchangerateprocess,ornot. 18

19 10. References MarkP.Austin,GrahamBates,MichaelA.H.Dempster,VascoLeemans and Stacy N William, 2004, Adaptive systems for foreign exchange trading, QuantitativeFinanceVolume4(August2004)C37 C45 PhilippeBacchettaandEricvanWincoop,2006, CanInformationHeterogeneity Explain the Exchange Rate Determination Puzzle?, The American Economic Review, AmericanEconomicAssociation,vol.96(3),pages ,June. JonDanielsson,RichardPayne,JinhuiLuo,2002,ExchangeRateDetermination andinter MarketOrderFlowEffects ( pdf)( ) Martin D. D. Evans and Richard K. Lyons, 1999, Order flow and exchange rate dynamics( Martin D. D. Evans and Richard K. Lyons, 2001, Order flow and exchange rate dynamics, ( ( ) MartinD.D.EvansandRichardK.Lyons,2004,ExchangeRateFundamentalsand OrderFlow ( pdf)( ) MartinD.D.EvansandRichardK.Lyons,2007,ExchangeRateFundamentalsand OrderFlow,( MartinD.D.EvansandRichardK.Lyons,2005,ANewMicroModelofExchange RateDynamics,( Martin D. D. Evans and Richard K. Lyons, 2005, Understanding Order Flow ( html)( ) Martin D. D. Evans, Richard K. Lyons,2005, MEESE ROGOFF REDUX: ( ( ) Martin D. D. Evans, Richard K. Lyons, 2005, Understanding Order Flow ( html)( ) MartinD.D.Evans,2008,OrderFlowsandTheExchangeRateDisconnectPuzzle ( J.D.Gibbons,1985,NonparametricStatisticalInference,2ndedition,M.Dekker. 19

20 J. Koskinen, J. Airas, T. Nummelin, T. Pekkala and J. Starczewski, Exploring Algorithms for Automated FX Trading Constructing a Hybrid Model, Mat Seminar on Case Studies in Operations Research, Spring 2008 ( /projektit2008.html)( ) Richard K. Lyons, 2001, Foreign Exchange: Macro Puzzles, Micro Tools ( ( ) R.MeeseandK.Rogoff,1983,Empiricalexchangeratemodelsoftheseventies, JournalofInternationalEconomics R. Meese and K. Rogoff, 1997, The out of sample failure of empirical exchange rate models Exchange Rates and International Macroeconomics, ed. J Frenkel (Chicago:UniversityofChicagoPress)pp23 38 Dagfinn Rime, New Electronic Trading Systems in Foreign Exchange Markets, NewEconomyHandbook,2003,ElsevierScience(USA) Paolo Vitale, A Market Microstructure Analysis Of Foreign Exchange Intervention,ECBWorkingpapers,No629/May2006 FengWang,Xiao BingFeng,LuTang,MicroeconimicModelingandSimultionof Exhcange Rate with Heterogeneous Strategies, Proceedings of the Sixth InternationalConferenceonMachineLearningandCybernetics,HongKong,19 22August2007 Micro BasedExchangeRateForecasting,NBERWorkingPaperSeries,(Working Paper11042, Euromoney FX survey FX Poll 2008: The Euromoney FX survey is the largest global poll of foreign exchange service providers.' (wikipedia) ( Exchange.html)( ) 20

MPhil F510 Topics in International Finance Petra M. Geraats Lent Course Overview

MPhil F510 Topics in International Finance Petra M. Geraats Lent Course Overview Course Overview MPhil F510 Topics in International Finance Petra M. Geraats Lent 2016 1. New micro approach to exchange rates 2. Currency crises References: Lyons (2001) Masson (2007) Asset Market versus

More information

Risks for the Long Run: A Potential Resolution of Asset Pricing Puzzles

Risks for the Long Run: A Potential Resolution of Asset Pricing Puzzles : A Potential Resolution of Asset Pricing Puzzles, JF (2004) Presented by: Esben Hedegaard NYUStern October 12, 2009 Outline 1 Introduction 2 The Long-Run Risk Solving the 3 Data and Calibration Results

More information

Measuring the Amount of Asymmetric Information in the Foreign Exchange Market

Measuring the Amount of Asymmetric Information in the Foreign Exchange Market Measuring the Amount of Asymmetric Information in the Foreign Exchange Market Esen Onur 1 and Ufuk Devrim Demirel 2 September 2009 VERY PRELIMINARY & INCOMPLETE PLEASE DO NOT CITE WITHOUT AUTHORS PERMISSION

More information

Market Liquidity and Performance Monitoring The main idea The sequence of events: Technology and information

Market Liquidity and Performance Monitoring The main idea The sequence of events: Technology and information Market Liquidity and Performance Monitoring Holmstrom and Tirole (JPE, 1993) The main idea A firm would like to issue shares in the capital market because once these shares are publicly traded, speculators

More information

Chapter 9, section 3 from the 3rd edition: Policy Coordination

Chapter 9, section 3 from the 3rd edition: Policy Coordination Chapter 9, section 3 from the 3rd edition: Policy Coordination Carl E. Walsh March 8, 017 Contents 1 Policy Coordination 1 1.1 The Basic Model..................................... 1. Equilibrium with Coordination.............................

More information

Labor Economics Field Exam Spring 2011

Labor Economics Field Exam Spring 2011 Labor Economics Field Exam Spring 2011 Instructions You have 4 hours to complete this exam. This is a closed book examination. No written materials are allowed. You can use a calculator. THE EXAM IS COMPOSED

More information

IEOR E4602: Quantitative Risk Management

IEOR E4602: Quantitative Risk Management IEOR E4602: Quantitative Risk Management Basic Concepts and Techniques of Risk Management Martin Haugh Department of Industrial Engineering and Operations Research Columbia University Email: martin.b.haugh@gmail.com

More information

Characterization of the Optimum

Characterization of the Optimum ECO 317 Economics of Uncertainty Fall Term 2009 Notes for lectures 5. Portfolio Allocation with One Riskless, One Risky Asset Characterization of the Optimum Consider a risk-averse, expected-utility-maximizing

More information

A Macroeconomic Framework for Quantifying Systemic Risk

A Macroeconomic Framework for Quantifying Systemic Risk A Macroeconomic Framework for Quantifying Systemic Risk Zhiguo He, University of Chicago and NBER Arvind Krishnamurthy, Northwestern University and NBER December 2013 He and Krishnamurthy (Chicago, Northwestern)

More information

MARKET ORDER FLOWS, LIMIT ORDER FLOWS AND EXCHANGE RATE DYNAMICS

MARKET ORDER FLOWS, LIMIT ORDER FLOWS AND EXCHANGE RATE DYNAMICS MARKET ORDER FLOWS, LIMIT ORDER FLOWS AND EXCHANGE RATE DYNAMICS Roman Kozhan Warwick Business School Michael J. Moore Queen s University Belfast Richard Payne Cass Business School 8th Annual Central Bank

More information

Not All Oil Price Shocks Are Alike: A Neoclassical Perspective

Not All Oil Price Shocks Are Alike: A Neoclassical Perspective Not All Oil Price Shocks Are Alike: A Neoclassical Perspective Vipin Arora Pedro Gomis-Porqueras Junsang Lee U.S. EIA Deakin Univ. SKKU December 16, 2013 GRIPS Junsang Lee (SKKU) Oil Price Dynamics in

More information

Eco504 Spring 2010 C. Sims FINAL EXAM. β t 1 2 φτ2 t subject to (1)

Eco504 Spring 2010 C. Sims FINAL EXAM. β t 1 2 φτ2 t subject to (1) Eco54 Spring 21 C. Sims FINAL EXAM There are three questions that will be equally weighted in grading. Since you may find some questions take longer to answer than others, and partial credit will be given

More information

Random Walk Expectations and the Forward. Discount Puzzle 1

Random Walk Expectations and the Forward. Discount Puzzle 1 Random Walk Expectations and the Forward Discount Puzzle 1 Philippe Bacchetta Eric van Wincoop January 10, 007 1 Prepared for the May 007 issue of the American Economic Review, Papers and Proceedings.

More information

LECTURE NOTES 10 ARIEL M. VIALE

LECTURE NOTES 10 ARIEL M. VIALE LECTURE NOTES 10 ARIEL M VIALE 1 Behavioral Asset Pricing 11 Prospect theory based asset pricing model Barberis, Huang, and Santos (2001) assume a Lucas pure-exchange economy with three types of assets:

More information

Practical example of an Economic Scenario Generator

Practical example of an Economic Scenario Generator Practical example of an Economic Scenario Generator Martin Schenk Actuarial & Insurance Solutions SAV 7 March 2014 Agenda Introduction Deterministic vs. stochastic approach Mathematical model Application

More information

. Social Security Actuarial Balance in General Equilibrium. S. İmrohoroğlu (USC) and S. Nishiyama (CBO)

. Social Security Actuarial Balance in General Equilibrium. S. İmrohoroğlu (USC) and S. Nishiyama (CBO) ....... Social Security Actuarial Balance in General Equilibrium S. İmrohoroğlu (USC) and S. Nishiyama (CBO) Rapid Aging and Chinese Pension Reform, June 3, 2014 SHUFE, Shanghai ..... The results in this

More information

Order Flow and Exchange Rate Dynamics

Order Flow and Exchange Rate Dynamics Order Flow and Exchange Rate Dynamics Martin D. D. Evans Richard K. Lyons This draft: August 1999 Abstract Macroeconomic models of nominal exchange rates perform poorly. In sample, R 2 statistics as high

More information

Equity correlations implied by index options: estimation and model uncertainty analysis

Equity correlations implied by index options: estimation and model uncertainty analysis 1/18 : estimation and model analysis, EDHEC Business School (joint work with Rama COT) Modeling and managing financial risks Paris, 10 13 January 2011 2/18 Outline 1 2 of multi-asset models Solution to

More information

Choice Probabilities. Logit Choice Probabilities Derivation. Choice Probabilities. Basic Econometrics in Transportation.

Choice Probabilities. Logit Choice Probabilities Derivation. Choice Probabilities. Basic Econometrics in Transportation. 1/31 Choice Probabilities Basic Econometrics in Transportation Logit Models Amir Samimi Civil Engineering Department Sharif University of Technology Primary Source: Discrete Choice Methods with Simulation

More information

Heterogeneous Firm, Financial Market Integration and International Risk Sharing

Heterogeneous Firm, Financial Market Integration and International Risk Sharing Heterogeneous Firm, Financial Market Integration and International Risk Sharing Ming-Jen Chang, Shikuan Chen and Yen-Chen Wu National DongHwa University Thursday 22 nd November 2018 Department of Economics,

More information

General Examination in Macroeconomic Theory SPRING 2016

General Examination in Macroeconomic Theory SPRING 2016 HARVARD UNIVERSITY DEPARTMENT OF ECONOMICS General Examination in Macroeconomic Theory SPRING 2016 You have FOUR hours. Answer all questions Part A (Prof. Laibson): 60 minutes Part B (Prof. Barro): 60

More information

Booms and Busts in Asset Prices. May 2010

Booms and Busts in Asset Prices. May 2010 Booms and Busts in Asset Prices Klaus Adam Mannheim University & CEPR Albert Marcet London School of Economics & CEPR May 2010 Adam & Marcet ( Mannheim Booms University and Busts & CEPR London School of

More information

Liquidity and Risk Management

Liquidity and Risk Management Liquidity and Risk Management By Nicolae Gârleanu and Lasse Heje Pedersen Risk management plays a central role in institutional investors allocation of capital to trading. For instance, a risk manager

More information

State-Dependent Fiscal Multipliers: Calvo vs. Rotemberg *

State-Dependent Fiscal Multipliers: Calvo vs. Rotemberg * State-Dependent Fiscal Multipliers: Calvo vs. Rotemberg * Eric Sims University of Notre Dame & NBER Jonathan Wolff Miami University May 31, 2017 Abstract This paper studies the properties of the fiscal

More information

Market MicroStructure Models. Research Papers

Market MicroStructure Models. Research Papers Market MicroStructure Models Jonathan Kinlay Summary This note summarizes some of the key research in the field of market microstructure and considers some of the models proposed by the researchers. Many

More information

Microeconomic Foundations of Incomplete Price Adjustment

Microeconomic Foundations of Incomplete Price Adjustment Chapter 6 Microeconomic Foundations of Incomplete Price Adjustment In Romer s IS/MP/IA model, we assume prices/inflation adjust imperfectly when output changes. Empirically, there is a negative relationship

More information

Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective

Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective Alisdair McKay Boston University June 2013 Microeconomic evidence on insurance - Consumption responds to idiosyncratic

More information

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2017

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2017 ECON 459 Game Theory Lecture Notes Auctions Luca Anderlini Spring 2017 These notes have been used and commented on before. If you can still spot any errors or have any suggestions for improvement, please

More information

Exchange Rate Forecasting

Exchange Rate Forecasting Exchange Rate Forecasting Controversies in Exchange Rate Forecasting The Cases For & Against FX Forecasting Performance Evaluation: Accurate vs. Useful A Framework for Currency Forecasting Empirical Evidence

More information

Algorithmic and High-Frequency Trading

Algorithmic and High-Frequency Trading LOBSTER June 2 nd 2016 Algorithmic and High-Frequency Trading Julia Schmidt Overview Introduction Market Making Grossman-Miller Market Making Model Trading Costs Measuring Liquidity Market Making using

More information

DEPARTMENT OF ECONOMICS YALE UNIVERSITY P.O. Box New Haven, CT

DEPARTMENT OF ECONOMICS YALE UNIVERSITY P.O. Box New Haven, CT DEPARTMENT OF ECONOMICS YALE UNIVERSITY P.O. Box 208268 New Haven, CT 06520-8268 http://www.econ.yale.edu/ Economics Department Working Paper No. 33 Cowles Foundation Discussion Paper No. 1635 Estimating

More information

Market Order Flows, Limit Order Flows and Exchange Rate Dynamics

Market Order Flows, Limit Order Flows and Exchange Rate Dynamics Market Order Flows, Limit Order Flows and Exchange Rate Dynamics by Kozhan, Moore and Payne October 2012 Introduction Extends the Evans and Lyons (2002) Portfolio Shifts Model to simultaneous trading in

More information

Chapter 3. Dynamic discrete games and auctions: an introduction

Chapter 3. Dynamic discrete games and auctions: an introduction Chapter 3. Dynamic discrete games and auctions: an introduction Joan Llull Structural Micro. IDEA PhD Program I. Dynamic Discrete Games with Imperfect Information A. Motivating example: firm entry and

More information

Expectations and market microstructure when liquidity is lost

Expectations and market microstructure when liquidity is lost Expectations and market microstructure when liquidity is lost Jun Muranaga and Tokiko Shimizu* Bank of Japan Abstract In this paper, we focus on the halt of discovery function in the financial markets

More information

Random Walk Expectations and the Forward Discount Puzzle 1

Random Walk Expectations and the Forward Discount Puzzle 1 Random Walk Expectations and the Forward Discount Puzzle 1 Philippe Bacchetta Study Center Gerzensee University of Lausanne Swiss Finance Institute & CEPR Eric van Wincoop University of Virginia NBER January

More information

What is Cyclical in Credit Cycles?

What is Cyclical in Credit Cycles? What is Cyclical in Credit Cycles? Rui Cui May 31, 2014 Introduction Credit cycles are growth cycles Cyclicality in the amount of new credit Explanations: collateral constraints, equity constraints, leverage

More information

COMPARING NEURAL NETWORK AND REGRESSION MODELS IN ASSET PRICING MODEL WITH HETEROGENEOUS BELIEFS

COMPARING NEURAL NETWORK AND REGRESSION MODELS IN ASSET PRICING MODEL WITH HETEROGENEOUS BELIEFS Akademie ved Leske republiky Ustav teorie informace a automatizace Academy of Sciences of the Czech Republic Institute of Information Theory and Automation RESEARCH REPORT JIRI KRTEK COMPARING NEURAL NETWORK

More information

Order flow and exchange rate dynamics Martin D D Evans 1 and Richard K Lyons

Order flow and exchange rate dynamics Martin D D Evans 1 and Richard K Lyons Order flow and exchange rate dynamics Martin D D Evans 1 and Richard K Lyons Abstract Macroeconomic models of nominal exchange rates perform poorly. In sample, R 2 statistics as high as 10% are rare. Out

More information

Dynamic Market Making and Asset Pricing

Dynamic Market Making and Asset Pricing Dynamic Market Making and Asset Pricing Wen Chen 1 Yajun Wang 2 1 The Chinese University of Hong Kong, Shenzhen 2 Baruch College Institute of Financial Studies Southwestern University of Finance and Economics

More information

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives Advanced Topics in Derivative Pricing Models Topic 4 - Variance products and volatility derivatives 4.1 Volatility trading and replication of variance swaps 4.2 Volatility swaps 4.3 Pricing of discrete

More information

Course information FN3142 Quantitative finance

Course information FN3142 Quantitative finance Course information 015 16 FN314 Quantitative finance This course is aimed at students interested in obtaining a thorough grounding in market finance and related empirical methods. Prerequisite If taken

More information

EFFICIENT MARKETS HYPOTHESIS

EFFICIENT MARKETS HYPOTHESIS EFFICIENT MARKETS HYPOTHESIS when economists speak of capital markets as being efficient, they usually consider asset prices and returns as being determined as the outcome of supply and demand in a competitive

More information

BIS working paper No. 271 February 2009 joint with M. Loretan, J. Gyntelberg and E. Chan of the BIS

BIS working paper No. 271 February 2009 joint with M. Loretan, J. Gyntelberg and E. Chan of the BIS 2 Private information, stock markets, and exchange rates BIS working paper No. 271 February 2009 joint with M. Loretan, J. Gyntelberg and E. Chan of the BIS Tientip Subhanij 24 April 2009 Bank of Thailand

More information

A Macroeconomic Framework for Quantifying Systemic Risk. June 2012

A Macroeconomic Framework for Quantifying Systemic Risk. June 2012 A Macroeconomic Framework for Quantifying Systemic Risk Zhiguo He Arvind Krishnamurthy University of Chicago & NBER Northwestern University & NBER June 212 Systemic Risk Systemic risk: risk (probability)

More information

Exercises on the New-Keynesian Model

Exercises on the New-Keynesian Model Advanced Macroeconomics II Professor Lorenza Rossi/Jordi Gali T.A. Daniël van Schoot, daniel.vanschoot@upf.edu Exercises on the New-Keynesian Model Schedule: 28th of May (seminar 4): Exercises 1, 2 and

More information

TOPICS IN MACROECONOMICS: MODELLING INFORMATION, LEARNING AND EXPECTATIONS LECTURE NOTES. Lucas Island Model

TOPICS IN MACROECONOMICS: MODELLING INFORMATION, LEARNING AND EXPECTATIONS LECTURE NOTES. Lucas Island Model TOPICS IN MACROECONOMICS: MODELLING INFORMATION, LEARNING AND EXPECTATIONS LECTURE NOTES KRISTOFFER P. NIMARK Lucas Island Model The Lucas Island model appeared in a series of papers in the early 970s

More information

Consumption and Asset Pricing

Consumption and Asset Pricing Consumption and Asset Pricing Yin-Chi Wang The Chinese University of Hong Kong November, 2012 References: Williamson s lecture notes (2006) ch5 and ch 6 Further references: Stochastic dynamic programming:

More information

Fixed versus Flexible: Lessons from EMS Order Flow

Fixed versus Flexible: Lessons from EMS Order Flow Fixed versus Flexible: Lessons from EMS Order Flow William P. Killeen BNP Paribas Asset Management, London Richard K. Lyons University of California, Berkeley, and NBER Michael J. Moore The Queen s University

More information

INTERTEMPORAL ASSET ALLOCATION: THEORY

INTERTEMPORAL ASSET ALLOCATION: THEORY INTERTEMPORAL ASSET ALLOCATION: THEORY Multi-Period Model The agent acts as a price-taker in asset markets and then chooses today s consumption and asset shares to maximise lifetime utility. This multi-period

More information

Exchange Rates and Fundamentals: A General Equilibrium Exploration

Exchange Rates and Fundamentals: A General Equilibrium Exploration Exchange Rates and Fundamentals: A General Equilibrium Exploration Takashi Kano Hitotsubashi University @HIAS, IER, AJRC Joint Workshop Frontiers in Macroeconomics and Macroeconometrics November 3-4, 2017

More information

A Macroeconomic Framework for Quantifying Systemic Risk

A Macroeconomic Framework for Quantifying Systemic Risk A Macroeconomic Framework for Quantifying Systemic Risk Zhiguo He, University of Chicago and NBER Arvind Krishnamurthy, Stanford University and NBER March 215 He and Krishnamurthy (Chicago, Stanford) Systemic

More information

Chapter II: Labour Market Policy

Chapter II: Labour Market Policy Chapter II: Labour Market Policy Section 2: Unemployment insurance Literature: Peter Fredriksson and Bertil Holmlund (2001), Optimal unemployment insurance in search equilibrium, Journal of Labor Economics

More information

Ocean Hedge Fund. James Leech Matt Murphy Robbie Silvis

Ocean Hedge Fund. James Leech Matt Murphy Robbie Silvis Ocean Hedge Fund James Leech Matt Murphy Robbie Silvis I. Create an Equity Hedge Fund Investment Objectives and Adaptability A. Preface on how the hedge fund plans to adapt to current and future market

More information

Optimal Credit Limit Management

Optimal Credit Limit Management Optimal Credit Limit Management presented by Markus Leippold joint work with Paolo Vanini and Silvan Ebnoether Collegium Budapest - Institute for Advanced Study September 11-13, 2003 Introduction A. Background

More information

CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION

CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION Szabolcs Sebestyén szabolcs.sebestyen@iscte.pt Master in Finance INVESTMENTS Sebestyén (ISCTE-IUL) Choice Theory Investments 1 / 65 Outline 1 An Introduction

More information

The Margins of Global Sourcing: Theory and Evidence from U.S. Firms by Pol Antràs, Teresa C. Fort and Felix Tintelnot

The Margins of Global Sourcing: Theory and Evidence from U.S. Firms by Pol Antràs, Teresa C. Fort and Felix Tintelnot The Margins of Global Sourcing: Theory and Evidence from U.S. Firms by Pol Antràs, Teresa C. Fort and Felix Tintelnot Online Theory Appendix Not for Publication) Equilibrium in the Complements-Pareto Case

More information

A Macroeconomic Framework for Quantifying Systemic Risk

A Macroeconomic Framework for Quantifying Systemic Risk A Macroeconomic Framework for Quantifying Systemic Risk Zhiguo He, University of Chicago and NBER Arvind Krishnamurthy, Northwestern University and NBER May 2013 He and Krishnamurthy (Chicago, Northwestern)

More information

Online Appendix to Bond Return Predictability: Economic Value and Links to the Macroeconomy. Pairwise Tests of Equality of Forecasting Performance

Online Appendix to Bond Return Predictability: Economic Value and Links to the Macroeconomy. Pairwise Tests of Equality of Forecasting Performance Online Appendix to Bond Return Predictability: Economic Value and Links to the Macroeconomy This online appendix is divided into four sections. In section A we perform pairwise tests aiming at disentangling

More information

European option pricing under parameter uncertainty

European option pricing under parameter uncertainty European option pricing under parameter uncertainty Martin Jönsson (joint work with Samuel Cohen) University of Oxford Workshop on BSDEs, SPDEs and their Applications July 4, 2017 Introduction 2/29 Introduction

More information

Public Pension Reform in Japan

Public Pension Reform in Japan ECONOMIC ANALYSIS & POLICY, VOL. 40 NO. 2, SEPTEMBER 2010 Public Pension Reform in Japan Akira Okamoto Professor, Faculty of Economics, Okayama University, Tsushima, Okayama, 700-8530, Japan. (Email: okamoto@e.okayama-u.ac.jp)

More information

Estimating Exchange Rate Equations Using Estimated Expectations

Estimating Exchange Rate Equations Using Estimated Expectations Estimating Exchange Rate Equations Using Estimated Expectations Ray C. Fair April 2008 Abstract This paper takes a somewhat different approach from much of the literature in estimating exchange rate equations.

More information

INVENTORY MODELS AND INVENTORY EFFECTS *

INVENTORY MODELS AND INVENTORY EFFECTS * Encyclopedia of Quantitative Finance forthcoming INVENTORY MODELS AND INVENTORY EFFECTS * Pamela C. Moulton Fordham Graduate School of Business October 31, 2008 * Forthcoming 2009 in Encyclopedia of Quantitative

More information

Effect of Trading Halt System on Market Functioning: Simulation Analysis of Market Behavior with Artificial Shutdown *

Effect of Trading Halt System on Market Functioning: Simulation Analysis of Market Behavior with Artificial Shutdown * Effect of Trading Halt System on Market Functioning: Simulation Analysis of Market Behavior with Artificial Shutdown * Jun Muranaga Bank of Japan Tokiko Shimizu Bank of Japan Abstract This paper explores

More information

What Can Rational Investors Do About Excessive Volatility and Sentiment Fluctuations?

What Can Rational Investors Do About Excessive Volatility and Sentiment Fluctuations? What Can Rational Investors Do About Excessive Volatility and Sentiment Fluctuations? Bernard Dumas INSEAD, Wharton, CEPR, NBER Alexander Kurshev London Business School Raman Uppal London Business School,

More information

EE266 Homework 5 Solutions

EE266 Homework 5 Solutions EE, Spring 15-1 Professor S. Lall EE Homework 5 Solutions 1. A refined inventory model. In this problem we consider an inventory model that is more refined than the one you ve seen in the lectures. The

More information

Volatility Risk Pass-Through

Volatility Risk Pass-Through Volatility Risk Pass-Through Ric Colacito Max Croce Yang Liu Ivan Shaliastovich 1 / 18 Main Question Uncertainty in a one-country setting: Sizeable impact of volatility risks on growth and asset prices

More information

Strategic Trading of Informed Trader with Monopoly on Shortand Long-Lived Information

Strategic Trading of Informed Trader with Monopoly on Shortand Long-Lived Information ANNALS OF ECONOMICS AND FINANCE 10-, 351 365 (009) Strategic Trading of Informed Trader with Monopoly on Shortand Long-Lived Information Chanwoo Noh Department of Mathematics, Pohang University of Science

More information

Market Timing Does Work: Evidence from the NYSE 1

Market Timing Does Work: Evidence from the NYSE 1 Market Timing Does Work: Evidence from the NYSE 1 Devraj Basu Alexander Stremme Warwick Business School, University of Warwick November 2005 address for correspondence: Alexander Stremme Warwick Business

More information

Scapegoat Theory of Exchange Rates. First Tests

Scapegoat Theory of Exchange Rates. First Tests The : The First Tests Marcel Fratzscher* Lucio Sarno** Gabriele Zinna *** * European Central Bank and CEPR ** Cass Business School and CEPR *** Bank of England December 2010 Motivation Introduction Motivation

More information

Consumption- Savings, Portfolio Choice, and Asset Pricing

Consumption- Savings, Portfolio Choice, and Asset Pricing Finance 400 A. Penati - G. Pennacchi Consumption- Savings, Portfolio Choice, and Asset Pricing I. The Consumption - Portfolio Choice Problem We have studied the portfolio choice problem of an individual

More information

RATIONAL BUBBLES AND LEARNING

RATIONAL BUBBLES AND LEARNING RATIONAL BUBBLES AND LEARNING Rational bubbles arise because of the indeterminate aspect of solutions to rational expectations models, where the process governing stock prices is encapsulated in the Euler

More information

Global Currency Hedging

Global Currency Hedging Global Currency Hedging JOHN Y. CAMPBELL, KARINE SERFATY-DE MEDEIROS, and LUIS M. VICEIRA ABSTRACT Over the period 1975 to 2005, the U.S. dollar (particularly in relation to the Canadian dollar), the euro,

More information

Internet Appendix: High Frequency Trading and Extreme Price Movements

Internet Appendix: High Frequency Trading and Extreme Price Movements Internet Appendix: High Frequency Trading and Extreme Price Movements This appendix includes two parts. First, it reports the results from the sample of EPMs defined as the 99.9 th percentile of raw returns.

More information

STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics. Ph. D. Comprehensive Examination: Macroeconomics Spring, 2009

STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics. Ph. D. Comprehensive Examination: Macroeconomics Spring, 2009 STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics Ph. D. Comprehensive Examination: Macroeconomics Spring, 2009 Section 1. (Suggested Time: 45 Minutes) For 3 of the following 6 statements,

More information

Richard Olsen The democratization of the foreign exchange market

Richard Olsen The democratization of the foreign exchange market Richard Olsen The democratization of the foreign exchange market Dr. Richard Olsen, Chairman of Olsen and Associates, Zurich, Switzerland 1 The foreign exchange market, with a daily transaction volume

More information

PORTFOLIO THEORY. Master in Finance INVESTMENTS. Szabolcs Sebestyén

PORTFOLIO THEORY. Master in Finance INVESTMENTS. Szabolcs Sebestyén PORTFOLIO THEORY Szabolcs Sebestyén szabolcs.sebestyen@iscte.pt Master in Finance INVESTMENTS Sebestyén (ISCTE-IUL) Portfolio Theory Investments 1 / 60 Outline 1 Modern Portfolio Theory Introduction Mean-Variance

More information

Career Progression and Formal versus on the Job Training

Career Progression and Formal versus on the Job Training Career Progression and Formal versus on the Job Training J. Adda, C. Dustmann,C.Meghir, J.-M. Robin February 14, 2003 VERY PRELIMINARY AND INCOMPLETE Abstract This paper evaluates the return to formal

More information

A Macroeconomic Model with Financial Panics

A Macroeconomic Model with Financial Panics A Macroeconomic Model with Financial Panics Mark Gertler, Nobuhiro Kiyotaki, Andrea Prestipino NYU, Princeton, Federal Reserve Board 1 March 218 1 The views expressed in this paper are those of the authors

More information

A Guided Tour of the Market Micro Structure Approach to Exchange Rate Determination

A Guided Tour of the Market Micro Structure Approach to Exchange Rate Determination A Guided Tour of the Market Micro Structure Approach to Exchange Rate Determination Paolo Vitale Università D Annunzio and CEPR June 2004 Abstract We propose a critical review of recent developments in

More information

Assessing the Spillover Effects of Changes in Bank Capital Regulation Using BoC-GEM-Fin: A Non-Technical Description

Assessing the Spillover Effects of Changes in Bank Capital Regulation Using BoC-GEM-Fin: A Non-Technical Description Assessing the Spillover Effects of Changes in Bank Capital Regulation Using BoC-GEM-Fin: A Non-Technical Description Carlos de Resende, Ali Dib, and Nikita Perevalov International Economic Analysis Department

More information

Singular Stochastic Control Models for Optimal Dynamic Withdrawal Policies in Variable Annuities

Singular Stochastic Control Models for Optimal Dynamic Withdrawal Policies in Variable Annuities 1/ 46 Singular Stochastic Control Models for Optimal Dynamic Withdrawal Policies in Variable Annuities Yue Kuen KWOK Department of Mathematics Hong Kong University of Science and Technology * Joint work

More information

WITH SKETCH ANSWERS. Postgraduate Certificate in Finance Postgraduate Certificate in Economics and Finance

WITH SKETCH ANSWERS. Postgraduate Certificate in Finance Postgraduate Certificate in Economics and Finance WITH SKETCH ANSWERS BIRKBECK COLLEGE (University of London) BIRKBECK COLLEGE (University of London) Postgraduate Certificate in Finance Postgraduate Certificate in Economics and Finance SCHOOL OF ECONOMICS,

More information

Large tick assets: implicit spread and optimal tick value

Large tick assets: implicit spread and optimal tick value Large tick assets: implicit spread and optimal tick value Khalil Dayri 1 and Mathieu Rosenbaum 2 1 Antares Technologies 2 University Pierre and Marie Curie (Paris 6) 15 February 2013 Khalil Dayri and Mathieu

More information

Measuring and explaining liquidity on an electronic limit order book: evidence from Reuters D

Measuring and explaining liquidity on an electronic limit order book: evidence from Reuters D Measuring and explaining liquidity on an electronic limit order book: evidence from Reuters D2000-2 1 Jón Daníelsson and Richard Payne, London School of Economics Abstract The conference presentation focused

More information

Estimating a Life Cycle Model with Unemployment and Human Capital Depreciation

Estimating a Life Cycle Model with Unemployment and Human Capital Depreciation Estimating a Life Cycle Model with Unemployment and Human Capital Depreciation Andreas Pollak 26 2 min presentation for Sargent s RG // Estimating a Life Cycle Model with Unemployment and Human Capital

More information

Supplementary Material: Strategies for exploration in the domain of losses

Supplementary Material: Strategies for exploration in the domain of losses 1 Supplementary Material: Strategies for exploration in the domain of losses Paul M. Krueger 1,, Robert C. Wilson 2,, and Jonathan D. Cohen 3,4 1 Department of Psychology, University of California, Berkeley

More information

Foreign Direct Investment and Economic Growth in Some MENA Countries: Theory and Evidence

Foreign Direct Investment and Economic Growth in Some MENA Countries: Theory and Evidence Loyola University Chicago Loyola ecommons Topics in Middle Eastern and orth African Economies Quinlan School of Business 1999 Foreign Direct Investment and Economic Growth in Some MEA Countries: Theory

More information

Model Construction & Forecast Based Portfolio Allocation:

Model Construction & Forecast Based Portfolio Allocation: QBUS6830 Financial Time Series and Forecasting Model Construction & Forecast Based Portfolio Allocation: Is Quantitative Method Worth It? Members: Bowei Li (303083) Wenjian Xu (308077237) Xiaoyun Lu (3295347)

More information

Opening Remarks. Alan Greenspan

Opening Remarks. Alan Greenspan Opening Remarks Alan Greenspan Uncertainty is not just an important feature of the monetary policy landscape; it is the defining characteristic of that landscape. As a consequence, the conduct of monetary

More information

Chapter 8 A Short Run Keynesian Model of Interdependent Economies

Chapter 8 A Short Run Keynesian Model of Interdependent Economies George Alogoskoufis, International Macroeconomics, 2016 Chapter 8 A Short Run Keynesian Model of Interdependent Economies Our analysis up to now was related to small open economies, which took developments

More information

Online Appendix (Not intended for Publication): Federal Reserve Credibility and the Term Structure of Interest Rates

Online Appendix (Not intended for Publication): Federal Reserve Credibility and the Term Structure of Interest Rates Online Appendix Not intended for Publication): Federal Reserve Credibility and the Term Structure of Interest Rates Aeimit Lakdawala Michigan State University Shu Wu University of Kansas August 2017 1

More information

Comments on Michael Woodford, Globalization and Monetary Control

Comments on Michael Woodford, Globalization and Monetary Control David Romer University of California, Berkeley June 2007 Revised, August 2007 Comments on Michael Woodford, Globalization and Monetary Control General Comments This is an excellent paper. The issue it

More information

Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime-Switching Approach

Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime-Switching Approach Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime-Switching Approach Gianluca Benigno 1 Andrew Foerster 2 Christopher Otrok 3 Alessandro Rebucci 4 1 London School of Economics and

More information

RECURSIVE VALUATION AND SENTIMENTS

RECURSIVE VALUATION AND SENTIMENTS 1 / 32 RECURSIVE VALUATION AND SENTIMENTS Lars Peter Hansen Bendheim Lectures, Princeton University 2 / 32 RECURSIVE VALUATION AND SENTIMENTS ABSTRACT Expectations and uncertainty about growth rates that

More information

Financial Economics Field Exam January 2008

Financial Economics Field Exam January 2008 Financial Economics Field Exam January 2008 There are two questions on the exam, representing Asset Pricing (236D = 234A) and Corporate Finance (234C). Please answer both questions to the best of your

More information

Sentiments and Aggregate Fluctuations

Sentiments and Aggregate Fluctuations Sentiments and Aggregate Fluctuations Jess Benhabib Pengfei Wang Yi Wen June 15, 2012 Jess Benhabib Pengfei Wang Yi Wen () Sentiments and Aggregate Fluctuations June 15, 2012 1 / 59 Introduction We construct

More information

Financial Integration and Growth in a Risky World

Financial Integration and Growth in a Risky World Financial Integration and Growth in a Risky World Nicolas Coeurdacier (SciencesPo & CEPR) Helene Rey (LBS & NBER & CEPR) Pablo Winant (PSE) Barcelona June 2013 Coeurdacier, Rey, Winant Financial Integration...

More information

Rho and Delta. Paul Hollingsworth January 29, Introduction 1. 2 Zero coupon bond 1. 3 FX forward 2. 5 Rho (ρ) 4. 7 Time bucketing 6

Rho and Delta. Paul Hollingsworth January 29, Introduction 1. 2 Zero coupon bond 1. 3 FX forward 2. 5 Rho (ρ) 4. 7 Time bucketing 6 Rho and Delta Paul Hollingsworth January 29, 2012 Contents 1 Introduction 1 2 Zero coupon bond 1 3 FX forward 2 4 European Call under Black Scholes 3 5 Rho (ρ) 4 6 Relationship between Rho and Delta 5

More information

Asset Pricing with Heterogeneous Consumers

Asset Pricing with Heterogeneous Consumers , JPE 1996 Presented by: Rustom Irani, NYU Stern November 16, 2009 Outline Introduction 1 Introduction Motivation Contribution 2 Assumptions Equilibrium 3 Mechanism Empirical Implications of Idiosyncratic

More information

QF101 Solutions of Week 12 Tutorial Questions Term /2018

QF101 Solutions of Week 12 Tutorial Questions Term /2018 QF0 Solutions of Week 2 Tutorial Questions Term 207/208 Answer. of Problem The main idea is that when buying selling the base currency, buy sell at the ASK BID price. The other less obvious idea is that

More information