Can We Learn to Beat the Best Stock
|
|
|
- Jade Briggs
- 10 years ago
- Views:
Transcription
1 Journal of Artificial Intelligence Research 2 (2004) Submitted 08/03; published 05/04 Can We Learn to Beat the Allan Borodin Department of Computer Science University of Toronto Toronto, ON, M5S 3G4 Canada Ran El-Yaniv Department of Computer Science Technion - Israel Institute of Technology Haifa 32000, Israel Vincent Gogan Department of Computer Science University of Toronto Toronto, ON, M5S 3G4 Canada [email protected] [email protected] [email protected] Abstract A novel algorithm for actively trading stocks is presented. While traditional expert advice and universal algorithms (as well as standard technical trading heuristics) attempt to predict winners or trends, our approach relies on predictable statistical relations between all pairs of stocks in the market. Our empirical results on historical markets provide strong evidence that this type of technical trading can beat the market and moreover, can beat the best stock in the market. In doing so we utilize a new idea for smoothing critical parameters in the context of expert learning.. Introduction The portfolio selection (PS) problem is a challenging problem for machine learning, online algorithms and, of course, computational finance. As is well known (e.g. see Lugosi, 200) sequence prediction under the log loss measure can be viewed as a special case of portfolio selection, and perhaps more surprisingly, from a certain worst case minimax criterion, portfolio selection is not essentially any harder (than prediction) as shown in (Cover & Ordentlich, 996) (see also Lugosi, 200, Thm. 20 & 2). But there seems to be a qualitative difference between the practical utility of universal sequence prediction and universal portfolio selection. Simply stated, universal sequence prediction algorithms under various probabilistic and worst-case models appear to work very well in practice whereas the known universal portfolio selection algorithms do not seem to provide any substantial benefit over a naive investment strategy (see Section 5). A major pragmatic question is whether or not a computer program can consistently outperform the market. A closer inspection of the interesting ideas developed in information theory and online learning suggests that a promising approach is to exploit the natural volatility in the market and in particular to benefit from simple and rather persistent statistical relations between stocks rather than to try to predict stock prices or winners. c 2004 AI Access Foundation. All rights reserved.
2 Borodin, El-Yaniv, & Gogan We present a non-universal portfolio selection algorithm, which does not try to predict winners. The motivation behind our algorithm is the rationale behind constant rebalancing algorithms and the worst case study of universal trading introduced by Cover (99). Not only does our proposed algorithm substantially beat the market on historical markets, it also beats the best stock. So why are we presenting this algorithm and not just simply making money? There are, of course some caveats and obstacles to utilizing the algorithm. But for large investors the possibility of a goose laying silver (if not golden) eggs is not perhaps impossible. 2. The Portfolio Selection Problem Assume a market with m stocks. Let v t =(v t (),..., v t (m)) be the daily closing prices 2 of the m stocks for the t th day, where v t (j) is the price of the jth stock. It is convenient to work with relative prices x t (j) =v t (j)/v t (j) so that an investment of $d in the jth stock just before the t th day yields dx t (j) dollars. We let x t =(x t (),..., x t (m)) denote the market vector of relative prices corresponding to the t th day. A portfolio b is an allocation of wealth in the stocks, specified by the proportions b =(b(),..., b(m)) of current dollar wealth invested in each of the stocks, where b(j) 0 and j b(j) =. The daily return of a portfolio b w.r.t. a market vector x is b x = j b(j)x(j) and the (compound) total return, ret X (b,..., b n ), of a sequence of portfolios b,..., b n w.r.t. a market sequence X = x,..., x n is n t= b t x t. A portfolio selection algorithm A is any deterministic or randomized rule for specifying a sequence of portfolios and we let ret X (A) denote its total return for the market sequence X. The simplest strategy is to buy-and-hold stocks using some portfolio b. We denote this strategy by BAHb and let U-BAH denote the uniform buy-and-hold when b = (/m,..., /m). We say that a portfolio selection algorithm beats the market when it outpeforms U-BAH on a given market sequence although in practice the market can be represented by some non-uniform BAH. 3 Buy-and-hold strategies rely on the tendency of successful markets to grow. Much of modern portfolio theory focuses on how to choose a good b for the buyand-hold strategy. The seminal ideas of Markowitz (959) yield an algorithmic procedure for choosing the weights of the portfolio b so as to minimize the variance for any feasible expected return. This variance minimization is possible by placing appropriate (larger) weights on subsets of sufficiently anti-correlated stocks, an idea which we shall also utilize. We denote the optimal in hindsight buy-and-hold strategy (i.e. invest only in the best stock) by BAH. An alternative approach to the static buy-and-hold is to dynamically change the portfolio during the trading period. This approach is often called active trading. One example of active trading is constant rebalancing; namely, fix a portfolio b and (re)invest your dollars each day according to b. We denote this constant rebalancing strategy by CBALb and let CBAL denote the optimal (in hindsight) CBAL. A constant rebalancing strategy can often. Any PS algorithm can be modified to be universal by investing any fixed fraction of the initial wealth in a universal algorithm. 2. There is nothing special about daily closing prices and the problem can be defined with respect to any (sub)sequence of the (intra-day) sequence of all price offers which appear in the stock market. 3. For example the Dow Jones Industrial Average (DJIA) is calculated as a non uniform average of the 30 DJIA stocks; see e.g
3 Can We Learn to Beat the take advantage of market fluctuations to achieve a return significantly greater than that of BAH. CBAL is always at least as good as the best stock BAH and in some real market sequences a constant rebalancing strategy will take advantage of market fluctuations and significantly outperform the best stock (see e.g. Table ). For now, consider Cover and Gluss s (986) classic (but contrived) example of a market consisting of cash and one stock and the market sequence of price relatives ( ( /2), ) ( 2, ( /2), 2),.... Now consider the CBAL b with b =( 2, 2 ). On each odd day the daily return of CBAL b is = 3 4 and on each even day, it is 3/2. The total return over n days is therefore (9/8) n/2, illustrating how a constant rebalancing strategy can yield exponential returns in a no-growth market. Under the assumption that the daily market vectors are observations of identically and independently distributed (i.i.d) random variables, it is shown in (Cover & Thomas, 99) that CBAL performs at least as good (in the sense of expected total return) as the best online portfolio selection algorithm. However, many studies (see e.g. Lo & MacKinlay, 999) argue that stock price sequences do have long term memory and are not i.i.d. A non-traditional objective (in computational finance) is to develop online trading strategies that are in some sense always guaranteed to perform well. 4 Within a line of research pioneered by Cover (Cover & Gluss, 986; Cover, 99; Cover & Ordentlich, 996) one attempts to design portfolio selection algorithms that can provably do well (in terms of their total return) with respect to some online or offline benchmark algorithms. Two natural online benchmark algorithms are the uniform buy and hold U-BAH, and the uniform constant rebalancing strategy U-CBAL, which is CBALb with b =( m,..., m ). A natural offline benchmark is BAH and a more challenging offline benchmark is CBAL. A portfolio selection algorithm A is called universal if for every market sequence X over n days, it guarantees a subexponential ratio (in n) between its return ret X (A) and that of ret X (CBAL ). In particular, Cover and Ordentlich s Universal Portfolios algorithm (Cover, 99; Cover & Ordentlich, 996), denoted here by UNIVERSAL, was proven to be universal; more specifically for every market sequence X of m stocks over n days, it guarantees the subexponential (indeed polynomial) ratio ) ret X (CBAL )/ret X (UNIVERSAL) =O (n m 2. () From a theoretical perspective this is surprising as this performance ratio is bounded by a polynomial in n (for fixed m) whereas CBAL is capable of exponential returns. From a practical perspective, this bound is not very useful because the empirical returns observed for CBAL portfolios is often not exponential in the number of trading days. However, the motivation that underlies the potential of CBAL algorithms is useful! We follow this motivation and develop a new algorithm which we call ANTICOR. By attempting to systematically follow the constant rebalancing philosophy, ANTICOR is capable of some extraordinary performance in the absence of transaction costs, or even with very small transaction costs. 4. A trading strategy is online if it computes the portfolio for the (t+) st day using only market information for the first t days. This is in contrast to offline algorithms such as U-BAH, CBAL and the optimal strategy of picking the best stock for each individual day. Such offline algorithms compute a sequence of portfolios as a function of the entire market sequence. 58
4 Borodin, El-Yaniv, & Gogan 3. Trying to Learn the Winners The most direct approach to expert learning and portfolio selection is a (reward based) weighted average prediction scheme, which adaptively computes a weighted average of experts by gradually increasing (by some multiplicative or additive update rule) the relative weights of the more successful experts. In this section we briefly discuss some related portfolio selection results along these lines. For example, in the context of the PS problem consider the exponentiated gradient EG(η) algorithm proposed by (Helmbold et al., 998). The EG(η) algorithm computes the next portfolio to be b t+ (j) = b t (j) exp {ηx t (j)/(b t x t )} m j= b t(j) exp {ηx t (j)/(b t x t )}, where η is a learning rate parameter. EG was designed to greedily choose the best portfolio for yesterday s market x t while at the same time paying a penalty from moving far from yesterday s portfolio. For a universal bound on EG, Helmbold et al. set η =2x min 2(log m)/n where x min is a lower bound on any price relative. 5 It is easy to see that as n increases, η decreases to 0 so that we can think of η as being very small in order to achieve universality. When η = 0, the algorithm EG(η) degenerates to the uniform CBAL (assuming we started with a uniform portfolio) which is not a universal algorithm. It is also the case that if each day the price relatives for all stocks were identical, then EG (as well as other PS algorithms) will converge to the uniform CBAL. Combining a small learning rate with a reasonably balanced market we expect the performance of EG to be similar to that of the uniform CBAL and this is confirmed by our experiments (see Table ). 6 Cover s universal algorithms adaptively learn each day s portfolio by increasing the weights of successful CBALs. The update rule for these universal algorithms is b t+ = b rett (CBALb)dµ(b), rett (CBALb)dµ(b) where µ( ) is some prior distribution over portfolios. Thus, the weight of a possible portfolio is proportional to its total return ret t (b) thus far times its prior. The particular universal algorithm we consider in our experiments uses the Dirichlet prior (with parameters ( 2,..., 2 )) (Cover & Ordentlich, 996).7 Somewhat surprisingly, as noted in (Cover & Ordentlich, 996) the algorithm is equivalent to a static weighted average (given by µ(b)) over all CBALs (see also Borodin & El-Yaniv, 998, p. 29). This equivalence helps to demystify the universality result and also shows that the algorithm can never outperform CBAL. 5. Helmbold et al. show how to eliminate the need to know x min and n. While EG can be made universal, its performance ratio is only sub-exponential (and not polynomial) in n. 6. Following Helmbold et al. we fix η =0.0 in our experiments. Additional experiments, for a wide range of fixed η settings, confirm that for our datasets the choice of η =0.0 is an optimal or near optimal choice. Of course, it is possible to adaptively set η throughout the trading period, but that is beyond the scope of this paper. 7. The papers (Cover, 99; Cover & Ordentlich, 996; Blum & Kalai, 998) consider a simpler version of this algorithm where the (Dirichlet) prior is uniform. This algorithm is also universal and achieves a ratio Θ(n m ). Experimentally (on our datasets) there is a negligible difference between these two variants and here we only report on the results of the asymptotically optimal algorithm. 582
5 Can We Learn to Beat the A different type of winner learning algorithm can be obtained from any sequence prediction strategy, as noted in (Borodin, El-Yaniv, & Gogan, 2000). For each stock j, a (soft) sequence prediction algorithm provides a probability p(j) that the next symbol will be j {,..., m}. We view this as a prediction that stock j will have the best relative price for the next day and set b t+ (j) =p j. The paper (Borodin et al., 2000) considers predictions made using the prediction component of the well-known Lempel-Ziv (LZ) lossless compression algorithm (Ziv & Lempel, 978). This prediction component is nicely described in (Langdon, 983) and in (Feder, 99). As a prediction algorithm, LZ is provably powerful in various senses. First it can be shown that it is asymptotically optimal with respect to any stationary and ergodic finite order Markov source (Rissanen, 983; Ziv & Lempel, 978). Moreover, Feder shows that LZ is also universal in a worst case sense with respect to the (offline) benchmark class of all finite state prediction machines. To summarize, the common approach to devising PS algorithms has been to attempt and learn winners using simple or more sophisticated winner learning schemes. 4. The Anticor Algorithm We propose a different approach, motivated by a CBAL-inspired philosophy. How can we interpret the success of the uniform CBAL on the Cover and Gluss example of Section 2? Clearly, the uniform CBAL here is taking advantage of price fluctuation by constantly transferring wealth from the high performing stock to the relatively low performing stock. Even in a less contrived market, a CBAL is capable of large returns. A market model favoring the use of a CBAL is one in which stock growth rates are stable in the long term and occasional larger return rates will be followed by smaller rates (and vice versa). This market phenomenon is is sometimes called reversal to the mean. There are many ways that one can interpret and implement algorithms based on the philosophy of reversal to the mean. In particular, any CBAL can be viewed as a static implementation of this philosophy. We now describe the motivation and basic ingredients in our ANTICOR algorithm which adaptively (based on recent empirical statistics) and rather aggressively 8 implements reversal to the mean. For a given trading day, consider the most recent past w trading days, where w is some integer parameter. The growth rate of any stock i during this window of time is measured by the product of relative prices during this window. 9 Motivated by the assumption that we have a portfolio of stocks that are all performing similarly in terms of long term growth rates, ANTICOR s first condition for transferring money from stock i to stock j is that the growth rate for stock i exceeds that of stock j in this most recent window of time. 0 In addition, the ANTICOR algorithm requires some indication that stock j will start to emulate the past growth of stock i in the near future. To this end, ANTICOR requires a positive correlation between stock i during the second last window and stock j during the last window. The relative extent to which we will transfer money from stock i to stock j will depend on 8. Our ANTICOR algorithm is aggressive (say, compared to CBAL) in the sense that it can transfer all assets out of a given stock. Various heuristics can be used to moderate this behavior. 9. Since we would rather deal with arithmetic instead of geometric means we will use the logarithms of relative prices. 0. Note that here the umderlying model assumption is reversal to the same mean. One can modify the algorithm so as to account for different means. 583
6 Borodin, El-Yaniv, & Gogan the strength of this correlation as well as the strength of the self anti-correlations for stocks i and j (again in two consecutive windows). ANTICOR is so named because we use these correlations and anticorrelations in consecutive windows to indicate the potential for anticorrelations of the growth rates for stocks i and j in the near future (with hopefully the growth rate of stock j becoming greater than that of stock i). Formally, we define LX = log(x t 2w+ ),..., log(x t w ) T and LX 2 = log(x t w+ ),..., log(x t ) T, (2) where log(x k ) denotes (log(x k ()),..., log(x k (m))). Thus, LX and LX 2 are the two vector sequences (equivalently, two w m matrices) constructed by taking the logarithm over the market subsequences corresponding to the time windows [t 2w +,t w] and [t w +,t], respectively. We denote the jth column of LX k by LX k (j). Let µ k =(µ k (),..., µ k (m)), be the vectors of averages of columns of LX k. Similarly, let σ k, be the vector of standard deviations of columns of LX k. The cross-correlation matrix (and its normalization) between column vectors in LX and LX 2 are defined as M cov (i, j) = w (LX (i) µ (i)) T (LX 2 (j) µ 2 (j)); { Mcov (i,j) M cor (i, j) = σ (i)σ 2 (j) σ (i),σ 2 (j) 0; 0 otherwise. M cor (i, j) [, ] measures the correlation between log-relative prices of stock i over the first window and stock j over the second window. We note that if σ (i) (respectively, σ 2 (j)) is zero over some window then the growth rate of stock i during the second last window (respectively, stock j during the last window) is constant during this window. For sufficiently large windows of time constant growth of any stock i is unlikely. However, in this unlikely case we choose not to move money into or out of such a stock i. 2 For each pair of stocks i and j we compute claim i j, the extent to which we want to shift our investment from stock i to stock j. Namely, there is such a claim iff µ 2 (i) >µ 2 (j) and M cor (i, j) > 0 in which case claim i j = M cor (i, j)+a(i)+a(j) where A(h) = M cor (h, h) if M cor (h, h) < 0, else 0. Following our interpretation for the success of a CBAL, M cor (i, j) > 0 is used to predict that stocks i and j will be correlated in consecutive windows (i.e. the current window and the next window based on the evidence for the last two windows) and M cor (h, h) < 0 predicts that stock h will be negatively auto-correlated over consecutive windows. Finally, b t+ (i) =b t (i) + j i [transfer j i transfer i j ] where transfer i j = b t (i) claim i j / j claim i j. A pseudocode summarizing the ANTICOR algorithm appears in Figure. The pseudocode describes the routine ANTICOR(w, t, X t, ˆb t ) that receives a window size w, the current trading day t, the historical market sequence X t (giving the market vectors corresponding to days,..., t) and the current portfolio ˆb t defined to be ˆb t = b t x t (b t ()x t (),..., b t (m)x t (m)). The routine is first called with an empty historical market sequence and with ˆb t being the uniform portfolio (over m stocks). The routine. Recall that the correlation coefficient is a normalized covariance with the covariance divided by the product of the standard deviations; that is, Cor(X, Y ) = Cov(X, Y )/(std(x) std(y )) where Cov(X, Y )=E[(X mean(x))(y mean(y ))]. 2. Of course, other approaches can be used to accommodate constant or nearly constant growth rate. (3) 584
7 Can We Learn to Beat the returns the new portfolio, to which we should rebalance at the start of the (t + ) st trading day. Algoritm ANTICOR(w, t, X t, ˆb t) Input:. w: Window size 2. t: Index of last trading day 3. X t = x,..., x t : Historical market sequence 4. ˆbt : current portfolio (by the end of trading day t) Output: b t+ : Next day s portfolio. Return the current portfolio ˆb t if t<2w. 2. Compute LX and LX 2 as defined in Equation (2), and µ and µ 2, the (vector) averages of LX and LX 2, respectively. 3. Compute M cor (i, j) as defined in Equation (3). 4. Calculate claims: for i, j m, initialize claim i j =0 5. If µ 2(i) µ 2(j) and M cor(i, j) > 0 then (a) claim i j = claim i j + M cor(i, j); (b) if M cor(i, i) < 0 then claim i j = claim i j M cor(i, i); (c) if M cor(j, j) < 0 then claim i j = claim i j M cor(j, j); 6. Calculate new portfolio: Initialize b t+ = ˆb t. For i, j m (a) Let transfer i j = b t i claim i j/ j claimi j ; (b) b t+ i = b t+ i transfer i j; (c) b t+ i = b t+ i + transfer j i; Figure : Algorithm ANTICOR Our ANTICORw algorithm has one critical parameter, the window size w. In Figure 2 we depict the total return of ANTICORw on two historical datasets as a function of the window size w =2,..., 30 (detailed descriptions of these datasets appear in Section 5). As we might expect, the performance of ANTICORw depends significantly on the window size. However, for all w, ANTICORw beats the uniform market and, moreover, it beats the best stock using most window sizes. Of course, in online trading we cannot choose w in hindsight. Viewing the ANTICORw algorithms as experts, we can try to learn the best expert. But the windows, like individual stocks, induce a rather volatile set of experts and standard expert combination algorithms (Cesa-Bianchi et al., 997) tend to fail. 3 Alternatively, we can adaptively learn and invest in some weighted average of all ANTICORw algorithms with w less than some maximum W. The simplest case is a uniform investment on all the windows; that is, a uniform buy-and-hold investment on the algorithms ANTICORw, w [2,W], denoted by BAHW (ANTICOR). Figure 3 graphs the total return of BAHW (ANTICOR) as a function of W for all values of 2 W 50 for the four datasets we consider here. Considering these graphs, our choice of W = 30 was arbitrary but clearly not 3. This assertion is based on empirical studies we conducted with various expert advice algorithms. 585
8 Borodin, El-Yaniv, & Gogan 0 8 NYSE: Anticor w vs. window size TSX: Anticor w vs. window size BAH(Anticor(Window)) Anticor(Window) Market Return Total Return (log scale) Anticor w BAH(Anticor w ) Anticor w Market Total Return Anticor w Window Size (w) 2 0 (a) SP500: Anticor w vs. window size BAH(Anticor w ) Anticor w Market Return BAH(Anticor w ) Anticor w Market Return Window Size (w) (b) DJIA: Anticor w vs. window size Anticor w Total Return 8 6 Anticor w Total Return Window Size (w) (c) Window Size (w) (d) Figure 2: ANTICORw s total return (per $ investment) vs. window size 2 w 30 for (a) NYSE; (b) TSX; (c) SP500; (d) DJIA. The dashed (red) lines represent the final return of the best stock and the dash-dotted (blue) lines, the final return the (uniform) market. The dotted (green) horizontal lines represent a uniform investment on a number of ANTICORw applications as later described. optimal. Of course, we could try to optimize the parameter W for each particular dataset by training the algorithm on historical data before beginning to trade. However, our claim is that almost any choice of W will yield returns that beat the best stock (the only exception is W = 2 in the DJIA dataset). Since we now consider the various algorithms as stocks (whose prices are determined by the cumulative returns of the algorithms), we are back to our original portfolio selection problem and if the ANTICOR algorithm performs well on stocks it may also perform well on algorithms. We thus consider active investment in the various ANTICORw algorithms using ANTICOR. We again consider all windows w W. Of course, we can continue to compound the algorithm any number of times. Here we compound twice and then use a buy-and-hold investment. The resulting algorithm is denoted BAHW (ANTICOR(ANTICOR)). One impact of this compounding, depicted in Figure 4, is to smooth out the anti-correlations exhibited in the stocks. It is evident that after compounding twice the returns become almost completely 586
9 Can We Learn to Beat the NYSE: Total Return vs. Max Window 30 TSX: Total Return vs Max Window 0 7 BAH W (Anticor) Total Return (log scale) BAH W (Anticor) BAH W (Anticor) Market Total Return BAH W (Anticor) Market Maximal Window size (W) 7 (a) SP500: Total Return vs Max Window BAH W (Anticor) Maximal Window Size (W) (b) DJIA: Total Return vs Max Window.6 Total Return BAH W (Anticor) Market Maximal Window Size (W) (c) Total Return BAH W (Anticor) BAH W (Anticor) Market Maximal Window Size (W) (d) Figure 3: BAHW (ANTICOR) s total return (per $ investment) as a function of the maximal window W : NYSE (a); TSX (b); SP500 (c); DJIA (d). correlated thus diminishing the possibility that additional compounding will substantially help. 4 This idea for smoothing critical parameters may be applicable in other learning applications. The challenge is to understand the conditions and applications in which the process of compounding algorithms will have this smoothing effect. 5. An Empirical Comparison of the Algorithms We present an experimental study of the the ANTICOR algorithm and the three online learning algorithms described in Section 3. We focus on BAH30(ANTICOR), abbreviated by ANTI and BAH30(ANTICOR(ANTICOR)), abbreviated by ANTI 2. Four historical datasets are used. The first NYSE dataset, is the one used in (Cover, 99; Cover & Ordentlich, 996; Helmbold et al., 998) and (Blum & Kalai, 998). This dataset contains 565 daily prices for 36 stocks in the New York Stock Exchange (NYSE) for the twenty two year period July 3 rd, 962 to Dec 3 st, 984. The second TSX dataset consists of 88 stocks from the Toronto Stock Exchange (TSX), for the five year period Jan 4 th, 994 to Dec 3 st, 998. The third 4. This smoothing effect also allows for the use of simple prediction algorithms such as expert advice algorithms (Cesa-Bianchi et al., 997), which can now better predict a good window size. We have not explored this direction. 587
10 Borodin, El-Yaniv, & Gogan DJIA: Dec 4, 2002 Jan 4, Stocks 2.2 Anticor 2.8 Anticor Total Return Days Days Days Figure 4: Cumulative returns for last month of the DJIA dataset: stocks (left panel); ANTICORw algorithms trading the stocks (denoted ANTICOR, middle panel); ANTICORw algorithms trading the ANTICOR algorithms (right panel). dataset consists of the 25 stocks from SP500 which (as of Apr. 2003) had the largest market capitalization. This set spans 276 trading days for the period Jan 2 nd, 998 to Jan 3 st, The fourth dataset consists of the thirty stocks composing the Dow Jones Industrial Average (DJIA) for the two year period (507 days) from Jan 4 th, 200 to Jan 4 th, Algorithm NYSE TSX SP500 DJIA NYSE TSX SP500 DJIA Market (U-BAH) CBAL U-CBAL ANTI 7,059, ANTI 2 238,820, LZ EG UNIVERSAL Table : Monetary returns in dollars (per $ investment) of various algorithms for four different datasets and their reversed versions. The winner and runner-up for each market appear in boldface. All figures are truncated to two decimals. These four datasets are quite different in nature (the market returns for these datasets appear in the first row of Table ). While every stock in the NYSE increased in value, 32 of the 88 stocks in the TSX lost money, 7 of the 25 stocks in the SP500 lost money and 5. The four datasets, including their sources and individual stock compositions can be downloaded from rani/portfolios. 588
11 Can We Learn to Beat the 25 of the 30 stocks in the negative market DJIA lost money. With the exception of the TSX, these data sets include only highly liquid stocks with large market capitalizations. In order to maximize the utility of these datasets and yet present rather different markets, we also ran each market in reverse. This is simply done by reversing the order and inverting the relative prices. The reverse datasets are denoted by a - superscript. Some of the reverse markets are particularly challenging. For example, all of the NYSE stocks are going down. Note that the forward and reverse markets (i.e. U-BAH) for the TSX are both increasing but that the TSX is also a challenging market since so many stocks (56 of 88) are declining. Table reports on the total returns of the various algorithms for all eight datasets. We see that prediction algorithms such as LZ can do quite well and the more aggressive ANTI and ANTI 2 have excellent and sometimes fantastic returns. Note that these active strategies beat the best stock and even CBAL in all markets with the exception of the TSX in which case they still significantly outperform the market. The reader may well be distrustful of what appears to be such unbelievable returns for ANTI and ANTI 2 especially when applied to the NYSE dataset. However, recall that the NYSE dataset consists of n = 565 trading days and the y such that y n = the total NYSE return is approximately for ANTI (respectively, for ANTI 2 ); that is, the average daily increase is less than.3% (respectively,.75%). We observe that learning algorithms such as UNIVERSAL and EG have no substantial advantage over U-CBAL. Some previous expositions of these algorithms highlighted particular combinations of stocks where the returns significantly outperformed the best stock. But the same can be said for U-CBAL. Cumulative Total Return Anti Anti 2 Market DJIA: Cumulative Total Returns Anti Anti Market Jan0 Jan02 Jan03 Date Figure 5: DJIA: Cumulative returns of of ANTI, ANTI 2, the best stock and a uniform BAH (the market ). The total returns of ANTI and ANTI 2 presented in Table are impressive but are far from telling a complete story. Consider the graphs in figure 6. While both ANTI and ANTI 2 perform well with respect to the uniform market and the best stock throughout most of the investment period, there are some periods where the cumulative return of these strategies 589
12 Borodin, El-Yaniv, & Gogan decrease. This (not surprising) behavior indicates that there is a certain degree of risk in using these investment algorithms. In finance the standard risk measure is the standard deviation of the return. In Table 2 we provide annualized returns and risks as well as risk-adjusted returns for all markets and algorithms considered here. 6 For example, the annualized return of the best stock in the DJIA set is 8.6%, its annualized risk (standard deviation) is 42% and its annualized risk-adjusted return (Sharpe ratio) is %. Algorithm NYSE TSX SP500 DJIA NYSE TSX SP500 DJIA Market 2 ± 4% 0 ± 2% 5 ± 24% 2 ± 24% 9 ± 5% 0 ± 22% 2 ± 22% 9 ± 25% (U-BAH) 58% 46% 8% -67% -86% 29% -28% 6% 9 ± 24% 44 ± 55% 30 ± 5% 8 ± 42% 4 ± 2% 06 ± 04% 0 ± 32% 65 ± 4% 63% 73% 50% % -4% 98% 20% 54% CBAL 27 ± 30% 46 ± 40% 3 ± 42% ± 26% 4 ± 40% 25 ± 78% 3 ± 27% 7 ± 76% 78% 06% 65% 27% % 56% 35% 88% U-CBAL 5 ± 3% 9 ± 3% 0 ± 22% 9 ± 25% 6 ± 3% 3 ± 3% ± 2% 23 ± 25% 88% 44% 28% -54% -77% -3% -9% 77% ANTI 0 ± 28% 93 ± 45% 40 ± 37% 26 ± 35% 27 ± 27% 48 ± 4% 45 ± 32% 90 ± 3% 367% 96% 95% 62% 86% 07% 26% 277% ANTI 2 36 ± 35% 08 ± 60% 4 ± 44% 50 ± 39% 38 ± 33% 48 ± 46% 56 ± 36% 3 ± 35% 370% 72% 86% 9% 0% 96% 43% 304% LZ 2 ± 23% 5 ± 25% 0 ± 25% 5 ± 28% 7 ± 2% 36 ± 27% 3 ± 26% 35 ± 27% 76% 6% 25% -33% 7 7% -0.8% 2% EG 5 ± 3% 9 ± 3% 0 ± 22% 9 ± 25% 6 ± 3% 3 ± 3% ± 22% 23 ± 25% 88% 44% 28% -54% -77% -2% -9% 77% UNIVERSAL 5 ± 3% 9 ± 3% 0 ± 22% 9 ± 25% 6 ± 3% 3 ± 3% ± 22% 23 ± 25% 87% 44% 27% -55% -77% -2% -% 76% Table 2: Annualized returns and respective annualized volatilities as well as annualized riskadjusted returns (Sharpe Ratio) of the various algorithms over three datasets and their reversed versions. The winner and runner-up Sharpe Ratio for each market appear in boldface. All figures are truncated to two decimals. 6. On Commissions, Trading Friction and Other Caveats When handling a portfolio of m stocks our algorithm may perform up to m transactions per day. A major concern is therefore the commissions it will incur. Within the proportional commission model (see e.g. Blum & Kalai, 998; Borodin & El-Yaniv, 998, Section 4.5.4) there exists a fraction γ (0, ) such that an investor pays at a rate of γ/2 for each buy and for each sell. Therefore, the return of a sequence b,..., b n of portfolios with respect to a market sequence x,..., x n is ( t b t x t ( γ j 2 b t(j) ˆb ) t (j) ), where 6. The annualized return is estimated using the geometric mean of the individual daily returns and the risk is the standard deviation of these daily returns multiplied by 252 where 252 is the assumed standard number of trading days per year. These calculations are standard. The (annualized) Sharpe ratio (Sharpe, 975) is the ratio of annualized return minus the risk-free return (taken to be 4%) divided by the (annualized) standard deviation. 590
13 Can We Learn to Beat the ˆb t = b t x t (b t ()x t (),..., b t (m)x t (m)). 7 Our investment algorithm in its simplest form can tolerate very small proportional commission rates and still beat the best stock. The graphs in Figure 6 depict the total returns of BAH30(ANTICOR) with proportional commission factor γ =0.%, 0.2%,..., %. The strategy can withstand small commission factors. For example, with γ =0.% the algorithm still beat the best stock in all four markets we consider (and it beats the market with γ< 0.4%). Moreover it still clearly beats the market whenever γ< 0.4%. 0 0 NYSE 30 TSX Return (log scale) 0 5 Anti Market Commission Rate (γ) SP500 6 Return Commission Rate (γ) 2 DJIA 5 Return Return Commission Rate (γ) Commission Rate (γ) Figure 6: Total returns of BAH30(ANTICOR) with proportional commissions γ = 0.%, 0.2%,..., %. However, some current online brokers charge very small proportional commissions, perhaps in addition to a small flat commission rate for all trades. 8 This means that a large investor can scale up the investment and suffer only a small proportional transaction rate. An additional caveat is our assumption that all trades could be implemented using the closing price. While in principle there is nothing special about the closing price (i.e. our algorithms can trade at any time during the trading day) practical consideration related to dataset gathering and availability dictated the use of these prices. 9 Our algorithms 7. We note that Blum and Kalai (998) showed that the performance guarantee of UNIVERSAL still holds (and gracefully degrades) in the case of proportional commissions. 8. For example, on its USA site, E*TRADE ( offers a flat fee of $0 for any trade up to 5000 shares and then $.0/share thereafter. 9. Specifically, historical closing prices are in the public domain and allow for experimental reproducibility. Historical intraday trading quotes can also be gathered but such data is usually protected and can be costly to obtain. 59
14 Borodin, El-Yaniv, & Gogan assume that all portfolio adjustments are implemented using the quoted prices they receive as inputs. This means that all transactions are implemented simultaneously using the quoted prices. With current online brokers a computerized system can issue all transaction orders almost instantly but there is no guarantee that they will be all implemented instantly. This trading friction will necessarily generate discrepancies between the input prices and implementation prices. A related problem that one must face when actually trading is the difference between bid and ask prices. These bid-ask spreads (and the availability of stocks for both buying and selling) are functions of stock liquidity and are typically small for large market capitalization stocks. We consider here only very large market cap stocks. Any report of abnormal returns using historical markets should be suspected of data snooping. In particular, all of our historical data sets are conditioned on the fact that all stocks were traded every day and there were no bankrupcies or stocks that became virtually worthless in any of these data sets. Furthermore, when a dataset is excessively mined by testing many strategies there is a substantial chance that one of the strategies will be successful by simple over-fitting. Another data snooping hazard is stock selection. Our ANTICOR algorithms were fully developed using only the NYSE and TSX datasets. The DJIA and SP500 sets were obtained (from public domain sources) after the algorithms were fixed. Finally, our algorithm has one parameter (the maximal window size W ). Our experiments clearly indicate that the algorithm s performance is robust with respect to W (see, for example, Figure 4). 7. Concluding Remarks Traditional work in financial economics tend to focus on the understanding of stock price determination. The main question there is: Can we predict the stock market? Judging by the extensive but inconclusive work done in financial forecasting, perhaps this is not the most beneficial question to ask. Rather, can a computer program consistently outperform the market? Besides practicality, it is clear that any successful portfolio selection algorithm is in itself a mathematical model that can provide some new intuition on stock price formation. For example, in our case, the algorithms suggest that some stock price fluctuations are sufficiently periodic and anti-correlated. A number of well-respected works report on statistically robust abnormal returns for simple technical analysis heuristics, which slightly beat the market. For example, the landmark study of Brock, Lakonishok, and LeBaron (992) apply 26 simple trading heuristics to the DJIA index from 897 to 986 and provide strong support for technical analysis heuristics. While consistently beating the market is considered a significant (if not impossible) challenge, our approach to portfolio selection indicates that beating the best stock is an achievable goal. While we have mainly focused on an idealized frictionless setting, we believe that even in such a frictionless setting (which seems like a reasonable starting point) no such results have been previously claimed in the literature. The results presented here raise various interesting questions. Since simple statistical relations such as correlation give rise to such outstanding returns it is plausible that various other, perhaps more sophisticated machine learning techniques, can give rise to better 592
15 Can We Learn to Beat the portfolio selection algorithms capable of larger returns and tolerating larger commissions fees. On the theoretical side, what is missing at this point of time is an analytical model which better explains why our active trading strategies are so successful. In this regard, we are investigating various statistical adversary models along the lines suggested by Raghavan (992) and Chou et al. (995). Namely, we would like to show that an algorithm performs well (relative to some benchmark) for any market sequence that satisfies certain constraints on its empirical statistics. One final caveat needs to be mentioned. Namely, the entire theory of portfolio selection algorithms assumes that any one portfolio selection algorithm has no impact on the market! But just like any goose laying golden eggs, widespread use will soon lead to the end of the goose. In our case, the market will quickly react to any method which does consistently and substantially beat the market. Acknowledgments We thank Michael Loftus for his helpful comments. We also thank Izzy Nelken and Super Computing Inc. for their help in validating the DJIA dataset. References Blum, A., & Kalai, A. (998). Universal portfolios with and without transaction costs. Machine Learning, 30 (), Borodin, A., & El-Yaniv, R. (998). Online Computation and Competitive Analysis. Cambridge University Press. Borodin, A., El-Yaniv, R., & Gogan, V. (2000). On the competitive theory and practice of portfolio selection. In Proc. of the 4th Latin American Symposium on Theoretical Informatics (LATIN 00), pp Brock, L., Lakonishok, J., & LeBaron, B. (992). Simple technical trading rules and the stochastic properties of stock returns. Journal of Finance, 47, Cesa-Bianchi, N., Freund, Y., Haussler, D., Helmbold, D., Schapire, R., & Warmuth, M. (997). How to use expert advice. Journal of the ACM, 44 (3), Chou, A., Cooperstock, J., El-Yaniv, R., Klugerman, M., & Leighton, T. (995). The statistical adversary allows optimal money-making trading strategies. In Proceedings of the 6th Annual ACM-SIAM Symposium on Discrete Algorithms. Cover, T. (99). Universal portfolios. Mathematical Finance,, 29. Cover, T., & Gluss, D. (986). Empirical bayes stock market portfolios. Advances in Applied Mathematics, 7, Cover, T., & Ordentlich, E. (996). Universal portfolios with side information. IEEE Transactions on Information Theory, 42 (2), Cover, T., & Thomas, J. (99). Elements of Information Theory. John Wiley & Sons, Inc. Feder, M. (99). Gambling using a finite state machine. IEEE Transactions on Information Theory, 37,
16 Borodin, El-Yaniv, & Gogan Helmbold, D., Schapire, R., Singer, Y., & Warmuth, M. (998). Portfolio selection using multiplicative updates. Mathematical Finance, 8 (4), Langdon, G. (983). A note on the Lempel-Ziv model for compressing individual sequences. IEEE Transactions on Information Theory, 29, Lo, A., & MacKinlay, C. (999). A Non-Random Walk Down Wall Street. Princeton University Press. Lugosi, G. (200). Lectures on prediction of individual sequences. URL: lugosi/ihp.ps. Markowitz, H. (959). Portfolio Selection: Efficient Diversification of Investments. John Wiley and Sons. Raghavan, P. (992). A statistical adversary for on-line algorithms. dimacs Series in Discrete Mathematics and Theoretical Computer Science, 7, Rissanen, J. (983). A universal data compression system. IEEE Transactions on Information Theory, 29, Sharpe, W. (975). Adjusting for risk in portfolio performance measurement. Journal of Portfolio Management, Winter. Ziv, J., & Lempel, A. (978). Compression of individual sequences via variable rate coding. IEEE Transactions on Information Theory, 24,
Can We Learn to Beat the Best Stock
Can We Learn to Beat the Allan Borodin Ran El-Yaniv 2 Vincent Gogan Department of Computer Science University of Toronto Technion - Israel Institute of Technology 2 {bor,vincent}@cs.toronto.edu [email protected]
Information Theory and Stock Market
Information Theory and Stock Market Pongsit Twichpongtorn University of Illinois at Chicago E-mail: [email protected] 1 Abstract This is a short survey paper that talks about the development of important
1 Portfolio Selection
COS 5: Theoretical Machine Learning Lecturer: Rob Schapire Lecture # Scribe: Nadia Heninger April 8, 008 Portfolio Selection Last time we discussed our model of the stock market N stocks start on day with
2 Reinforcement learning architecture
Dynamic portfolio management with transaction costs Alberto Suárez Computer Science Department Universidad Autónoma de Madrid 2849, Madrid (Spain) [email protected] John Moody, Matthew Saffell International
The Advantages and Disadvantages of Online Linear Optimization
LINEAR PROGRAMMING WITH ONLINE LEARNING TATSIANA LEVINA, YURI LEVIN, JEFF MCGILL, AND MIKHAIL NEDIAK SCHOOL OF BUSINESS, QUEEN S UNIVERSITY, 143 UNION ST., KINGSTON, ON, K7L 3N6, CANADA E-MAIL:{TLEVIN,YLEVIN,JMCGILL,MNEDIAK}@BUSINESS.QUEENSU.CA
Online Lazy Updates for Portfolio Selection with Transaction Costs
Proceedings of the Twenty-Seventh AAAI Conference on Artificial Intelligence Online Lazy Updates for Portfolio Selection with Transaction Costs Puja Das, Nicholas Johnson, and Arindam Banerjee Department
Using Generalized Forecasts for Online Currency Conversion
Using Generalized Forecasts for Online Currency Conversion Kazuo Iwama and Kouki Yonezawa School of Informatics Kyoto University Kyoto 606-8501, Japan {iwama,yonezawa}@kuis.kyoto-u.ac.jp Abstract. El-Yaniv
Application of Markov chain analysis to trend prediction of stock indices Milan Svoboda 1, Ladislav Lukáš 2
Proceedings of 3th International Conference Mathematical Methods in Economics 1 Introduction Application of Markov chain analysis to trend prediction of stock indices Milan Svoboda 1, Ladislav Lukáš 2
FTS Real Time System Project: Portfolio Diversification Note: this project requires use of Excel s Solver
FTS Real Time System Project: Portfolio Diversification Note: this project requires use of Excel s Solver Question: How do you create a diversified stock portfolio? Advice given by most financial advisors
SAMPLE MID-TERM QUESTIONS
SAMPLE MID-TERM QUESTIONS William L. Silber HOW TO PREPARE FOR THE MID- TERM: 1. Study in a group 2. Review the concept questions in the Before and After book 3. When you review the questions listed below,
Empirical Analysis of an Online Algorithm for Multiple Trading Problems
Empirical Analysis of an Online Algorithm for Multiple Trading Problems Esther Mohr 1) Günter Schmidt 1+2) 1) Saarland University 2) University of Liechtenstein [email protected] [email protected] Abstract:
Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies
Hedging Illiquid FX Options: An Empirical Analysis of Alternative Hedging Strategies Drazen Pesjak Supervised by A.A. Tsvetkov 1, D. Posthuma 2 and S.A. Borovkova 3 MSc. Thesis Finance HONOURS TRACK Quantitative
1 Portfolio mean and variance
Copyright c 2005 by Karl Sigman Portfolio mean and variance Here we study the performance of a one-period investment X 0 > 0 (dollars) shared among several different assets. Our criterion for measuring
Citi Volatility Balanced Beta (VIBE) Equity Eurozone Net Total Return Index Index Methodology. Citi Investment Strategies
Citi Volatility Balanced Beta (VIBE) Equity Eurozone Net Total Return Index Citi Investment Strategies 21 November 2011 Table of Contents Citi Investment Strategies Part A: Introduction 1 Part B: Key Information
Reducing Active Return Variance by Increasing Betting Frequency
Reducing Active Return Variance by Increasing Betting Frequency Newfound Research LLC February 2014 For more information about Newfound Research call us at +1-617-531-9773, visit us at www.thinknewfound.com
How to Win the Stock Market Game
How to Win the Stock Market Game 1 Developing Short-Term Stock Trading Strategies by Vladimir Daragan PART 1 Table of Contents 1. Introduction 2. Comparison of trading strategies 3. Return per trade 4.
Understanding Leveraged Exchange Traded Funds AN EXPLORATION OF THE RISKS & BENEFITS
Understanding Leveraged Exchange Traded Funds AN EXPLORATION OF THE RISKS & BENEFITS Direxion Shares Leveraged Exchange-Traded Funds (ETFs) are daily funds that provide 200% or 300% leverage and the ability
How to assess the risk of a large portfolio? How to estimate a large covariance matrix?
Chapter 3 Sparse Portfolio Allocation This chapter touches some practical aspects of portfolio allocation and risk assessment from a large pool of financial assets (e.g. stocks) How to assess the risk
OBJECTIVE ASSESSMENT OF FORECASTING ASSIGNMENTS USING SOME FUNCTION OF PREDICTION ERRORS
OBJECTIVE ASSESSMENT OF FORECASTING ASSIGNMENTS USING SOME FUNCTION OF PREDICTION ERRORS CLARKE, Stephen R. Swinburne University of Technology Australia One way of examining forecasting methods via assignments
Chapter 9. The Valuation of Common Stock. 1.The Expected Return (Copied from Unit02, slide 39)
Readings Chapters 9 and 10 Chapter 9. The Valuation of Common Stock 1. The investor s expected return 2. Valuation as the Present Value (PV) of dividends and the growth of dividends 3. The investor s required
1 Introduction. 2 Prediction with Expert Advice. Online Learning 9.520 Lecture 09
1 Introduction Most of the course is concerned with the batch learning problem. In this lecture, however, we look at a different model, called online. Let us first compare and contrast the two. In batch
Single item inventory control under periodic review and a minimum order quantity
Single item inventory control under periodic review and a minimum order quantity G. P. Kiesmüller, A.G. de Kok, S. Dabia Faculty of Technology Management, Technische Universiteit Eindhoven, P.O. Box 513,
arxiv:1112.0829v1 [math.pr] 5 Dec 2011
How Not to Win a Million Dollars: A Counterexample to a Conjecture of L. Breiman Thomas P. Hayes arxiv:1112.0829v1 [math.pr] 5 Dec 2011 Abstract Consider a gambling game in which we are allowed to repeatedly
Identifying Market Price Levels using Differential Evolution
Identifying Market Price Levels using Differential Evolution Michael Mayo University of Waikato, Hamilton, New Zealand [email protected] WWW home page: http://www.cs.waikato.ac.nz/~mmayo/ Abstract. Evolutionary
A New Interpretation of Information Rate
A New Interpretation of Information Rate reproduced with permission of AT&T By J. L. Kelly, jr. (Manuscript received March 2, 956) If the input symbols to a communication channel represent the outcomes
Adaptive Online Gradient Descent
Adaptive Online Gradient Descent Peter L Bartlett Division of Computer Science Department of Statistics UC Berkeley Berkeley, CA 94709 bartlett@csberkeleyedu Elad Hazan IBM Almaden Research Center 650
Gambling and Portfolio Selection using Information theory
Gambling and Portfolio Selection using Information theory 1 Luke Vercimak University of Illinois at Chicago E-mail: [email protected] Abstract A short survey is given of the applications of information theory
Journal of Financial and Economic Practice
Analyzing Investment Data Using Conditional Probabilities: The Implications for Investment Forecasts, Stock Option Pricing, Risk Premia, and CAPM Beta Calculations By Richard R. Joss, Ph.D. Resource Actuary,
Active Versus Passive Low-Volatility Investing
Active Versus Passive Low-Volatility Investing Introduction ISSUE 3 October 013 Danny Meidan, Ph.D. (561) 775.1100 Low-volatility equity investing has gained quite a lot of interest and assets over the
Optimization of technical trading strategies and the profitability in security markets
Economics Letters 59 (1998) 249 254 Optimization of technical trading strategies and the profitability in security markets Ramazan Gençay 1, * University of Windsor, Department of Economics, 401 Sunset,
Working Papers. Cointegration Based Trading Strategy For Soft Commodities Market. Piotr Arendarski Łukasz Postek. No. 2/2012 (68)
Working Papers No. 2/2012 (68) Piotr Arendarski Łukasz Postek Cointegration Based Trading Strategy For Soft Commodities Market Warsaw 2012 Cointegration Based Trading Strategy For Soft Commodities Market
Benchmarking Low-Volatility Strategies
Benchmarking Low-Volatility Strategies David Blitz* Head Quantitative Equity Research Robeco Asset Management Pim van Vliet, PhD** Portfolio Manager Quantitative Equity Robeco Asset Management forthcoming
Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS 2015-2016 Instructor: Michael Gelbart
Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS 2015-2016 Instructor: Michael Gelbart Overview Due Thursday, November 12th at 11:59pm Last updated
2.1 Complexity Classes
15-859(M): Randomized Algorithms Lecturer: Shuchi Chawla Topic: Complexity classes, Identity checking Date: September 15, 2004 Scribe: Andrew Gilpin 2.1 Complexity Classes In this lecture we will look
Computer Handholders Investment Software Research Paper Series TAILORING ASSET ALLOCATION TO THE INDIVIDUAL INVESTOR
Computer Handholders Investment Software Research Paper Series TAILORING ASSET ALLOCATION TO THE INDIVIDUAL INVESTOR David N. Nawrocki -- Villanova University ABSTRACT Asset allocation has typically used
Accurately and Efficiently Measuring Individual Account Credit Risk On Existing Portfolios
Accurately and Efficiently Measuring Individual Account Credit Risk On Existing Portfolios By: Michael Banasiak & By: Daniel Tantum, Ph.D. What Are Statistical Based Behavior Scoring Models And How Are
Online and Offline Selling in Limit Order Markets
Online and Offline Selling in Limit Order Markets Kevin L. Chang 1 and Aaron Johnson 2 1 Yahoo Inc. [email protected] 2 Yale University [email protected] Abstract. Completely automated electronic
Index tracking UNDER TRANSACTION COSTS:
MARKE REVIEWS Index tracking UNDER RANSACION COSS: rebalancing passive portfolios by Reinhold Hafner, Ansgar Puetz and Ralf Werner, RiskLab GmbH Portfolio managers must be able to estimate transaction
ARE STOCK PRICES PREDICTABLE? by Peter Tryfos York University
ARE STOCK PRICES PREDICTABLE? by Peter Tryfos York University For some years now, the question of whether the history of a stock's price is relevant, useful or pro table in forecasting the future price
Predicting the Stock Market with News Articles
Predicting the Stock Market with News Articles Kari Lee and Ryan Timmons CS224N Final Project Introduction Stock market prediction is an area of extreme importance to an entire industry. Stock price is
Offline sorting buffers on Line
Offline sorting buffers on Line Rohit Khandekar 1 and Vinayaka Pandit 2 1 University of Waterloo, ON, Canada. email: [email protected] 2 IBM India Research Lab, New Delhi. email: [email protected]
Market Seasonality Historical Data, Trends & Market Timing
Market Seasonality Historical Data, Trends & Market Timing We are entering what has historically been the best season to be invested in the stock market. According to Ned Davis Research if an individual
Understanding the Impact of Weights Constraints in Portfolio Theory
Understanding the Impact of Weights Constraints in Portfolio Theory Thierry Roncalli Research & Development Lyxor Asset Management, Paris [email protected] January 2010 Abstract In this article,
Pairs Trading STRATEGIES
Pairs Trading Pairs trading refers to opposite positions in two different stocks or indices, that is, a long (bullish) position in one stock and another short (bearish) position in another stock. The objective
Comparing Artificial Intelligence Systems for Stock Portfolio Selection
Abstract Comparing Artificial Intelligence Systems for Stock Portfolio Selection Extended Abstract Chiu-Che Tseng Texas A&M University Commerce P.O. BOX 3011 Commerce, Texas 75429 Tel: (903) 886-5497 Email:
CROSS-CORRELATION BETWEEN STOCK PRICES IN FINANCIAL MARKETS. 1. Introduction
CROSS-CORRELATION BETWEEN STOCK PRICES IN FINANCIAL MARKETS R. N. MANTEGNA Istituto Nazionale per la Fisica della Materia, Unità di Palermo and Dipartimento di Energetica ed Applicazioni di Fisica, Università
CSC2420 Fall 2012: Algorithm Design, Analysis and Theory
CSC2420 Fall 2012: Algorithm Design, Analysis and Theory Allan Borodin November 15, 2012; Lecture 10 1 / 27 Randomized online bipartite matching and the adwords problem. We briefly return to online algorithms
Exam Introduction Mathematical Finance and Insurance
Exam Introduction Mathematical Finance and Insurance Date: January 8, 2013. Duration: 3 hours. This is a closed-book exam. The exam does not use scrap cards. Simple calculators are allowed. The questions
Asymmetry and the Cost of Capital
Asymmetry and the Cost of Capital Javier García Sánchez, IAE Business School Lorenzo Preve, IAE Business School Virginia Sarria Allende, IAE Business School Abstract The expected cost of capital is a crucial
Recognizing Informed Option Trading
Recognizing Informed Option Trading Alex Bain, Prabal Tiwaree, Kari Okamoto 1 Abstract While equity (stock) markets are generally efficient in discounting public information into stock prices, we believe
Life Cycle Asset Allocation A Suitable Approach for Defined Contribution Pension Plans
Life Cycle Asset Allocation A Suitable Approach for Defined Contribution Pension Plans Challenges for defined contribution plans While Eastern Europe is a prominent example of the importance of defined
Overlapping ETF: Pair trading between two gold stocks
MPRA Munich Personal RePEc Archive Overlapping ETF: Pair trading between two gold stocks Peter N Bell and Brian Lui and Alex Brekke University of Victoria 1. April 2012 Online at http://mpra.ub.uni-muenchen.de/39534/
Understanding the Equity Summary Score Methodology
Understanding the Equity Summary Score Methodology Provided By Understanding the Equity Summary Score Methodology The Equity Summary Score provides a consolidated view of the ratings from a number of independent
GLOSSARY OF INVESTMENT-RELATED TERMS FOR NATIONAL ELECTRICAL ANNUITY PLAN PARTICIPANTS
GLOSSARY OF INVESTMENT-RELATED TERMS FOR NATIONAL ELECTRICAL ANNUITY PLAN PARTICIPANTS General Information This Glossary of Investment-Related Terms for National Electrical Annuity Plan Participants (the
LOGNORMAL MODEL FOR STOCK PRICES
LOGNORMAL MODEL FOR STOCK PRICES MICHAEL J. SHARPE MATHEMATICS DEPARTMENT, UCSD 1. INTRODUCTION What follows is a simple but important model that will be the basis for a later study of stock prices as
Virtual Stock Market Game Glossary
Virtual Stock Market Game Glossary American Stock Exchange-AMEX An open auction market similar to the NYSE where buyers and sellers compete in a centralized marketplace. The AMEX typically lists small
Integer Factorization using the Quadratic Sieve
Integer Factorization using the Quadratic Sieve Chad Seibert* Division of Science and Mathematics University of Minnesota, Morris Morris, MN 56567 [email protected] March 16, 2011 Abstract We give
FTS Real Time Client: Equity Portfolio Rebalancer
FTS Real Time Client: Equity Portfolio Rebalancer Many portfolio management exercises require rebalancing. Examples include Portfolio diversification and asset allocation Indexation Trading strategies
CHAPTER 14. Stock Options
CHAPTER 14 Stock Options Options have fascinated investors for centuries. The option concept is simple. Instead of buying stock shares today, you buy an option to buy the stock at a later date at a price
Chapter 9. The Valuation of Common Stock. 1.The Expected Return (Copied from Unit02, slide 36)
Readings Chapters 9 and 10 Chapter 9. The Valuation of Common Stock 1. The investor s expected return 2. Valuation as the Present Value (PV) of dividends and the growth of dividends 3. The investor s required
Algorithmic Trading Session 6 Trade Signal Generation IV Momentum Strategies. Oliver Steinki, CFA, FRM
Algorithmic Trading Session 6 Trade Signal Generation IV Momentum Strategies Oliver Steinki, CFA, FRM Outline Introduction What is Momentum? Tests to Discover Momentum Interday Momentum Strategies Intraday
I.e., the return per dollar from investing in the shares from time 0 to time 1,
XVII. SECURITY PRICING AND SECURITY ANALYSIS IN AN EFFICIENT MARKET Consider the following somewhat simplified description of a typical analyst-investor's actions in making an investment decision. First,
MULTIPLE DEFAULTS AND MERTON'S MODEL L. CATHCART, L. EL-JAHEL
ISSN 1744-6783 MULTIPLE DEFAULTS AND MERTON'S MODEL L. CATHCART, L. EL-JAHEL Tanaka Business School Discussion Papers: TBS/DP04/12 London: Tanaka Business School, 2004 Multiple Defaults and Merton s Model
Bullion and Mining Stocks Two Different Investments
BMG ARTICLES Bullion and Mining Stock Two Different Investments 1 Bullion and Mining Stocks Two Different Investments March 2009 M By Nick Barisheff any investors believe their portfolios have exposure
COLLECTIVE INTELLIGENCE: A NEW APPROACH TO STOCK PRICE FORECASTING
COLLECTIVE INTELLIGENCE: A NEW APPROACH TO STOCK PRICE FORECASTING CRAIG A. KAPLAN* iq Company (www.iqco.com) Abstract A group that makes better decisions than its individual members is considered to exhibit
Portfolio Optimization Part 1 Unconstrained Portfolios
Portfolio Optimization Part 1 Unconstrained Portfolios John Norstad [email protected] http://www.norstad.org September 11, 2002 Updated: November 3, 2011 Abstract We recapitulate the single-period
Using the Solver add-in in MS Excel 2007
First version: April 21, 2008 Last revision: February 22, 2011 ANDREI JIRNYI, KELLOGG OFFICE OF RESEARCH Using the Solver add-in in MS Excel 2007 The Excel Solver add-in is a tool that allows you to perform
Statistical Machine Learning
Statistical Machine Learning UoC Stats 37700, Winter quarter Lecture 4: classical linear and quadratic discriminants. 1 / 25 Linear separation For two classes in R d : simple idea: separate the classes
Review of Basic Options Concepts and Terminology
Review of Basic Options Concepts and Terminology March 24, 2005 1 Introduction The purchase of an options contract gives the buyer the right to buy call options contract or sell put options contract some
Using Markov Decision Processes to Solve a Portfolio Allocation Problem
Using Markov Decision Processes to Solve a Portfolio Allocation Problem Daniel Bookstaber April 26, 2005 Contents 1 Introduction 3 2 Defining the Model 4 2.1 The Stochastic Model for a Single Asset.........................
CHAPTER 7: OPTIMAL RISKY PORTFOLIOS
CHAPTER 7: OPTIMAL RIKY PORTFOLIO PROLEM ET 1. (a) and (e).. (a) and (c). After real estate is added to the portfolio, there are four asset classes in the portfolio: stocks, bonds, cash and real estate.
Monte Carlo Methods in Finance
Author: Yiyang Yang Advisor: Pr. Xiaolin Li, Pr. Zari Rachev Department of Applied Mathematics and Statistics State University of New York at Stony Brook October 2, 2012 Outline Introduction 1 Introduction
Stock Market Dashboard Back-Test October 29, 1998 March 29, 2010 Revised 2010 Leslie N. Masonson
Stock Market Dashboard Back-Test October 29, 1998 March 29, 2010 Revised 2010 Leslie N. Masonson My objective in writing Buy DON T Hold was to provide investors with a better alternative than the buy-and-hold
VOLATILITY AND DEVIATION OF DISTRIBUTED SOLAR
VOLATILITY AND DEVIATION OF DISTRIBUTED SOLAR Andrew Goldstein Yale University 68 High Street New Haven, CT 06511 [email protected] Alexander Thornton Shawn Kerrigan Locus Energy 657 Mission St.
The Relative Worst Order Ratio for On-Line Algorithms
The Relative Worst Order Ratio for On-Line Algorithms Joan Boyar 1 and Lene M. Favrholdt 2 1 Department of Mathematics and Computer Science, University of Southern Denmark, Odense, Denmark, [email protected]
Evaluating Trading Systems By John Ehlers and Ric Way
Evaluating Trading Systems By John Ehlers and Ric Way INTRODUCTION What is the best way to evaluate the performance of a trading system? Conventional wisdom holds that the best way is to examine the system
Black-Scholes-Merton approach merits and shortcomings
Black-Scholes-Merton approach merits and shortcomings Emilia Matei 1005056 EC372 Term Paper. Topic 3 1. Introduction The Black-Scholes and Merton method of modelling derivatives prices was first introduced
The Value Line Definitive Guide { Ranking System
The Value Line Definitive Guide{ Ranking System A LETTER FROM IAN GENDLER Investors need to have unbiased and independent research. That is something Value Line subscribers have known for some 80 years.
HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE
HYBRID GENETIC ALGORITHMS FOR SCHEDULING ADVERTISEMENTS ON A WEB PAGE Subodha Kumar University of Washington [email protected] Varghese S. Jacob University of Texas at Dallas [email protected]
Measuring the success of a managed volatility investment strategy
By: Bob Collie, FIA, Chief Research Strategist, Americas Institutional MARCH 2013 Charles Anselm, CFA, Senior Portfolio Manager Measuring the success of a managed volatility investment strategy Finding
CFA Examination PORTFOLIO MANAGEMENT Page 1 of 6
PORTFOLIO MANAGEMENT A. INTRODUCTION RETURN AS A RANDOM VARIABLE E(R) = the return around which the probability distribution is centered: the expected value or mean of the probability distribution of possible
THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING
THE FUNDAMENTAL THEOREM OF ARBITRAGE PRICING 1. Introduction The Black-Scholes theory, which is the main subject of this course and its sequel, is based on the Efficient Market Hypothesis, that arbitrages
Dynamic Asset Allocation Using Stochastic Programming and Stochastic Dynamic Programming Techniques
Dynamic Asset Allocation Using Stochastic Programming and Stochastic Dynamic Programming Techniques Gerd Infanger Stanford University Winter 2011/2012 MS&E348/Infanger 1 Outline Motivation Background and
1. (First passage/hitting times/gambler s ruin problem:) Suppose that X has a discrete state space and let i be a fixed state. Let
Copyright c 2009 by Karl Sigman 1 Stopping Times 1.1 Stopping Times: Definition Given a stochastic process X = {X n : n 0}, a random time τ is a discrete random variable on the same probability space as
MARKETS, INFORMATION AND THEIR FRACTAL ANALYSIS. Mária Bohdalová and Michal Greguš Comenius University, Faculty of Management Slovak republic
MARKETS, INFORMATION AND THEIR FRACTAL ANALYSIS Mária Bohdalová and Michal Greguš Comenius University, Faculty of Management Slovak republic Abstract: We will summarize the impact of the conflict between
Using Microsoft Excel to build Efficient Frontiers via the Mean Variance Optimization Method
Using Microsoft Excel to build Efficient Frontiers via the Mean Variance Optimization Method Submitted by John Alexander McNair ID #: 0061216 Date: April 14, 2003 The Optimal Portfolio Problem Consider
THE CENTRAL LIMIT THEOREM TORONTO
THE CENTRAL LIMIT THEOREM DANIEL RÜDT UNIVERSITY OF TORONTO MARCH, 2010 Contents 1 Introduction 1 2 Mathematical Background 3 3 The Central Limit Theorem 4 4 Examples 4 4.1 Roulette......................................
A Log-Robust Optimization Approach to Portfolio Management
A Log-Robust Optimization Approach to Portfolio Management Dr. Aurélie Thiele Lehigh University Joint work with Ban Kawas Research partially supported by the National Science Foundation Grant CMMI-0757983
EMPIRICAL ANALYSES OF THE DOGS OF THE DOW STRATEGY: JAPANESE EVIDENCE. Received July 2012; revised February 2013
International Journal of Innovative Computing, Information and Control ICIC International c 2013 ISSN 1349-4198 Volume 9, Number 9, September 2013 pp. 3677 3684 EMPIRICAL ANALYSES OF THE DOGS OF THE DOW
Chapter 4. Growth Optimal Portfolio Selection with Short Selling and Leverage
Chapter 4 Growth Optimal Portfolio Selection with Short Selling Leverage Márk Horváth András Urbán Department of Computer Science Information Theory Budapest University of Technology Economics. H-7 Magyar
