## 1. Motivating Example

This post shows that, if traders face convex transaction costs (i.e., it costs them more per share to buy shares of stock than to buy share of stock), then it is possible to infer traders’ investment horizons from trading-volume data. To see why, imagine you are a trader and you’ve just learned some positive news about Apple’s next earnings announcement, which is due out overnight. To take advantage of this revelation, you will need to buy shares of Apple stock at some point today. In order to minimize your transaction costs, you will want to space out your demand for Apple shares as much as possible. So, all else equal, the average demand for Apple’s shares will be slightly higher today than it was yesterday because of your earnings revelation. This same logic applies to information at other horizons. Thus, if a larger fraction of the variation in Apple’s trading volume comes from day-to-day differences, then more of Apple’s traders must be operating at the daily horizon. Whereas, if a larger fraction of the variation in Apple’s trading volume comes from week-to-week differences, then more of Apple’s traders must be operating at the weekly horizon.

In the past, when researchers have studied traders’ investment horizons, they have used data on portfolio positions rather than trading volume. Some have measured trading activity at a couple of investment horizons for a small number of stocks. e.g., Brogaard et al. (2014) use NASDAQ data on a randomly selected sample of stocks that assigns each trader a typical investment horizon. Others have measured horizon-specific trading activity for a large number of stocks but only at a single horizon. e.g., Cella et al. (2013) sample the portfolio positions of institutional traders at the quarterly frequency using 13F filings. But, collecting data on traders’ portfolio positions is hard. While this approach works, it tends to restrict the analysis to only a handful of stocks (e.g., randomly selected NASDAQ stocks) or to a single horizon (e.g., the quarterly horizon). Because we can use trading-volume data to infer traders’ investment horizons, we no longer face these data-collection restrictions since trading-volume data is publicly available. Broad cross-sectional studies of traders’ investment horizons are now possible.

## 2. Traders’ Problem

Let’s begin by outlining the data-generating process and describing the problem faced by traders with an -period horizon. Suppose that returns are generated by a simple -factor model,

(1)

where and the level of the factor evolves according to an model,

(2)

with . Note that this is the exact same factor structure used in Garleanu and Pedersen (2013). The -period returns in this model are are:

(3)

And, conditional on knowing the current level of the factor, , it’s possible to compute the conditional mean and variance of these -period-ahead returns, :

(4)

Traders at time observe the current level of the factor, , and choose how many shares to buy over the course of the next periods in order to maximize their mean-variance utility. Let denote the change in a trader’s portfolio position over the period from to , and let denote traders’ risk-aversion parameter. Then, we can write the baseline utility function of a trader with no transaction costs as of time as:

(5)

The subscript comes from the fact that traders can observe the level of the factor at time , , prior to making their investment decision. If we look at the trader’s decision at a different time, , then he will have a different utility and choose a different portfolio because the level of the factor, , will be different.

## 3. Convex Transaction Costs

The key assumption is that, on top of this baseline utility function, traders also face convex transaction costs. i.e., when a trader with an -period horizon changes his position over the course of periods, he pays a transaction cost,

(6)

where is a positive constant that captures the severity of these transaction costs. Thus, traders with an -period investment horizon maximize the following objective function:

(7)

They choose the -period change in portfolio positions that maximizes their mean-variance utility and they implement this change in a way that minimizes their transactions costs.

The convex transaction costs imply that traders smooth out their trading across periods over their -period horizon. It’s easiest to see why this is the case when , since . Suppose that traders know optimal final position . Then, traders’ optimization problem from Equation (7) becomes:

(8)

Taking the first-order condition with respect to ,

(9)

then implies that . This simple exercise verifies that, when there are convex transaction costs, traders will want to split their orders up evenly across their investment horizon. In general, if traders have an -period horizon, then traders will choose . Traders with an -period investment horizon will have trading volume that is characterized by smooth -period long intervals, like the ones described in the figure below.

## 4. Fluctuations in Volume

If traders at horizon are characterized by trading that’s smoothed over periods, then we should be able to use inference tools like the wavelet-variance estimator to infer traders’ investment horizons. In a nutshell, this estimator computes the fraction of variation in a time series that comes from comparing successive -period long intervals. See Percival and Walden (2000) for more information.

I run a pair of numerical experiments to show that this intuition is correct (code). First, using a data-generating process with , , and , I simulate a long return time series. From Equation (7), it’s possible to compute the optimal portfolio position of trader with horizon ,

(10)

For different horizons, , I then simulate the trading-volume time series that would occur if all traders operated at horizon . The figure below shows the fraction of the trading-volume variance occurring at each horizon according to the wavelet-variance estimator. Just as you’d expect, there is a spike the fraction of trading-volume variance at the true horizon, … whatever that happens to be. i.e., there is a spike in the dashed green line, which corresponds to the trading-volume data where traders have a horizon of , precisely at .

In addition to this single-horizon experiment, I also run a numerical experiment with traders operating at different horizons. Specifically, using the same baseline parameters, I simulate a trading-volume time series where half of the volume comes from traders operating at the -period horizon and half of the volume comes from traders operating at the -period horizon. The figure below shows the fraction of the trading-volume variance occurring at each horizon according to the wavelet-variance estimator. Again, just as you’d expect, there’s is a spike the fraction of trading-volume variance at both the – and -period horizons.