<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Simone Menaldo on Medium]]></title>
        <description><![CDATA[Stories by Simone Menaldo on Medium]]></description>
        <link>https://medium.com/@simomenaldo?source=rss-89353422ba6c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9Y-fbhsYIEKirZkWQ0UlbQ.jpeg</url>
            <title>Stories by Simone Menaldo on Medium</title>
            <link>https://medium.com/@simomenaldo?source=rss-89353422ba6c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 19:51:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@simomenaldo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Differential Machine Learning: Learning Prices and Sensitivities Jointly]]></title>
            <link>https://medium.com/@simomenaldo/differential-machine-learning-learning-prices-and-sensitivities-jointly-b81a818a6617?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b81a818a6617</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 06:16:01 GMT</pubDate>
            <atom:updated>2026-11-10T06:16:01.522Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BHQj_Td7gwfHFuoMMZsItQ.jpeg" /></figure><h3>Abstract</h3><p>Standard supervised learning of a pricing function uses only values as labels. In a Monte Carlo setting, however, the pathwise derivative of each simulated payoff with respect to the initial state is available at a small multiple of the cost of the payoff itself, using automatic differentiation (AD). Differential machine learning (DML) uses these derivatives as additional labels and trains the network so that its own gradient matches them. This article presents the mathematical basis of the method, the construction of the loss, its data-efficiency properties, its extension to Longstaff-Schwartz regression, and its main limitation: discontinuous payoffs, for which pathwise derivatives are biased. It concludes with implementation details, a validation protocol and a documentation checklist.</p><h3>1. Motivation</h3><p>A surrogate trained on prices alone has two structural weaknesses.</p><ol><li><strong>Sample inefficiency.</strong> Each Monte Carlo label is a single noisy payoff realization. Estimating a smooth function of d variables from noisy values alone requires a large number of samples, and the requirement grows quickly with d.</li><li><strong>Uncontrolled Greeks.</strong> Greeks obtained by differentiating a network trained on values are by-products of the fit. A function can be uniformly close to a target while its gradient is not. In practice, hedging and P&amp;L explain depend on the Greeks at least as much as on the price.</li></ol><p>DML addresses both by making the derivative a training target, so the network is penalized directly for an incorrect gradient.</p><h3>2. Mathematical Foundation</h3><p>Let X₀ ∈ ℝᵈ be the initial state (spot levels, rates, possibly model or contract parameters), let ω denote the simulated randomness, and let Z = Z(X₀, ω) be the discounted payoff of the path. The pricing function is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*sEXl8MXQSlxVoKBH" /></figure><p>Two properties are used.</p><p><strong>Values.</strong> Writing Z = y(X₀) + ε with E[ε | X₀] = 0, regression of Z on X₀ recovers y even with a single path per initial state. This is the basis of any learning approach based on simulated payoffs.</p><p><strong>Derivatives.</strong> If Z is almost surely differentiable in x with an integrable Lipschitz constant, dominated convergence allows differentiation under the expectation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*TgFz4RAFE01bTbdT" /></figure><p>The pathwise derivative ∂Z/∂x is therefore an unbiased, noisy label for the gradient of the price. It is computed by the chain rule through the simulation, and reverse-mode AD (adjoint differentiation) delivers all d components at a cost that is a small constant multiple of one payoff evaluation, independent of d (Baur-Strassen bound; Griewank and Walther, 2008).</p><p>The training set is thus the collection of triples (x⁽ⁱ⁾, z⁽ⁱ⁾, ∂z⁽ⁱ⁾/∂x) for i = 1, …, n, with the x⁽ⁱ⁾ drawn from a sampling distribution μ and one path simulated per x⁽ⁱ⁾.</p><h3>3. Training Objective</h3><p>With a network f_w whose gradient is obtained by backpropagation, the differential loss is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*Q_b2wfdZTVso42jy" /></figure><p>Points that matter in practice:</p><ul><li><strong>Consistency by construction.</strong> Price and Greeks come from one function, so Δ = ∂P/∂S holds exactly. Training separate networks for price and Greeks does not guarantee this.</li><li><strong>Weights λⱼ.</strong> Value and derivative errors have different scales. One reasonable normalization sets λⱼ proportional to E[z²] / E[(∂z/∂xⱼ)²], scaled so that the derivative term has weight comparable to the value term. This is a hyperparameter and its sensitivity should be reported.</li><li><strong>Smooth activations.</strong> The loss involves the gradient of the network with respect to its inputs, and its own gradient with respect to the weights, which requires second-order differentiation. Softplus, SiLU, ELU or tanh should be used. With ReLU the network gradient is piecewise constant and the fit of the derivative is structurally poor.</li><li><strong>Twin-network implementation.</strong> The forward pass computes the value, and the backward (adjoint) pass is treated as a second network that outputs the derivatives. Frameworks with double backpropagation (PyTorch, JAX, TensorFlow) handle this automatically.</li></ul><h3>4. Why Data Efficiency Improves</h3><p>Each sample provides d + 1 scalar labels rather than one. The derivative labels are not independent of the value label, since they are noisy functionals of the same path, so the gain is not a factor d + 1. The mechanism is nonetheless significant:</p><ul><li>The derivative labels act as a <strong>data-dependent regularizer</strong> that pins down the slope of the fitted function. Unlike a Tikhonov penalty, the extra information comes from unbiased labels and does not introduce a smoothing bias, provided the interchange of derivative and expectation is valid (Section 6).</li><li>The idea is related to Sobolev training (Czarnecki et al., 2017) and is supported by approximation results in Sobolev norms for feed-forward networks (Hornik, Stinchcombe and White, 1990).</li><li>The benefit grows with dimension and with the smoothness of the target. It is largest where value-only regression is most data-starved, for example baskets or high-dimensional state vectors.</li></ul><p>The efficiency claim should be verified by learning curves (Section 8) and not assumed.</p><h3>5. Application to Longstaff-Schwartz-Type Regression</h3><p>In Longstaff-Schwartz (2001), the continuation value at an exercise date t(k) is estimated by regressing realized discounted cash flows on basis functions of the state X(t(k)). DML replaces the polynomial basis by a differentiable regressor (a neural network or a polynomial, in which case one speaks of differential regression) and adds derivative labels:</p><ul><li>the label for the value is the realized discounted cash flow along the path, as in the standard algorithm;</li><li>the label for the derivative is the pathwise derivative of that cash flow with respect to the state at the exercise date, obtained by AD from that date to the realized exercise time, <strong>with the exercise decisions held fixed</strong>.</li></ul><p>Methodological issues specific to this setting:</p><ol><li><strong>Fixed-policy derivative.</strong> The derivative ignores the dependence of the exercise decision on the state. For the optimal policy this contribution is of first order zero (smooth pasting), but for the estimated policy it is only approximately so, which leaves a residual bias in the derivative labels.</li><li><strong>Where the benefit lies.</strong> Errors in the exercise policy cause only a second-order loss of value, so the gain in the <em>price</em> of a Bermudan product is typically modest. The more significant gains are in the stability of the regression with few paths, in Greeks at inception and in exposure profiles, where the conditional expectation is needed as a function of the state at future dates.</li><li><strong>In-the-money selection.</strong> Regression is restricted to in-the-money paths, so the derivative fit is also local to that set, and extrapolation beyond it is uncontrolled.</li><li><strong>Bias control.</strong> Separating the paths used to train the policy from those used for valuation (the usual remedy for the upward bias of the in-sample estimator) applies unchanged.</li></ol><p>See also Fries (2019) for backward differentiation of American Monte Carlo and Glasserman and Yu (2004) on the relation between the number of paths and the number of basis functions.</p><h3>6. Discontinuous Payoffs: The Principal Limitation</h3><p>The unbiasedness of the derivative labels requires that the payoff be, almost surely, a Lipschitz function of the state. When the payoff contains an indicator (digital coupons, autocall triggers, barrier knock-outs), the interchange fails.</p><ul><li>The pathwise derivative of a digital payoff (the indicator that the underlying ends above the strike) is zero almost everywhere. The true derivative of the expectation is a positive density-weighted quantity, concentrated at the discontinuity. The labels are therefore <strong>biased</strong> (to zero), not merely noisy, and the network learns a systematically wrong delta.</li><li>The same issue arises for second-order sensitivities of vanilla options: the pathwise delta of a call is an indicator, so gamma labels from the pathwise method are zero almost everywhere. Gamma from a DML surrogate is only as reliable as the smoothness of the fitted function allows. It is not supervised.</li></ul><p>Remedies, each with a cost:</p><ul><li><strong>Payoff smoothing.</strong> Replace the indicator by a sigmoid of bandwidth ε, or by a call spread. The bias vanishes with ε, but the variance of the derivative labels grows as ε → 0.</li><li><strong>Conditional expectation or Brownian bridge.</strong> Integrate the discontinuity analytically over the last step, for example through the barrier-crossing probability between nodes. This requires a tractable local law and is model-specific.</li><li><strong>Likelihood-ratio or vibrato estimators (Giles, 2009).</strong> Move the derivative to the density. The cost is higher variance and the need for transition densities.</li><li><strong>Mixed labels.</strong> Use pathwise derivatives on the smooth part and another estimator on the discontinuous part. The cost is implementation complexity.</li><li><strong>Reduced derivative weight.</strong> Lower λⱼ in affected regions. This gives up part of the benefit.</li></ul><p>For products such as autocallables, smoothing choices change the price as well as the Greeks, so the smoothing bandwidth is a model parameter that must be documented and validated against a reference. This is treated in a separate article.</p><h3>7. Implementation</h3><p>The example below trains a DML surrogate for a European basket call under correlated geometric Brownian motion, a case with a reference solution for validation. The initial state is sampled on a normalized scale, one path per sample.</p><pre>import math<br>import torch<br>import torch.nn as nn<br><br>torch.manual_seed(0)<br>d, T, r, K = 5, 1.0, 0.02, 1.0<br>sigma = torch.full((d,), 0.25)<br>w_b = torch.full((d,), 1.0 / d)                     # basket weights<br>corr = 0.5 * torch.eye(d) + 0.5 * torch.ones(d, d)  # correlation matrix<br>L = torch.linalg.cholesky(corr)<br>def make_labels(n):<br>    &quot;&quot;&quot;One path per initial state: value label and pathwise-derivative label.&quot;&quot;&quot;<br>    x0 = (0.5 + torch.rand(n, d)).requires_grad_(True)           # states in [0.5, 1.5]<br>    w = torch.randn(n, d) @ L.T                                   # correlated normals<br>    sT = x0 * torch.exp((r - 0.5 * sigma**2) * T + sigma * math.sqrt(T) * w)<br>    z = math.exp(-r * T) * torch.clamp((sT * w_b).sum(1) - K, min=0.0)<br>    dz, = torch.autograd.grad(z.sum(), x0)                        # reverse-mode AD<br>    return x0.detach(), z.detach(), dz.detach()<br>class Net(nn.Module):<br>    def __init__(self, d_in, width=128, depth=4):<br>        super().__init__()<br>        layers, k = [], d_in<br>        for _ in range(depth):<br>            layers += [nn.Linear(k, width), nn.SiLU()]            # smooth activation<br>            k = width<br>        self.body = nn.Sequential(*layers)<br>        self.head = nn.Linear(k, 1)<br>    def forward(self, x):<br>        return self.head(self.body(x)).squeeze(-1)<br>def dml_loss(model, x, z, dz, lam):<br>    x = x.clone().requires_grad_(True)<br>    pred = model(x)<br>    dpred, = torch.autograd.grad(pred.sum(), x, create_graph=True)  # double backprop<br>    value_term = ((pred - z) ** 2).mean()<br>    deriv_term = (lam * ((dpred - dz) ** 2).mean(0)).sum()<br>    return value_term + deriv_term<br>x, z, dz = make_labels(8192)<br>lam = (z**2).mean() / (dz**2).mean(0) / d     # one possible normalization (hyperparameter)<br>model = Net(d)<br>opt = torch.optim.Adam(model.parameters(), lr=1e-3)<br>for epoch in range(300):<br>    perm = torch.randperm(len(x))<br>    for idx in perm.split(256):<br>        opt.zero_grad()<br>        dml_loss(model, x[idx], z[idx], dz[idx], lam).backward()<br>        opt.step()</pre><p>Implementation issues:</p><ul><li><strong>Input scaling and chain rule.</strong> If inputs are standardized, x̃ = (x − m)/s, the derivative labels must be rescaled as ∂z/∂x̃ = s · ∂z/∂x. Omitting this is a frequent source of silent errors: the loss still decreases but the Greeks are wrong by a constant factor.</li><li><strong>Label generation with AD.</strong> Memory for the reverse sweep grows with the number of time steps and paths. Use checkpointing or chunked path generation for long simulations. Gradients must flow only through the state and parameters of interest. Detach everything else.</li><li><strong>Differentiability of the simulator.</strong> Schemes with branches (for example the quadratic-exponential scheme for Heston) or truncation are differentiable almost everywhere, but the branch points should be checked, and random numbers must be held fixed during differentiation (reparametrization).</li><li><strong>Which derivatives are labelled.</strong> Derivatives with respect to the initial state are the natural choice. With AAD, derivatives with respect to model and contract parameters (vol, correlation, strike, maturity) are available at the same cost, and these can be added as inputs and labelled.</li><li><strong>Sampling distribution μ.</strong> The surrogate is valid on the support of μ. Domain definition, guard logic and fallback follow the principles discussed for pricing surrogates in general (see the first article of this series).</li><li><strong>Float precision.</strong> The loss contains second-order derivatives. Verify float32 against float64 on a validation batch before choosing the training precision.</li><li><strong>Optimization.</strong> Standard first-order optimizers work, but the derivative term can dominate early training. Warm-up of the weights λⱼ or a learning-rate schedule is advisable.</li></ul><h3>8. Validation</h3><ol><li><strong>Learning curves.</strong> Plot value and delta error against the number of training paths for (a) a value-only network, (b) DML, and © a polynomial or classical regression benchmark, with the same architecture, optimizer and tuning budget. This is the only credible evidence for the data-efficiency claim.</li><li><strong>Value and Greek error distributions.</strong> Report mean, quantiles (95th, 99th, 99.9th) and maximum, in absolute and relative terms, against a reference (closed form, PDE, or high-precision Monte Carlo with reported standard error).</li><li><strong>Derivative-consistency test.</strong> Compare the AD gradient of the network with a finite-difference gradient of the network itself (this should agree to numerical precision), and separately with the reference Greeks (this measures the approximation error).</li><li><strong>Second-order Greeks.</strong> Gamma and cross-gamma are not supervised. Test them explicitly against reference values and report them separately.</li><li><strong>Label-bias diagnostics.</strong> Compare the average derivative label with finite-difference estimates of the reference pricer on a grid of states. A systematic gap indicates a failure of the interchange (Section 6) and not noise.</li><li><strong>Error maps.</strong> Plot errors against moneyness, maturity, and distance to any barrier or trigger. Structure in the maps shows under-sampled or smoothed regions.</li><li><strong>Portfolio impact.</strong> Translate errors into P&amp;L explain and sensitivity differences on a representative portfolio.</li><li><strong>Sensitivity to λⱼ and architecture.</strong> Report the range of outcomes over the weight choice and several seeds.</li></ol><h3>9. Methodological and Implementation Pitfalls</h3><p><strong>Methodological</strong></p><ul><li>Treating derivative labels as unbiased without checking the regularity conditions: discontinuous payoffs, barriers, triggers, and exercise decisions.</li><li>Assuming that supervised first derivatives imply accurate second derivatives.</li><li>Reading improved accuracy against a reference that shares the same bias (for example identical discretization or smoothing).</li><li>Reporting data efficiency without matching the tuning effort of the baseline.</li><li>In Longstaff-Schwartz applications, ignoring that the fixed-policy derivative is approximate.</li></ul><p><strong>Implementation</strong></p><ul><li>Missing chain-rule rescaling when inputs are normalized.</li><li>Non-smooth activations.</li><li>Memory exhaustion in the AD sweep for long simulations.</li><li>Non-reproducible runs: random number streams, seeds, non-deterministic GPU reductions.</li><li>An unguarded domain: the surrogate extrapolates silently outside the support of μ.</li><li>Staleness: model, calendar or smoothing-parameter changes invalidate the surrogate without visible failure, and require versioning and revalidation.</li></ul><h3>10. Documentation Checklist</h3><ul><li><strong>Reference solver:</strong> convergence study; bias and standard error; independent benchmark.</li><li><strong>Labels:</strong> simulator and AD configuration; verification of pathwise derivatives against finite differences; regularity analysis of the payoff.</li><li><strong>Discontinuities:</strong> treatment (smoothing, bridge, likelihood ratio); bandwidth and its pricing impact.</li><li><strong>Sampling:</strong> distribution μ, size, seeds, domain bounds and justification.</li><li><strong>Loss:</strong> weights λⱼ, normalization, sensitivity analysis.</li><li><strong>Architecture:</strong> activation justification, input scaling and label rescaling check.</li><li><strong>Accuracy:</strong> value, Delta, Vega and Gamma errors (mean, quantiles, maximum); error maps.</li><li><strong>Baselines:</strong> value-only network and classical regression, with learning curves.</li><li><strong>Operations:</strong> versioning, domain guard, fallback to the reference solver, monitoring and retraining triggers.</li></ul><h3>11. Conclusions</h3><p>DML exploits a feature of Monte Carlo that is otherwise wasted: pathwise derivatives are cheap through adjoint differentiation and carry information about the shape of the pricing function. Used as training labels, they improve sample efficiency and give Greeks that are consistent with prices by construction. The method is conditional on the regularity of the payoff. For smooth payoffs the derivative labels are unbiased and the benefits are substantial. For discontinuous payoffs they are biased unless the payoff is smoothed or the estimator is changed, and the choice then becomes a modelling decision with pricing consequences. Second-order Greeks remain unsupervised. Validation should therefore compare against reference Greeks, test explicitly for label bias, and use properly tuned baselines to establish the data-efficiency claim.</p><h3>References</h3><p><strong>Differential machine learning and Sobolev training</strong></p><ol><li>Huge, B., and Savine, A. (2020). Differential machine learning. <em>Risk</em> (arXiv:2005.02347).</li><li>Czarnecki, W. M., Osindero, S., Jaderberg, M., Swirszcz, G., and Pascanu, R. (2017). Sobolev training for neural networks. <em>Advances in Neural Information Processing Systems 30</em>.</li><li>Hornik, K., Stinchcombe, M., and White, H. (1990). Universal approximation of an unknown mapping and its derivatives using multilayer feedforward networks. <em>Neural Networks</em>, 3(5), 551–560.</li></ol><p><strong>Pathwise derivatives, adjoints and automatic differentiation</strong></p><ol><li>Broadie, M., and Glasserman, P. (1996). Estimating security price derivatives using simulation. <em>Management Science</em>, 42(2), 269–285.</li><li>Giles, M., and Glasserman, P. (2006). Smoking adjoints: fast Monte Carlo Greeks. <em>Risk</em>, 19(1), 92–96.</li><li>Savine, A. (2019). <em>Modern Computational Finance: AAD and Parallel Simulations</em>. Wiley.</li><li>Griewank, A., and Walther, A. (2008). <em>Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation</em> (2nd ed.). SIAM.</li><li>Baydin, A. G., Pearlmutter, B. A., Radul, A. A., and Siskind, J. M. (2018). Automatic differentiation in machine learning: a survey. <em>Journal of Machine Learning Research</em>, 18, 1–43.</li><li>Giles, M. B. (2009). Vibrato Monte Carlo sensitivities. In <em>Monte Carlo and Quasi-Monte Carlo Methods 2008</em>, Springer, 369–382.</li><li>Glasserman, P. (2004). <em>Monte Carlo Methods in Financial Engineering</em>. Springer.</li></ol><p><strong>American Monte Carlo</strong></p><ol><li>Longstaff, F. A., and Schwartz, E. S. (2001). Valuing American options by simulation: a simple least-squares approach. <em>The Review of Financial Studies</em>, 14(1), 113–147.</li><li>Glasserman, P., and Yu, B. (2004). Number of paths versus number of basis functions in American option pricing. <em>The Annals of Applied Probability</em>, 14(4), 2090–2119.</li><li>Fries, C. P. (2019). Automatic backward differentiation for American Monte-Carlo algorithms (conditional expectation). SSRN working paper.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b81a818a6617" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cross-Sectional Momentum]]></title>
            <link>https://medium.com/@simomenaldo/cross-sectional-momentum-8f3ee4f7b438?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f3ee4f7b438</guid>
            <category><![CDATA[quantitative-trading]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 03 Nov 2026 06:31:01 GMT</pubDate>
            <atom:updated>2026-11-03T06:31:01.616Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G76YpgAg6rRztYAkmU-rmw.jpeg" /></figure><h3>Abstract</h3><p>Cross-sectional momentum is the systematic purchase of securities that have recently outperformed their peers and the short sale of those that have underperformed. It is among the best-documented return patterns in empirical finance and one of the few that has survived decades of post-publication scrutiny, albeit with severe and recurrent drawdowns. This article provides a structured treatment of the strategy: the behavioural and risk-based explanations, an exact decomposition of the sources of profit, a precise specification of the signal and portfolio, the main implementation choices (residual and industry-neutral variants, portfolio construction, execution), the mechanics of momentum crashes and their mitigation through dynamic risk management, and a catalogue of methodological and implementation-level pitfalls. A reference Python implementation is provided at the end.</p><h3>1. Economic Rationale and Theoretical Foundations</h3><h3>1.1 The empirical regularity</h3><p>Jegadeesh and Titman (1993) showed that US stocks ranked by their returns over the past 3 to 12 months continue to rank, on average, in the same order over the subsequent 3 to 12 months. A zero-cost portfolio long past winners and short past losers earned of the order of 1% per month in the original 1965–1989 sample. The effect is not limited to US equities: it has been documented in most developed equity markets (Japan being the notable exception), in country equity indices, currencies, bonds and commodities (Asness, Moskowitz and Pedersen, 2013). The standard academic implementation, the “UMD” or “WML” factor, uses the cumulative return from month t−12 to month t−2, skipping the most recent month.</p><p>The skip month is not cosmetic. At a one-month horizon the cross-section exhibits <em>short-term reversal</em> (Jegadeesh, 1990; Lehmann, 1990), largely attributable to liquidity provision, bid-ask bounce and temporary price pressure. Including the most recent month in the signal contaminates the continuation effect with this opposing, microstructure-driven effect.</p><h3>1.2 Behavioural explanations</h3><p>The behavioural literature explains momentum as the consequence of slow information incorporation, possibly followed by overreaction.</p><ul><li><strong>Conservatism and underreaction.</strong> Barberis, Shleifer and Vishny (1998) model investors who update beliefs too slowly after earnings news, generating positive autocorrelation in returns at intermediate horizons.</li><li><strong>Overconfidence and biased self-attribution.</strong> Daniel, Hirshleifer and Subrahmanyam (1998) show that investors who overweight private signals and attribute confirming outcomes to their own skill generate initial under-reaction followed by overreaction and eventual long-horizon reversal.</li><li><strong>Gradual information diffusion.</strong> Hong and Stein (1999) distinguish “news-watchers”, who incorporate fundamentals slowly, from momentum traders, who trade on past prices. Supporting evidence from Hong, Lim and Stein (2000) shows that momentum is stronger among small stocks with low analyst coverage, where information diffuses more slowly.</li><li><strong>Disposition effect.</strong> Grinblatt and Han (2005) argue that the tendency to sell winners too early and hold losers too long creates price pressure that delays the incorporation of news.</li><li><strong>Flow-driven mechanisms.</strong> Capital allocation to recently successful funds, combined with the slow reallocation of institutional capital, can sustain price trends (Vayanos and Woolley, 2013).</li></ul><h3>1.3 Risk-based and rational explanations</h3><p>Rational explanations attribute the premium to compensation for risk or to dispersion in expected returns. Johnson (2002) links momentum to the dynamics of growth options: stocks with recent positive returns have higher expected returns because of changes in their risk exposure. Conrad and Kaul (1998) argue that a substantial part of the profit arises from cross-sectional dispersion in unconditional mean returns. Chordia and Shivakumar (2002) attribute it to macroeconomic state variables, a result that is disputed in subsequent work. A further view treats the severe negative skewness of the strategy (Section 4.1) as the price paid for the premium.</p><p>No single explanation commands consensus. The strategy is not priced by the Fama–French three- or five-factor models, and the most defensible position for a practitioner is that the premium likely reflects a combination of behavioural underreaction and limits to arbitrage (short-sale constraints, transaction costs, crash risk) rather than a clean risk premium.</p><h3>1.4 Where does the profit come from? An exact decomposition</h3><p>Following Lo and MacKinlay (1990) and Jegadeesh and Titman (1993, 2002), the expected profit of a cross-sectional strategy can be decomposed exactly. Let R_t be the N×1 vector of returns with mean μ, let R̄_{t−1} be the cross-sectional average return at time t−1, and consider the strategy with weights w_{i,t−1} = (R_{i,t−1} − R̄_{t−1}) / N, which are positive for past winners and negative for past losers. Define the first-order autocovariance matrix Ω₁ with entries Ω₁(i,j) = Cov(R_{i,t−1}, R_{j,t}). Its expected profit π_t is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/0*B9n6ES9jB1VVR9mw" /></figure><p>where ι is a vector of ones. The three terms have distinct interpretations.</p><ul><li><strong>Cross-sectional dispersion of mean returns (σ²_μ).</strong> This term is positive even if returns are serially unpredictable: a rule that buys past winners earns it if some stocks simply have persistently higher expected returns. This is the “risk-based” channel of Conrad and Kaul.</li><li><strong>Average own-autocovariance (tr(Ω₁)/N).</strong> This is the time-series predictability of each stock’s own return. Underreaction contributes positively; overreaction and bid-ask bounce contribute negatively.</li><li><strong>Cross-serial covariance (the last term).</strong> Since ι’Ω₁ι includes the diagonal, the net effect is that off-diagonal terms, for which the past return of stock j predicts the current return of stock i (lead-lag effects), <em>reduce</em> profit when positive. Equivalently, the profit equals σ²_μ plus ((N−1)/N²)·tr(Ω₁) minus the average off-diagonal element scaled by (N−1)/N.</li></ul><p>The identity is stated for a one-period lag and holding period; it extends to k-period lags. Its practical value is diagnostic: it frames the debate on whether momentum is “really” time-series predictability or merely persistent cross-sectional dispersion. Jegadeesh and Titman (2002) find the dispersion term to be small relative to the total, whereas Conrad and Kaul (1998) reach the opposite conclusion; the empirical split is sensitive to sample and estimation choices.</p><h3>2. Assumptions and Model Specification</h3><h3>2.1 Assumptions</h3><ul><li><strong>A1 — Persistent cross-sectional predictability.</strong> Past relative performance over a window of roughly 2 to 12 months carries information about relative performance over the next 1 to 12 months, net of cost, after controlling for risk.</li><li><strong>A2 — Horizon structure.</strong> The signal is informative at intermediate horizons and is contaminated by reversal at the 1-month horizon and (weakly) at horizons beyond approximately 12 months.</li><li><strong>A3 — Estimable risk.</strong> Factor exposures and volatilities, including those of the long-short portfolio itself, are sufficiently persistent to be estimated ex ante and used for risk control.</li><li><strong>A4 — Tradability.</strong> The securities in the universe can be bought and sold at costs (spread, impact, borrow) that are small relative to the gross premium, and the short leg can actually be implemented.</li></ul><h3>2.2 Signal and portfolio</h3><p>Let r_{i,t} denote the total return of security i in month t, formation occur at the end of month t, L the lookback length and s the skip length. The momentum signal is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/0*Zp4VB5UMikYeLBkf" /></figure><p>With L = 12 and s = 1 this is the cumulative return over months t−11 to t−1, i.e. the classical “12–1” signal. Securities are ranked cross-sectionally on M_{i,t}. In a rank-weighted implementation (as in Asness, Moskowitz and Pedersen, 2013) the weights are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*aDbOqjvIIGX4uW6V" /></figure><p>The constant c_t normalises the portfolio to unit long and unit short notional. The realised return of the strategy over the holding month is then:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/0*7527C0JQ8NTMpmkm" /></figure><p>The alternative, more common in academic work, is the decile (or quintile) construction: long the top decile and short the bottom decile, with equal or value weights. Rank weighting uses the full cross-section and is smoother; decile portfolios concentrate risk in the tails, where costs and borrow constraints are most severe.</p><h3>3. Implementation</h3><h3>3.1 Data and universe</h3><ul><li><strong>Total-return, point-in-time data.</strong> Prices must be adjusted for splits, dividends and other corporate actions. The universe at each formation date must contain only securities that were investable on that date, including those that subsequently delisted.</li><li><strong>Delisting returns.</strong> Omitting delisting returns biases the results, as delisted securities are disproportionately past losers (Shumway, 1997). Dropping them flatters the short leg.</li><li><strong>Liquidity and size filters.</strong> Typical institutional filters exclude the smallest stocks (for example, below the 20th percentile of NYSE market capitalisation), low-priced stocks and stocks with insufficient trading volume. Without them, results are dominated by micro-caps that cannot be traded at scale and for which short borrow is unavailable or expensive.</li><li><strong>Minimum history.</strong> Require a complete return history over the lookback window; missing months must not be treated as zero returns.</li><li><strong>Cross-country implementations.</strong> Returns should be computed in a common currency or in local currency with consistent hedging assumptions; the signal should be ranked within region or country if country momentum is not meant to be part of the exposure.</li></ul><h3>3.2 Signal variants</h3><ul><li><strong>Intermediate momentum.</strong> Novy-Marx (2012) finds that returns from months t−12 to t−7 predict future returns more strongly than those from t−6 to t−2. Signals can be formed by weighting sub-windows.</li><li><strong>Volatility-adjusted momentum.</strong> Dividing the cumulative return by trailing volatility reduces the dominance of high-volatility stocks in the extremes of the ranking.</li><li><strong>Industry-neutral momentum.</strong> Moskowitz and Grinblatt (1999) show that a substantial part of momentum is an industry effect. Neutralising the signal by industry (ranking within industry and centring weights within each group) isolates stock-specific momentum, which is typically less volatile and less correlated with industry cycles.</li><li><strong>Residual momentum.</strong> Blitz, Huij and Martens (2011) rank stocks on the cumulative residual return from a rolling factor regression rather than on total return. Over a rolling 36-month window, the regression is:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*RbToSDFDXoGZpqR2" /></figure><p>and the signal is the sum of the residuals over the signal window, scaled by their volatility:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/0*YpQ0l6hFrGBNzyZY" /></figure><p>Because the signal is purged of the time-varying factor exposures of past winners and losers, the resulting portfolio has stable factor loadings, lower volatility and substantially smaller crash exposure than total-return momentum, at the cost of higher turnover and dependence on the chosen factor model.</p><ul><li><strong>Alternative reference-point signals.</strong> The proximity to the 52-week high (George and Hwang, 2004) and “information discreteness”, which favours stocks whose past return arose from many small moves rather than a few jumps (Da, Gurun and Warachka, 2014), are often combined with the baseline signal.</li></ul><h3>3.3 Portfolio construction</h3><p>A systematic desk typically moves from simple sorts to an optimisation that translates the signal into expected returns and trades them against a risk model. Following the Grinold–Kahn “fundamental law” mapping, the alpha for security i is approximated as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/189/0*iMAGtksfKHKUBf1y" /></figure><p>where z_i is the standardised signal, σ_i the specific or total volatility, and IC the information coefficient (the cross-sectional correlation between signal and subsequent returns, which for momentum is small, of the order of a few percentage points). The target portfolio solves:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QDH0lkF3Quoppqsp" /></figure><p>with Σ = B Ω_f B′ + D from a factor risk model (exposures B, factor covariance Ω_f, diagonal specific risk D), β the vector of market betas, X the matrix of sector (and, if desired, style) exposures to be neutralised, and C_i the transaction cost function. Several design points are critical:</p><ul><li><strong>Beta and style neutrality.</strong> The raw WML portfolio has a strongly time-varying market beta: it is typically negative after market declines, when losers are high-beta stocks (Grundy and Martin, 2001). Explicit beta neutrality in the optimiser prevents the portfolio from becoming an implicit market bet.</li><li><strong>Overlapping portfolios.</strong> Jegadeesh and Titman form K sub-portfolios, each rebalanced every K months, so that each month only 1/K of the book is traded. This reduces turnover and the dependence of results on the rebalancing date (“timing luck”).</li><li><strong>Buffering (hysteresis).</strong> Entry and exit thresholds are set asymmetrically: a stock enters the long leg when it ranks in the top decile but is retained until it falls below, say, the top 30%. This materially reduces turnover with limited loss of signal (Novy-Marx and Velikov, 2016).</li><li><strong>Combination with other signals.</strong> Momentum is negatively correlated with value (Asness, Moskowitz and Pedersen, 2013), so a joint portfolio typically has a much higher Sharpe ratio than either component and lower crash exposure.</li></ul><h3>3.4 Execution</h3><ul><li><strong>Trade-cost model.</strong> Institutional implementations use a model of the form below, where q_i is the dollar trade size, s_i the quoted spread, σ_i daily volatility, V_i average daily dollar volume, and Y a calibration constant of order one (the square-root impact law):</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/0*DCYQ3LcFSfRNwe88" /></figure><ul><li><strong>Participation limits.</strong> Trades are capped as a fraction of average daily volume (typically a single-digit percentage) and spread over several days, which creates a delay between signal and complete execution that must be reproduced in the backtest.</li><li><strong>Short leg.</strong> The short leg requires securities lending. Past losers are disproportionately hard-to-borrow and subject to recalls and high fees; borrow cost must be part of the net return calculation, and availability constraints must be enforced in the optimiser.</li><li><strong>Financing and collateral.</strong> Long-short books consume margin and financing; the short rebate and the funding spread on the long leg must be modelled.</li></ul><h3>4. Critical Success Factors and Failure Modes</h3><h3>4.1 Momentum crashes and dynamic risk management</h3><p>The return distribution of WML is characterised by long periods of steady gains interrupted by rare, violent losses. Daniel and Moskowitz (2016) report losses of −91.6% in July–August 1932 and −73.4% in March–May 2009. These crashes share a common profile:</p><ul><li>they occur in <em>panic states</em>, following a prolonged market decline and during elevated volatility, when the market rebounds sharply;</li><li>the loser portfolio, populated by distressed and high-beta stocks, rallies violently while winners lag, so the short leg loses more than the long leg gains;</li><li>the payoff of the loser portfolio resembles that of a call option on the market, so the strategy behaves like a short call position in rebound states, an exposure that a static beta hedge does not capture.</li></ul><p>Two families of risk management have been proposed, both implementable ex ante.</p><p><strong>Volatility scaling of the strategy.</strong> Barroso and Santa-Clara (2015) observe that the realised volatility of WML is highly persistent and largely unrelated to its subsequent mean return. Scaling the exposure inversely to forecast volatility therefore stabilises risk without sacrificing expected return:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*9aWGeslbXE6vF7Om" /></figure><p>where r^d denotes daily returns of the WML portfolio, σ̂_t is the estimated monthly volatility from the past six months of daily data, and σ_target is expressed on the same monthly scale. In their 1927–2011 sample, the risk-managed strategy nearly doubled the Sharpe ratio and strongly reduced crash-related losses and negative skewness. The same logic underlies the broader literature on volatility-managed portfolios (Moreira and Muir, 2017).</p><p><strong>Conditional (dynamic) weighting.</strong> Daniel and Moskowitz propose a mean-variance weighting using a forecast of both conditional mean and conditional variance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*QkvgyjqWiVVJa0Qb" /></figure><p>where I_{B,t} is a bear-market indicator (equal to one if the cumulative market return over the previous 24 months is negative), σ̂²_{m,t} is a forecast of market variance, and σ_t² is the forecast variance of WML. The conditional mean is forecast to fall when the market is in a bear state and volatile.</p><p>Practical considerations for both approaches:</p><ul><li><strong>Leverage and caps.</strong> Scaling inversely to volatility can generate leverage above one in calm periods. A cap (for example, a maximum scaling factor of two) and an explicit funding constraint are required.</li><li><strong>Estimation window and speed.</strong> Short windows react faster but are noisier and raise turnover; EWMA estimators or blends of short and long windows are common. All inputs must be strictly point-in-time.</li><li><strong>Cost of scaling.</strong> Scaling changes the gross exposure each month, adding turnover on top of the base strategy. The net-of-cost improvement must be verified, not assumed.</li><li><strong>Complementary measures.</strong> Residual momentum, industry neutralisation, and combination with value reduce crash exposure structurally rather than through timing, and are less exposed to forecasting error.</li></ul><h3>4.2 Transaction costs, turnover and capacity</h3><p>Momentum is a high-turnover strategy; the portfolio is substantially replaced several times per year, and the turnover is concentrated in the most expensive securities (small, volatile, recently re-rated). The literature on net profitability is divided:</p><ul><li>Korajczyk and Sadka (2004) estimate break-even fund sizes at which the strategy’s net alpha vanishes, and find the strategy remains profitable for considerable amounts of capital under rank-weighted and liquidity-aware implementations.</li><li>Lesmond, Schill and Zhou (2004) argue that realised costs eliminate the profit, because the strategy concentrates in high-cost stocks.</li><li>Novy-Marx and Velikov (2016) show that net returns depend heavily on turnover-reduction techniques such as buffering.</li><li>Frazzini, Israel and Moskowitz (2018), using live trading data from a large institutional manager, find that actual costs are far lower than those estimated in academic studies, which supports substantial capacity for patient, well-engineered implementations.</li></ul><p>The apparent contradiction is largely explained by implementation: naive monthly decile rebalancing at close prices is expensive, whereas the combination of overlapping portfolios, buffering, liquidity-aware optimisation and passive execution recovers a large share of the gross premium. Capacity is ultimately bounded by the liquidity of the winners and, especially, by the borrow capacity of the losers.</p><h3>4.3 Methodological issues</h3><ul><li><strong>Parameter mining and data snooping.</strong> The choices of L, s, K and the portfolio breakpoints are made on the same data used to evaluate performance. The multiple-testing framework of Harvey, Liu and Zhu (2016) argues for a higher significance hurdle (t-statistic around 3) for newly proposed factors; momentum clears it, but individual variants need not.</li><li><strong>Sample dependence.</strong> Averages are dominated by a few extreme months. Sharpe ratios computed over samples that include or exclude 1932 or 2009 differ materially; skewness and maximum drawdown must be reported alongside mean and volatility.</li><li><strong>Post-publication decay.</strong> McLean and Pontiff (2016) document that anomaly returns decline after publication, consistent with arbitrage capital and statistical bias. Momentum has proven more resilient than most, but backtested premia should not be extrapolated at face value.</li><li><strong>Inference with overlapping returns.</strong> Overlapping holding periods induce serial correlation in portfolio returns; standard errors must be corrected (for example, Newey–West).</li><li><strong>Concentration in small stocks.</strong> Equal-weighted results are often driven by small stocks. Results should be reported on value-weighted and size-filtered portfolios, and separately for the long and short legs.</li><li><strong>Benchmarking.</strong> Alpha should be evaluated against the factor set the investor already holds (market, size, value, quality and others), not in isolation.</li></ul><h3>4.4 Implementation-level issues</h3><ul><li><strong>Survivorship and delisting handling.</strong> See Section 3.1; errors here inflate backtested returns, particularly of the short leg.</li><li><strong>Look-ahead in universe and data.</strong> The universe, filters and corporate-action adjustments must use only information available at formation. Point-in-time constituent histories and as-reported prices are necessary.</li><li><strong>Execution assumptions.</strong> Forming the signal and trading at the same month-end close is unrealistic. A one-day lag, or execution over several days within participation limits, should be simulated.</li><li><strong>Neutrality drift.</strong> Between rebalances, positions drift and the portfolio’s beta and sector exposures change; for a long-short book of volatile stocks this drift can be material, so intra-month monitoring and rebalancing triggers are advisable.</li><li><strong>Corporate events.</strong> Mergers, spin-offs, ticker changes and extreme returns (data errors) require systematic handling. Winsorisation of returns at the cross-sectional tails is advisable before ranking.</li><li><strong>Rank ties and sparse cross-sections.</strong> In small universes or at the start of a sample, ties and missing signals distort rank-based weights.</li><li><strong>Crowding.</strong> Momentum is held by many institutions; simultaneous de-risking produces sharp reversals unrelated to fundamentals. Crowding indicators, such as short interest in the short leg and pairwise correlation among long-short momentum portfolios, are useful diagnostics. Sharp reversals in late 2020 and early 2021 illustrate that such episodes remain relevant.</li></ul><h3>5. Empirical Evidence</h3><p>The following is a qualitative summary of the principal findings, which should be tested on the investor’s own universe and cost model.</p><ul><li>The premium is robust in the long US sample and in most international markets, with Japan the notable exception.</li><li>It is present, with the same sign, in equity indices, currencies, bonds and commodities, and is positively correlated across these asset classes, which supports a common-component interpretation (Asness, Moskowitz and Pedersen, 2013).</li><li>It is strongest in stocks that are small, have low analyst coverage and are costly to arbitrage (Hong, Lim and Stein, 2000), which is also where the net-of-cost return is most fragile.</li><li>Total-return momentum has substantial crash risk; residual, industry-neutral and volatility-managed variants materially improve the risk-adjusted profile.</li><li>Net-of-cost profitability depends on the implementation, with estimates ranging from vanishing to economically large according to the cost model and turnover-control techniques assumed.</li></ul><h3>6. Reference Implementation (Python)</h3><p>The following code illustrates the core components on a monthly panel of total returns. It is intended as a clear, documented template rather than a production system: it omits borrow costs, drift-adjusted turnover, point-in-time universe construction and a factor-model optimiser. It has not been executed as part of this article, and results are therefore not reported.</p><h3>6.1 Signal and weights</h3><pre>import numpy as np<br>import pandas as pd<br><br>def momentum_signal(ret: pd.DataFrame, lookback: int = 12, skip: int = 1) -&gt; pd.DataFrame:<br>    &quot;&quot;&quot;<br>    Cumulative return over months t-lookback+1 ... t-skip, for each formation month t.<br>    ret : DataFrame (dates x securities) of monthly total returns, calendar month-end index.<br>    &quot;&quot;&quot;<br>    window = lookback - skip<br>    log_ret = np.log1p(ret)<br>    cum = log_ret.shift(skip).rolling(window, min_periods=window).sum()<br>    return np.expm1(cum)<br><br>def rank_weights(signal: pd.Series, gross: float = 2.0) -&gt; pd.Series:<br>    &quot;&quot;&quot;Dollar-neutral rank weights with sum(|w|) = gross.&quot;&quot;&quot;<br>    s = signal.dropna()<br>    if len(s) &lt; 2:<br>        return pd.Series(0.0, index=signal.index)<br>    r = s.rank(method=&quot;first&quot;)<br>    w = r - r.mean()<br>    w = w / w.abs().sum() * gross<br>    return w.reindex(signal.index).fillna(0.0)<br><br>def sector_neutral_rank_weights(signal: pd.Series, sector: pd.Series, gross: float = 2.0) -&gt; pd.Series:<br>    &quot;&quot;&quot;Rank within sector, centre within sector, then scale to the target gross exposure.&quot;&quot;&quot;<br>    s = signal.dropna()<br>    sec = sector.reindex(s.index)<br>    r = s.groupby(sec).rank(method=&quot;first&quot;)<br>    w = r - r.groupby(sec).transform(&quot;mean&quot;)<br>    total = w.abs().sum()<br>    if total == 0:<br>        return pd.Series(0.0, index=signal.index)<br>    w = w / total * gross<br>    return w.reindex(signal.index).fillna(0.0)</pre><h3>6.2 Residual momentum for one security</h3><pre>def residual_momentum_one(ret_i: pd.Series, factors: pd.DataFrame,<br>                          window: int = 36, lookback: int = 12, skip: int = 1) -&gt; pd.Series:<br>    &quot;&quot;&quot;<br>    Residual momentum of a single security (Blitz, Huij and Martens, 2011).ret_i   : monthly excess returns of the security<br>    factors : DataFrame (T x K) of monthly factor returns, same index as ret_i<br>    &quot;&quot;&quot;<br>    y_all = ret_i.values<br>    x_all = factors.values<br>    out = pd.Series(np.nan, index=ret_i.index)<br>    for t in range(window - 1, len(ret_i)):<br>        y = y_all[t - window + 1: t + 1]<br>        x = np.column_stack([np.ones(window), x_all[t - window + 1: t + 1]])<br>        if np.isnan(y).any() or np.isnan(x).any():<br>            continue<br>        beta, *_ = np.linalg.lstsq(x, y, rcond=None)<br>        eps = y - x @ beta<br>        recent = eps[window - lookback: window - skip]   # months t-lookback+1 ... t-skip<br>        sigma = eps.std(ddof=x.shape[1])<br>        if sigma &gt; 0:<br>            out.iloc[t] = recent.sum() / sigma<br>    return out<br></pre><h3>6.3 Backtest with proportional costs</h3><pre>def backtest(ret: pd.DataFrame, signal: pd.DataFrame, weight_fn, cost_bps: float = 10.0):<br>    &quot;&quot;&quot;<br>    Weights formed at the end of month t earn the return of month t+1.<br>    Costs are charged on turnover (one-way, in basis points of traded notional).<br>    Turnover ignores intra-month weight drift (simplification).<br>    &quot;&quot;&quot;<br>    weights = signal.apply(weight_fn, axis=1)<br>    gross_ret = (weights.shift(1) * ret).sum(axis=1)<br>    turnover = weights.diff().abs().sum(axis=1)<br>    costs = turnover.shift(1).fillna(0.0) * cost_bps / 1e4<br>    net_ret = gross_ret - costs<br>    return pd.DataFrame({&quot;gross&quot;: gross_ret, &quot;net&quot;: net_ret, &quot;turnover&quot;: turnover.shift(1)})</pre><h3>6.4 Volatility scaling</h3><pre>def volatility_managed(wml_monthly: pd.Series, wml_daily: pd.Series,<br>                       target_vol: float = 0.12, window: int = 126, cap: float = 2.0) -&gt; pd.Series:<br>    &quot;&quot;&quot;<br>    Barroso and Santa-Clara (2015) scaling. The scale computed at the end of month t is<br>    applied to month t+1. Both series must be indexed by calendar dates, and<br>    wml_monthly by calendar month-end timestamps (use &quot;M&quot; instead of &quot;ME&quot; for pandas &lt; 2.2).<br>    &quot;&quot;&quot;<br>    realised = wml_daily.rolling(window).std() * np.sqrt(252)<br>    sigma_hat = realised.resample(&quot;ME&quot;).last()<br>    scale = (target_vol / sigma_hat).clip(upper=cap)<br>    return wml_monthly * scale.shift(1).reindex(wml_monthly.index)</pre><p>Usage:</p><pre>signal = momentum_signal(ret, lookback=12, skip=1)<br>result = backtest(ret, signal, rank_weights, cost_bps=10.0)</pre><p>The momentum signal and the weighting function can be replaced with the residual-momentum or sector-neutral variants without modifying the backtest loop. Recommended extensions are the cost function of Section 3.4, a buffered portfolio construction, explicit beta neutrality, and drift-adjusted turnover.</p><h3>7. Conclusions</h3><ul><li>Cross-sectional momentum is a robust, multi-asset, multi-decade return pattern whose most credible explanation combines behavioural underreaction with limits to arbitrage; no explanation commands consensus.</li><li>Its profit decomposes into dispersion in mean returns, own-autocovariance and cross-serial covariance, and the empirical split remains contested.</li><li>The signal specification (lookback, skip month, residual or industry-neutral construction) and the portfolio construction (beta neutrality, buffering, overlapping portfolios, optimiser with cost model) matter at least as much as the headline premium.</li><li>Crash risk is intrinsic: panic-state rebounds produce losses of a magnitude that standard risk metrics underestimate. Volatility scaling, conditional weighting and structural variants mitigate but do not eliminate it.</li><li>Net profitability and capacity are determined by implementation: turnover control, execution quality and short-leg borrow availability.</li><li>Backtests are particularly exposed to survivorship and delisting bias, look-ahead in universe construction, unrealistic execution assumptions and parameter mining.</li></ul><h3>References</h3><ul><li>Asness, C., Moskowitz, T., Pedersen, L. (2013). Value and Momentum Everywhere. <em>Journal of Finance</em>.</li><li>Barberis, N., Shleifer, A., Vishny, R. (1998). A Model of Investor Sentiment. <em>Journal of Financial Economics</em>.</li><li>Barroso, P., Santa-Clara, P. (2015). Momentum Has Its Moments. <em>Journal of Financial Economics</em>.</li><li>Blitz, D., Huij, J., Martens, M. (2011). Residual Momentum. <em>Journal of Empirical Finance</em>.</li><li>Chordia, T., Shivakumar, L. (2002). Momentum, Business Cycle, and Time-Varying Expected Returns. <em>Journal of Finance</em>.</li><li>Conrad, J., Kaul, G. (1998). An Anatomy of Trading Strategies. <em>Review of Financial Studies</em>.</li><li>Da, Z., Gurun, U., Warachka, M. (2014). Frog in the Pan: Continuous Information and Momentum. <em>Review of Financial Studies</em>.</li><li>Daniel, K., Hirshleifer, D., Subrahmanyam, A. (1998). Investor Psychology and Security Market Under- and Overreactions. <em>Journal of Finance</em>.</li><li>Daniel, K., Moskowitz, T. (2016). Momentum Crashes. <em>Journal of Financial Economics</em>.</li><li>Frazzini, A., Israel, R., Moskowitz, T. (2018). Trading Costs. Working paper.</li><li>George, T., Hwang, C.-Y. (2004). The 52-Week High and Momentum Investing. <em>Journal of Finance</em>.</li><li>Grinblatt, M., Han, B. (2005). Prospect Theory, Mental Accounting, and Momentum. <em>Journal of Financial Economics</em>.</li><li>Grundy, B., Martin, J. S. (2001). Understanding the Nature of the Risks and the Source of the Rewards to Momentum Investing. <em>Review of Financial Studies</em>.</li><li>Harvey, C., Liu, Y., Zhu, H. (2016). …and the Cross-Section of Expected Returns. <em>Review of Financial Studies</em>.</li><li>Hong, H., Lim, T., Stein, J. (2000). Bad News Travels Slowly. <em>Journal of Finance</em>.</li><li>Hong, H., Stein, J. (1999). A Unified Theory of Underreaction, Momentum Trading, and Overreaction in Asset Markets. <em>Journal of Finance</em>.</li><li>Jegadeesh, N. (1990). Evidence of Predictable Behavior of Security Returns. <em>Journal of Finance</em>.</li><li>Jegadeesh, N., Titman, S. (1993). Returns to Buying Winners and Selling Losers. <em>Journal of Finance</em>.</li><li>Jegadeesh, N., Titman, S. (2002). Cross-Sectional and Time-Series Determinants of Momentum Returns. <em>Review of Financial Studies</em>.</li><li>Johnson, T. (2002). Rational Momentum Effects. <em>Journal of Finance</em>.</li><li>Korajczyk, R., Sadka, R. (2004). Are Momentum Profits Robust to Trading Costs? <em>Journal of Finance</em>.</li><li>Lehmann, B. (1990). Fads, Martingales, and Market Efficiency. <em>Quarterly Journal of Economics</em>.</li><li>Lesmond, D., Schill, M., Zhou, C. (2004). The Illusory Nature of Momentum Profits. <em>Journal of Financial Economics</em>.</li><li>Lo, A., MacKinlay, A. C. (1990). When Are Contrarian Profits Due to Stock Market Overreaction? <em>Review of Financial Studies</em>.</li><li>McLean, R. D., Pontiff, J. (2016). Does Academic Research Destroy Stock Return Predictability? <em>Journal of Finance</em>.</li><li>Moreira, A., Muir, T. (2017). Volatility-Managed Portfolios. <em>Journal of Finance</em>.</li><li>Moskowitz, T., Grinblatt, M. (1999). Do Industries Explain Momentum? <em>Journal of Finance</em>.</li><li>Novy-Marx, R. (2012). Is Momentum Really Momentum? <em>Journal of Financial Economics</em>.</li><li>Novy-Marx, R., Velikov, M. (2016). A Taxonomy of Anomalies and Their Trading Costs. <em>Review of Financial Studies</em>.</li><li>Shumway, T. (1997). The Delisting Bias in CRSP Data. <em>Journal of Finance</em>.</li><li>Vayanos, D., Woolley, P. (2013). An Institutional Theory of Momentum and Reversal. <em>Review of Financial Studies</em>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f3ee4f7b438" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neural Network Surrogates for Exotic Option Pricing]]></title>
            <link>https://medium.com/@simomenaldo/neural-network-surrogates-for-exotic-option-pricing-3b533f3547a2?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b533f3547a2</guid>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 27 Oct 2026 06:16:01 GMT</pubDate>
            <atom:updated>2026-10-27T06:16:01.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uHPDwRAeL3uC6vFigfXabQ.jpeg" /></figure><h3>Abstract</h3><p>Pricing exotic derivatives under rich stochastic models (Heston, local-stochastic volatility, rough volatility) requires Monte Carlo or PDE solvers whose cost is incompatible with intraday risk, calibration loops and large scenario sets. A neural network surrogate replaces the solver with a learned function that is cheap to evaluate. This article examines the architecture, the design of the training set, the choice of network and loss, the error metrics that should be used for validation, and the failure modes that make a surrogate dangerous in production. The emphasis is on methodological and implementation issues, since a surrogate that is accurate on average can be wrong exactly where a desk needs it to be right.</p><h3>1. Economic Rationale</h3><p>A pricing engine is called far more often than it is built. A single calibration may require thousands of evaluations, and a full risk run requires one pricing per trade and per scenario, with Greeks on top. The surrogate approach shifts the cost:</p><ul><li><strong>Offline phase:</strong> generate labelled data with the reference solver, train the network, validate it. This cost is paid once per model and product family, on dedicated compute.</li><li><strong>Online phase:</strong> a forward pass of a small network, typically microseconds per evaluation and trivially batchable on CPU or GPU. Greeks are available through automatic differentiation of the network.</li></ul><p>The speed-up of several orders of magnitude relative to Monte Carlo is real, but the economic argument holds only if the total cost (data generation, training, validation, monitoring, retraining) is amortized over a sufficient number of online evaluations. This should be computed explicitly rather than assumed.</p><h3>2. Problem Formulation</h3><p>Let a reference pricer define a map from inputs to prices:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*Y9xOJvpIjCeL5jcW" /></figure><p>Here x collects contract and market inputs (spot or moneyness, maturity, barrier level, strike, rates) and θ collects model parameters (for Heston: v₀, κ, v̄, ξ, ρ). The surrogate is a parametric function trained to minimize an expected loss over a sampling distribution μ on the input and parameter space:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/0*ouDLb4dfDB9kwHkN" /></figure><p>Two design choices determine almost everything that follows. The first is what is learned (price, implied volatility, or a normalized quantity), and the second is the distribution μ. Neither is neutral, and both are discussed below.</p><p><strong>What is learned.</strong> Three common options:</p><ol><li><strong>Direct price regression.</strong> Simple, but the target has a large dynamic range and the payoff kink or discontinuity is a hard feature to fit.</li><li><strong>Normalized or transformed target.</strong> For vanilla-like components, learning implied volatility or price divided by a closed-form reference (for example a Black-Scholes price at an effective volatility) removes most of the dynamic range and shifts the network’s task to the residual. This is often the largest single accuracy improvement for the least effort.</li><li><strong>Two-step approach.</strong> Learn the map from model parameters to a grid of implied volatilities, then price the exotic with a conventional method on the reconstructed surface, as in the literature on deep calibration of volatility models. This separates calibration speed from product-specific pricing.</li></ol><h3>3. Training-Set Design</h3><h3>3.1 Sampling</h3><p>Uniform random sampling of a high-dimensional box wastes capacity on irrelevant regions and leaves others sparse. Low-discrepancy sequences give better coverage for the same budget. Scrambled Sobol sequences are the standard choice:</p><pre>import numpy as np<br>from scipy.stats import qmc<br><br>def sample_domain(n, bounds, seed=0):<br>    &quot;&quot;&quot;bounds: dict name -&gt; (low, high). Returns array (n, d) and column names.&quot;&quot;&quot;<br>    names = list(bounds)<br>    lo = np.array([bounds[k][0] for k in names])<br>    hi = np.array([bounds[k][1] for k in names])<br>    sampler = qmc.Sobol(d=len(names), scramble=True, seed=seed)<br>    u = sampler.random_base2(m=int(np.ceil(np.log2(n))))[:n]<br>    return qmc.scale(u, lo, hi), names<br>bounds = {<br>    &quot;moneyness&quot;: (0.6, 1.4), &quot;T&quot;: (0.25, 3.0),<br>    &quot;barrier&quot;: (1.05, 1.60),<br>    &quot;v0&quot;: (0.01, 0.20), &quot;kappa&quot;: (0.5, 5.0), &quot;vbar&quot;: (0.01, 0.20),<br>    &quot;xi&quot;: (0.1, 1.0), &quot;rho&quot;: (-0.95, -0.1), &quot;r&quot;: (-0.005, 0.05),<br>}<br>X, names = sample_domain(2**18, bounds)</pre><h3>3.2 Domain definition: the real source of risk</h3><p>The bounding box is a statement about where the surrogate is valid. It must be derived from the actual calibration and trading universe, not from convenience:</p><ul><li><strong>Model-parameter ranges</strong> should cover the historical range of calibrated parameters with margin, including stressed regimes. A surrogate trained only on calm-market parameters will silently extrapolate during a crisis, which is when it is needed most.</li><li><strong>Feller condition and other admissibility constraints</strong> (2κv̄ ≥ ξ² for Heston, if one imposes it) define a non-rectangular region. Sampling the full box and filtering wastes budget and distorts the density. Either sample in transformed coordinates or document the rejection scheme.</li><li><strong>Concentration of density.</strong> If most production trades live near-the-money at short-to-medium maturities, μ should be denser there, for example by importance weighting or by mixing a uniform Sobol set with a targeted set. A uniform design will underperform on the region of highest practical relevance.</li><li><strong>Parameter correlation.</strong> Calibrated parameters are strongly dependent (for example ξ and ρ trade off against each other). A box that ignores this wastes capacity on combinations that never occur.</li></ul><h3>3.3 Label quality</h3><p>The labels are outputs of the reference solver and inherit its error:</p><ul><li><strong>Monte Carlo labels</strong> carry noise of order σ/√N plus discretization bias (time-stepping, barrier monitoring correction). Noisy labels are not fatal for a sufficiently large dataset, since the network averages the noise, but label bias is never averaged out: the surrogate learns the solver’s bias as if it were the price. The reference solver itself must therefore be validated first.</li><li><strong>Deterministic labels</strong> (PDE, Fourier or semi-analytic) are cleaner and should be preferred wherever the product admits them.</li><li><strong>Variance of label error across the domain</strong> is rarely uniform. Labels are noisiest near barriers and for short maturities with high vol-of-vol. Record the estimated standard error per label and use it for weighting or for filtering.</li><li><strong>Common random numbers.</strong> If labels are generated with a fixed random-number set across parameters, label errors are correlated across neighbouring points, which can bias the learned function in a smooth, hard-to-detect way. Decide this deliberately.</li></ul><h3>3.4 Dataset size and splits</h3><p>Hold out a validation set drawn from the same distribution as training, and also a <strong>stress set</strong> built from deliberately difficult regions (near barriers, extreme maturities, corner parameters, boundary of the domain). The two measure different things: average accuracy and worst-case behaviour. Both must be reported.</p><h3>4. Network Design and Loss</h3><h3>4.1 Architecture</h3><p>For smooth pricing maps of moderate dimension, a feed-forward network of a few hundred units per layer and three to five hidden layers is usually sufficient. Points that matter more than depth or width:</p><ul><li><strong>Smooth activations (softplus, ELU, SiLU, tanh).</strong> ReLU networks are piecewise linear, so their second derivatives are zero almost everywhere. A surrogate used for gamma or vanna will produce meaningless sensitivities. Smooth activations are necessary for second-order Greeks.</li><li><strong>Input normalization.</strong> Standardize inputs; consider log-transforms for strikes, barriers and maturities. Poorly scaled inputs are a common cause of apparently mysterious accuracy limits.</li><li><strong>Output parametrization.</strong> Enforce known structure in the architecture where possible: non-negativity of prices (softplus output), upper and lower bounds (for example a knock-out price cannot exceed the corresponding vanilla), monotonicity if guaranteed by the payoff. Hard constraints are more reliable than penalties.</li><li><strong>Discontinuities.</strong> Products with discrete barriers or digital coupons yield price surfaces with steep gradients near the trigger. A smooth network will smear these. Either accept the smearing and quantify it, or reduce the problem by learning a smoother auxiliary quantity (for example a conditional expectation) and recovering the payoff structure analytically.</li></ul><h3>4.2 Loss function</h3><p>Mean squared error on prices is the default but rarely the right objective. Prices differ by orders of magnitude across the domain, so an absolute-error loss concentrates accuracy on high-value regions. Alternatives:</p><ul><li>relative error or error in implied-volatility units, which aligns the loss with how the desk reads the result;</li><li>weighting by vega, or by an economically meaningful tolerance;</li><li>adding a <strong>derivative loss</strong> when label sensitivities are available (pathwise or adjoint Greeks from the reference solver), which improves Greek accuracy substantially for the same number of samples. This is the idea behind differential machine learning and is the subject of a separate article.</li></ul><pre>import torch, torch.nn as nn<br><br>class Surrogate(nn.Module):<br>    def __init__(self, d_in, width=256, depth=4):<br>        super().__init__()<br>        layers, d = [], d_in<br>        for _ in range(depth):<br>            layers += [nn.Linear(d, width), nn.SiLU()]<br>            d = width<br>        self.body = nn.Sequential(*layers)<br>        self.head = nn.Linear(d, 1)<br>    def forward(self, x):<br>        # softplus output keeps the predicted (normalized) price non-negative;<br>        # multiply by a closed-form reference price outside the network if<br>        # learning the ratio to a control is desired<br>        return nn.functional.softplus(self.head(self.body(x))).squeeze(-1)<br>def greeks(model, x, idx_spot, idx_vol):<br>    x = x.clone().requires_grad_(True)<br>    p = model(x).sum()<br>    g, = torch.autograd.grad(p, x, create_graph=True)<br>    delta = g[:, idx_spot]<br>    gamma, = torch.autograd.grad(delta.sum(), x)   # needs smooth activations<br>    return delta, gamma[:, idx_spot], g[:, idx_vol]</pre><h3>5. Validation: Error Metrics Beyond RMSE</h3><p>An aggregate RMSE hides the quantities that matter. The validation report should contain, at minimum:</p><ol><li><strong>Price error distribution</strong>, not only its mean: median, 95th, 99th and 99.9th percentiles and maximum, in both absolute terms and in implied-volatility or relative terms, with the tolerance set against the desk’s bid-offer and the reference solver’s own standard error. A surrogate cannot be validated to a precision finer than the reference.</li><li><strong>Greeks error.</strong> Compare delta, gamma and vega obtained by automatic differentiation with reference Greeks (finite differences with fixed seeds, pathwise or adjoint). Price accuracy does not imply derivative accuracy, because a function can be uniformly close to another while having a visibly different gradient. For hedging and P&amp;L explain, delta and vega errors often matter more than price error.</li><li><strong>No-arbitrage and structural checks.</strong> Test monotonicity in strike, convexity (butterfly), calendar behaviour, bounds relative to vanilla prices, and limiting cases (barrier tending to infinity recovers the vanilla; maturity tending to zero recovers the payoff). A surrogate is not constrained to respect these properties unless built to.</li><li><strong>Extrapolation behaviour.</strong> Evaluate just outside the training domain to characterize what the surrogate does there: neural networks extrapolate roughly linearly and without any warning. The production system needs an explicit domain check, not a hope.</li><li><strong>Error maps.</strong> Plot error against the main inputs (moneyness, maturity, barrier distance, vol-of-vol). Systematic structure in the error map reveals under-sampled regions or architectural limits that a scalar metric cannot.</li><li><strong>Stability under perturbation.</strong> A small change in inputs should produce a small, smooth change in output. Check this with random perturbations and by examining the Jacobian norm, since oscillatory fits can have low pointwise error and unusable derivatives.</li><li><strong>Portfolio-level impact.</strong> Translate the errors to risk numbers: aggregate P&amp;L difference, VaR or sensitivity difference across a representative portfolio and scenario set, which is the form in which model risk is judged.</li></ol><h3>6. Failure Modes</h3><p><strong>Boundary and corner regions.</strong> Accuracy degrades at the edges of the sampled box, where the network has one-sided information, and at physically hard corners (very short maturity, high vol-of-vol, barrier close to spot). Over-sample these or exclude them with an explicit domain rule.</p><p><strong>Barrier proximity.</strong> Near a barrier the price and especially its derivatives vary rapidly, and the surrogate’s smoothness bias becomes a pricing bias. The resulting error in delta and gamma is largest exactly where the hedging risk is largest.</p><p><strong>Regime shifts.</strong> If calibrated parameters leave the training distribution (a volatility spike, rates moving through zero, a changed skew regime), the surrogate extrapolates without any signal. Mitigation is an input-domain guard that flags or falls back to the reference solver, combined with periodic retraining on updated parameter ranges.</p><p><strong>Silent staleness.</strong> The surrogate is a frozen snapshot of the model and product definition. Changes to the pricing model, day-count or calendar conventions, observation schedule, or the reference solver’s settings invalidate it without any visible failure. This is an operational control problem: every surrogate must be tied to a versioned definition of the reference pricer, the data set and the domain, and must be re-validated when any of these change.</p><p><strong>Hidden label bias.</strong> Discretization bias in the Monte Carlo labels (for example discrete monitoring of a continuous barrier) is reproduced faithfully by the surrogate. Good surrogate accuracy against a biased solver is a false assurance.</p><p><strong>Overfitting to the sample.</strong> With dense low-discrepancy sampling this is less common than with small financial datasets, but it appears when the dataset is small relative to dimension. Evaluate on an independent Sobol seed, not only on a random hold-out.</p><p><strong>Concentration of error in the tails.</strong> Averages conceal rare large errors. Because a few mispriced trades matter more than many accurate ones, report tail quantiles and maximum errors, and investigate them individually.</p><h3>7. Implementation Issues</h3><ul><li><strong>Numerical precision.</strong> Train in float32 for speed, but verify that inference precision is sufficient for the Greeks, particularly second derivatives. Differences between float32 and float64 outputs can exceed the tolerance for gamma.</li><li><strong>Reproducibility.</strong> Fix and record seeds for sampling, initialization and data shuffling, and store the exact library versions. Surrogate retraining must produce an auditable artefact.</li><li><strong>Training-data generation pipeline.</strong> Label generation dominates the cost. Parallelize it, store standard errors alongside values, checkpoint, and record the solver configuration (paths, time steps, scheme, seed) with the dataset.</li><li><strong>Batching and throughput.</strong> The online speed advantage materializes only with batched evaluation. A pricing library that calls the network one trade at a time in a Python loop will lose most of the gain.</li><li><strong>Model packaging.</strong> Export to a portable format (for example ONNX or TorchScript) with embedded input normalization constants, input bounds and version metadata, so that the artefact is self-describing and cannot be called with a mismatched preprocessing step.</li><li><strong>Fallback logic.</strong> In production, route inputs that fall outside the validated domain, or that trigger consistency checks, to the reference solver, and log every such event.</li><li><strong>Monitoring.</strong> Maintain a challenger process that periodically reprices a random sample of live trades with the reference solver and compares results, with alert thresholds linked to pricing tolerance and P&amp;L explain.</li></ul><h3>8. Validation Checklist for Internal Documentation</h3><ul><li><strong>Reference solver:</strong> convergence study; bias and standard error quantified; independent benchmark.</li><li><strong>Domain:</strong> documented bounds, admissibility constraints, rationale tied to production usage.</li><li><strong>Dataset:</strong> sampling scheme, size, seeds, label error estimates, train/validation/stress split.</li><li><strong>Model:</strong> architecture, activation justification, constraints, loss and weighting.</li><li><strong>Accuracy:</strong> price, implied-volatility and Greek errors (mean, quantiles, maximum); error maps.</li><li><strong>Structure:</strong> no-arbitrage, limiting-case and monotonicity tests.</li><li><strong>Robustness:</strong> extrapolation behaviour, perturbation stability, domain-guard test.</li><li><strong>Portfolio impact:</strong> P&amp;L and risk-number differences on representative portfolios.</li><li><strong>Operations:</strong> versioning, fallback, monitoring, retraining triggers, ownership.</li></ul><h3>9. Conclusions</h3><p>A neural network surrogate is best viewed as a compressed, approximate copy of an existing pricer: it inherits that pricer’s biases and adds its own. Its value is computational, and it is realized only when the domain is defined carefully, the target is transformed to remove avoidable difficulty, smooth architectures are used so that Greeks are meaningful, and validation addresses tails, derivatives and structure instead of average price error. The principal risks are operational rather than statistical: leaving the training domain unnoticed, and the surrogate drifting out of sync with the model it imitates. A deployment that treats domain guards, versioning and challenger monitoring as part of the model, not as an afterthought, can capture the speed-up without taking on uncontrolled model risk.</p><h3>References</h3><p><strong>Neural networks for pricing and calibration</strong></p><ol><li>Hutchinson, J. M., Lo, A. W., and Poggio, T. (1994). A nonparametric approach to pricing and hedging derivative securities via learning networks. <em>The Journal of Finance</em>, 49(3), 851–889.</li><li>Hernandez, A. (2016). Model calibration with neural networks. <em>Risk</em>, June 2016 (available on SSRN).</li><li>Ferguson, R., and Green, A. (2018). Deeply learning derivatives. arXiv:1809.02233.</li><li>Bayer, C., and Stemper, B. (2018). Deep calibration of rough stochastic volatility models. arXiv:1810.03399.</li><li>Horvath, B., Muguruza, A., and Tomas, M. (2021). Deep learning volatility: a deep neural network perspective on pricing and calibration in (rough) volatility models. <em>Quantitative Finance</em>, 21(1), 11–27.</li><li>Liu, S., Borovykh, A., Grzelak, L. A., and Oosterlee, C. W. (2019). A neural network-based framework for financial model calibration. <em>Journal of Mathematics in Industry</em>, 9, article 9.</li><li>Liu, S., Oosterlee, C. W., and Bohte, S. M. (2019). Pricing options and computing implied volatilities using neural networks. <em>Risks</em>, 7(1), 16.</li><li>Ruf, J., and Wang, W. (2020). Neural networks for option pricing and hedging: a literature review. <em>Journal of Computational Finance</em>, 24(1), 1–46.</li><li>Huge, B., and Savine, A. (2020). Differential machine learning. <em>Risk</em> (arXiv:2005.02347).</li></ol><p><strong>Neural network theory</strong></p><ol><li>Hornik, K., Stinchcombe, M., and White, H. (1989). Multilayer feedforward networks are universal approximators. <em>Neural Networks</em>, 2(5), 359–366.</li></ol><p><strong>Models, barrier options and Monte Carlo</strong></p><ol><li>Heston, S. L. (1993). A closed-form solution for options with stochastic volatility with applications to bond and currency options. <em>The Review of Financial Studies</em>, 6(2), 327–343.</li><li>Gatheral, J., Jaisson, T., and Rosenbaum, M. (2018). Volatility is rough. <em>Quantitative Finance</em>, 18(6), 933–949.</li><li>Broadie, M., Glasserman, P., and Kou, S. (1997). A continuity correction for discrete barrier options. <em>Mathematical Finance</em>, 7(4), 325–349.</li><li>Glasserman, P. (2004). <em>Monte Carlo Methods in Financial Engineering</em>. Springer.</li><li>Gatheral, J. (2006). <em>The Volatility Surface: A Practitioner’s Guide</em>. Wiley.</li></ol><p><strong>Low-discrepancy sampling</strong></p><ol><li>Sobol’, I. M. (1967). On the distribution of points in a cube and the approximate evaluation of integrals. <em>USSR Computational Mathematics and Mathematical Physics</em>, 7(4), 86–112.</li></ol><p><strong>Model risk governance</strong></p><ol><li>Board of Governors of the Federal Reserve System and Office of the Comptroller of the Currency (2011). <em>Supervisory Guidance on Model Risk Management</em> (SR 11–7 / OCC 2011–12).</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b533f3547a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Payment for Order Flow: The Hidden Mechanics of Modern Markets]]></title>
            <link>https://medium.com/@simomenaldo/payment-for-order-flow-the-hidden-mechanics-of-modern-markets-214cefc635c3?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/214cefc635c3</guid>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 05:01:04 GMT</pubDate>
            <atom:updated>2026-10-20T05:01:04.211Z</atom:updated>
            <content:encoded><![CDATA[<p>The engine of the zero-commission revolution runs on a controversial and often misunderstood fuel: payment for order flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tepfkkkUiZp1JZJfp0VcBA.png" /></figure><p>Payment for order flow sits at the heart of the retail trading revolution, yet its mechanics remain opaque to many. This practice, where brokerage firms are compensated for directing client orders to specific market makers, has become a central feature of the zero-commission trading era. This article provides a comprehensive analysis of payment for order flow, examining its mechanics, the debate surrounding its impact on market quality, and its place within the global regulatory landscape.</p><h3>PFOF Mechanics</h3><p>At its core, payment for order flow is a rebate paid by a wholesale market maker to a retail brokerage firm in exchange for the broker routing its customers’ orders to that market maker. This arrangement creates a three-party ecosystem: the retail investor, the retail broker, and the wholesaler. When an investor places a trade through a zero-commission broker, the order is not typically sent to a public exchange like the NYSE or Nasdaq. Instead, it is routed to a wholesaler, such as Citadel Securities or Virtu Financial, who pays the broker for this privilege.</p><p>The payment itself is typically calculated on a per-share or per-contract basis and varies depending on the liquidity and spread of the security. The wholesaler’s payment, <em>PPFOF</em>​, for a given order can be modeled as a function of the number of shares, <em>N</em>, and the PFOF rate, <em>RPFOF</em>​, which is often quoted in cents per 100 shares.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/0*d_ZbCI_dAJ4CyxKk" /></figure><p>For the wholesaler, the profitability of this arrangement hinges on their ability to execute the received order flow at a price better than the National Best Bid and Offer (NBBO), capturing the spread. The wholesaler internalizes the order flow, matching buy and sell orders from the vast pool of retail trades they receive, minimizing their own risk and transaction costs. This internalization is key; retail order flow is considered ‘uninformed’ because it is less likely to be based on private information that would move the market price, making it profitable to trade against.</p><h3>Retail vs Institutional Flow</h3><p>The distinction between retail and institutional order flow is fundamental to understanding the PFOF model. Institutional flow, originating from large entities like mutual funds, pension funds, and hedge funds, is often characterized by large order sizes and is considered ‘informed.’ These trades are more likely to be driven by sophisticated research and may predict future price movements. As a result, executing institutional orders carries a higher risk of adverse selection for the market maker. The probability of trading against an informed counterparty, <em>P</em>(<em>I</em>), is significantly higher with institutional flow.</p><p>In contrast, retail flow consists of small, uncorrelated orders from individual investors. This flow is considered ‘uninformed’ as it is generally motivated by a wider range of factors other than proprietary information, such as diversification, liquidity needs, or behavioral biases. The adverse selection risk for market makers is substantially lower. The expected trading profit, <em>E</em>[<em>π</em>], for a market maker can be modeled as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*54exIf_DOxPp5eHA" /></figure><p>Where <em>E</em>[<em>π</em>∣<em>U</em>] is the expected profit from trading with an uninformed trader (capturing the spread), and <em>E</em>[<em>L</em>∣<em>I</em>] is the expected loss from trading with an informed trader. Wholesalers specialize in retail flow precisely because the low adverse selection risk, where <em>P</em>(<em>I</em>)≈0, makes the business of spread capture highly profitable and scalable.</p><h3>Price Improvement</h3><p>A central argument in favor of PFOF is the concept of ‘price improvement.’ Wholesalers that internalize retail order flow often execute trades at prices better than the prevailing NBBO. For a buy order, this means executing at a price lower than the national best offer, and for a sell order, at a price higher than the national best bid. The total price improvement, <em>PITotal</em>​, on a trade is the sum of the per-share improvement, <em>PIShare</em>​, multiplied by the number of shares, <em>N</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/0*wjLv5g9lKtbeWCrw" /></figure><p>Where <em>PExecution</em>​ is the price at which the trade is executed and <em>PNBBO</em>​ is the relevant bid or offer at the time of order receipt. Wholesalers can offer this improvement because they are capturing a portion of the bid-ask spread. By internalizing, they avoid exchange fees and can pass a fraction of these savings to the retail client. The effective spread, <em>SEffective</em>​, paid by the investor is therefore narrower than the quoted spread on public exchanges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/0*t1yAq0QigiJ3EdUA" /></figure><p>However, the magnitude and frequency of price improvement are subjects of intense debate. Critics argue that the improvement offered may be marginal and that routing orders to wholesalers prevents them from potentially receiving even better prices through interaction with the broader market on a public exchange. The measurement of price improvement is also complex, depending on the latency between when the NBBO is recorded and when the trade is executed.</p><h3>Internalization Economics</h3><p>The economic model of internalization is built on cost advantages and risk management. By matching buy and sell orders internally, wholesalers avoid exchange fees, which are a significant cost component in public market making. This cost saving, <em>CSave</em>​, is a direct contributor to the wholesaler’s profit margin and their ability to pay for order flow. The wholesaler’s gross profit per share, <em>πGross</em>​, can be expressed as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*ETEOBCiyQ3FpnH2q" /></figure><p>Where <em>SCapture</em>​ is the portion of the bid-ask spread captured by the wholesaler. Furthermore, internalization allows for superior risk management. Wholesalers maintain a balanced inventory of securities by netting incoming buy and sell orders. This reduces the need to hedge positions in the open market, thereby lowering inventory risk and associated costs. The wholesaler’s optimization problem involves maximizing profit while constraining the variance of their inventory position, <em>σ</em>2(<em>I</em>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/219/0*B1wAD_IbVN4XbVSy" /></figure><p>Where <em>K</em> is a risk tolerance threshold. This controlled environment, insulated from the volatility and predatory trading strategies of public exchanges, is what makes retail order flow so valuable. The wholesaler is, in effect, operating a private liquidity pool where the trading dynamics are more predictable and profitable.</p><h3>Wholesaler Competition</h3><p>The market for retail order flow is dominated by a small number of large wholesalers, leading to an oligopolistic market structure. Competition among these firms, such as Citadel Securities and Virtu Financial, does not occur on commission prices, which are typically zero, but on the PFOF rates offered to brokers and the quality of execution provided to clients. This can be conceptualized as a form of Bertrand competition where the ‘price’ has multiple dimensions.</p><p>A broker’s choice of wholesaler can be modeled by a utility function that balances its own revenue from PFOF against its fiduciary duty of best execution for its clients. The broker’s utility, <em>UB</em>​, from routing to wholesaler <em>j</em> can be represented as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/0*IlITihqnTG-MfYtE" /></figure><p>Where <em>w</em> is the weight the broker assigns to its PFOF revenue, <em>Rj</em>​ is the PFOF rate, and <em>E</em>[<em>PIj</em>​] is the expected price improvement from wholesaler <em>j</em>. Regulatory frameworks and enforcement actions are designed to ensure that the weight (1−<em>w</em>) given to client execution quality is sufficiently high.</p><p>The high concentration in the wholesale market raises concerns about market power. A dominant wholesaler could theoretically reduce both PFOF rates and price improvement over time. To promote transparency, regulations like SEC Rule 606 require brokers to publicly disclose their order routing practices and the compensation they receive. These disclosures are intended to allow for greater scrutiny of the competitive dynamics and to help ensure that brokers are not unduly prioritizing PFOF revenue at the expense of execution quality.</p><h3>Regulatory Debate</h3><p>The practice of PFOF is the subject of a fierce regulatory debate, primarily centered on the inherent conflict of interest it creates for brokerage firms. Regulators, led by the U.S. Securities and Exchange Commission (SEC), question whether a broker can simultaneously serve its duty of best execution to clients while also being financially incentivized to route orders to a specific wholesaler. The core of the regulatory concern can be expressed by examining the broker’s decision-making process. A broker might be tempted to choose wholesaler <em>j</em> over wholesaler <em>k</em> if:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/0*OdcASjjbnU38gIfW" /></figure><p>This inequality highlights the potential for client execution quality to be subordinated to the broker’s revenue generation. Proponents of PFOF argue that the practice is what enables the zero-commission trading model, which has democratized market access for retail investors. They also point to price improvement statistics as evidence that the current system benefits clients. From this perspective, PFOF is a necessary component of a competitive ecosystem where the benefits are shared between brokers (via PFOF), wholesalers (via spread capture), and investors (via zero commissions and price improvement).</p><p>Conversely, critics argue that PFOF fosters an opaque, two-tiered market structure that disadvantages retail investors. They contend that the price improvement offered is only a fraction of the economic rent captured by wholesalers and that true price discovery is harmed by diverting a large volume of trades away from public exchanges. In response, regulators have proposed significant market structure reforms, including the possibility of order-by-order auctions, where wholesalers would have to compete directly to execute retail orders. Such a mechanism would aim to shift the locus of competition from PFOF payments to the quality of the execution price itself, thereby aligning the interests of brokers and their clients more closely.</p><h3>Best Execution and PFOF</h3><p>Best execution is a legal mandate that requires brokers to execute customer orders in a way that is most favorable to the client. This is a multi-faceted concept that includes not just the price of the execution but also its speed, likelihood, and overall quality. The challenge with PFOF is that it introduces a direct financial incentive for the broker that may not align with the client’s best interest. To comply with best execution obligations, brokers must conduct ‘regular and rigorous’ reviews of their order routing practices.</p><p>The quality of execution is often measured by the effective spread over quoted spread (E/Q) ratio, where the effective spread is the transaction cost paid by the investor and the quoted spread is the NBBO at the time of the trade. An E/Q ratio less than 100% indicates that, on average, investors are receiving price improvement. The formula for the E/Q ratio for a buy order is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*wKl4nik9Vo8QZ3ug" /></figure><p>Where <em>PMid</em>​ is the midpoint of the NBBO. While wholesalers consistently provide E/Q ratios below 100%, critics argue this is not the appropriate benchmark. They suggest that the true measure of execution quality should be against the prices that could have been achieved if the order were exposed to greater competition, for instance, in a public exchange’s limit order book. The potential for a ‘hidden’ cost of routing, where investors miss out on better prices, complicates the assessment of best execution.</p><p>Brokers must document their review process and justify why their chosen routing arrangement provides the best outcome for their clients. This involves a holistic analysis that considers price improvement, the likelihood of execution, and the overall service quality of the wholesaler. The complexity of this analysis, combined with the inherent conflict of interest, makes the enforcement of best execution in a PFOF-driven market a significant challenge for regulators.</p><h3>International Perspectives</h3><p>The regulatory treatment of payment for order flow varies significantly across jurisdictions, reflecting different philosophies on market structure and investor protection. While PFOF is a prominent feature of the U.S. market, it is banned in several other major financial centers, including the United Kingdom, Canada, and Australia. These jurisdictions have concluded that the practice creates an unmanageable conflict of interest and is detrimental to market transparency.</p><p>In the European Union, the Markets in Financial Instruments Directive II (MiFID II) has taken a strong stance against PFOF. The directive aims to enhance transparency and ensure that investment firms act in the best interests of their clients. While not an outright ban, MiFID II’s unbundling rules require firms to separate the costs of research and execution, and its best execution requirements are interpreted as effectively prohibiting PFOF for most types of business. The regulatory divergence can be modeled as a difference in the perceived social welfare function, W<em>W</em>. In the U.S., the function might be seen as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/0*L-GDIRrGbXbrqK7D" /></figure><p>Where <em>VAccess</em>​ represents the value of democratized market access through zero commissions, and <em>VExecution</em>​ is the value of execution quality. In contrast, the EU’s welfare function appears to place a much stronger weight on execution quality and market integrity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/0*K7B4NQ0d_4D2GxfW" /></figure><p>This international divergence provides a natural experiment on the effects of PFOF. Academic studies comparing market quality and execution costs between the U.S. and other jurisdictions offer valuable data for the ongoing policy debate. As global markets become more interconnected, the pressure for regulatory harmonization may grow, potentially leading to a convergence of rules governing this controversial practice.</p><h3>Conclusion</h3><p>Payment for order flow is a complex and controversial practice that lies at the intersection of market innovation, regulatory oversight, and consumer protection. It has been a key enabler of the zero-commission brokerage model, fundamentally altering the landscape for retail investors. However, this has come at the cost of a more fragmented and opaque market structure, where the alignment of interests between brokers and their clients is a subject of ongoing debate. The economics of PFOF are driven by the profitable nature of uninformed retail order flow, which allows wholesalers to capture spreads while providing price improvement and paying for order flow.</p><p>Further research is needed to quantify the impact of PFOF on price discovery and overall market quality, particularly in comparison to alternative models like order-by-order auctions. As regulators in the U.S. and abroad continue to scrutinize the practice, the future of PFOF may hinge on the ability of the industry to demonstrate that its benefits are genuinely passed through to the end investor. Ultimately, the evolution of this practice will be a defining feature of market microstructure in the years to come, with significant implications for the efficiency and fairness of our capital markets.</p><h3>References</h3><ol><li>Battalio, R. H., Corwin, S. A., &amp; Jennings, R. H. (2021). <em>The ‘Actual Retail Price’ of Equity Trades</em>. The Journal of Finance, 76(6), 2919–2963.</li><li>Easley, D., &amp; O’Hara, M. (2004). <em>Information and the Cost of Capital</em>. The Journal of Finance, 59(4), 1553–1583.</li><li>Harris, L. (2003). <em>Trading and Exchanges: Market Microstructure for Practitioners</em>. Oxford University Press.</li><li>U.S. Securities and Exchange Commission. (2022). <em>Proposed Rule: Order Competition Rule</em>. Release №34–96495.</li><li>Welch, I. (2022). <em>Payment for Order Flow, and the Great Trading Game</em>. Working Paper.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=214cefc635c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Factor Models and Asset Pricing: A Quantitative Approach]]></title>
            <link>https://medium.com/@simomenaldo/factor-models-and-asset-pricing-a-quantitative-approach-2d4727183914?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d4727183914</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 05:01:02 GMT</pubDate>
            <atom:updated>2026-10-13T05:01:02.119Z</atom:updated>
            <content:encoded><![CDATA[<p>Factor models are the cornerstone of modern asset pricing, providing the framework for understanding and quantifying the sources of investment risk and return.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Ycyimy1aEX0SEqiQvXn0A.png" /></figure><p>Factor models provide a powerful framework for decomposing portfolio risk, evaluating performance, and constructing sophisticated investment strategies. This article provides a comprehensive overview of seminal factor models, exploring their theoretical foundations, mathematical formulations, and practical implications in asset management.</p><h3>1. Fama-French Three-Factor Model</h3><p>The Fama-French Three-Factor Model, introduced by Eugene Fama and Kenneth French in 1992, was a pivotal development that challenged the dominance of the Capital Asset Pricing Model (CAPM). The model posits that, in addition to the market risk factor, two other factors systematically affect stock returns: firm size and value.</p><p>The model is expressed as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/0*-jjbaTeTbqSV7ikn" /></figure><p>Where:</p><ul><li><em>Rit</em>​−<em>Rft</em>​: The excess return of asset <em>i</em> at time <em>t</em>.</li><li><em>Rmt</em>​−<em>Rft</em>​: The excess return of the market portfolio.</li><li><em>SMBt</em>​<strong> (Small Minus Big)</strong>: The return of a portfolio of small-cap stocks minus the return of a portfolio of large-cap stocks.</li><li><em>HMLt</em>​<strong> (High Minus Low)</strong>: The return of a portfolio of high book-to-market (value) stocks minus the return of a portfolio of low book-to-market (growth) stocks.</li></ul><p>The model demonstrated that stocks with smaller market capitalization and higher book-to-market ratios have historically outperformed, providing a more nuanced view of risk beyond simple market exposure.</p><h3>2. Fama-French Five-Factor Model</h3><p>Building on their earlier work, Fama and French proposed a Five-Factor Model in 2015 to better capture observed variations in stock returns. This model incorporates two new factors related to profitability and investment.</p><p>The formula is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/0*HOHFWvxaAyz5sQPD" /></figure><p>Where the new factors are:</p><ul><li><em>RMWt</em>​<strong> (Robust Minus Weak)</strong>: The return of a portfolio of stocks with robust (high) profitability minus the return of a portfolio with weak (low) profitability.</li><li><em>CMAt</em>​<strong> (Conservative Minus Aggressive)</strong>: The return of a portfolio of firms with conservative (low) investment policies minus the return of a portfolio with aggressive (high) investment policies.</li></ul><p>This extension provides a more robust framework, acknowledging that companies with higher profitability and lower investment tend to generate superior returns.</p><h3>3. Carhart Four-Factor Model</h3><p>The Carhart Four-Factor Model, developed by Mark Carhart in 1997, extends the Fama-French Three-Factor Model by adding a momentum factor. This was motivated by the observation that stocks that have performed well in the recent past tend to continue performing well.</p><p>The model is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/0*uT1MRQmFBSQX4GpW" /></figure><p>Where:</p><ul><li><em>WMLt</em>​<strong> (Winners Minus Losers)</strong>: Also known as the momentum factor (MOM), it represents the return of a portfolio of past winners minus the return of a portfolio of past losers.</li></ul><p>This model became a standard for mutual fund performance evaluation, as it could explain a significant portion of the returns that were previously attributed to manager skill.</p><h3>4. CAPM Testing</h3><p>The Capital Asset Pricing Model (CAPM) was the first formal theory of asset pricing, and it remains a foundational concept. It states that the expected return of an asset is a function of its systematic risk, or beta (β).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/0*RKP5b-0STsB6sz4Y" /></figure><p>However, empirical tests of the CAPM, such as the famous 1972 study by Black, Jensen, and Scholes, revealed significant inconsistencies. They found that the empirically observed relationship between beta and average return was flatter than the model predicted. Low-beta stocks earned higher returns than the CAPM would suggest, while high-beta stocks earned lower returns. These anomalies paved the way for the development of the multi-factor models discussed above, which were designed to capture the sources of risk that the single-factor CAPM could not explain.</p><h3>5. Arbitrage Pricing Theory (APT)</h3><p>Arbitrage Pricing Theory (APT), developed by Stephen Ross in 1976, offers a more general framework for asset pricing than the CAPM. Unlike the CAPM, which assumes a single source of systematic risk (the market), APT allows for multiple, unspecified risk factors.</p><p>The model is expressed as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/0*5-dWtcLKeXdjKi9p" /></figure><p>Where:</p><ul><li><em>βik</em>​: The sensitivity of asset <em>i</em> to the <em>k</em>-th risk factor.</li><li><em>λk</em>​: The risk premium associated with the <em>k</em>-th risk factor.</li></ul><p>APT is more flexible than the CAPM as it does not specify the identity of the risk factors. These factors could be macroeconomic variables (e.g., inflation, GDP growth) or firm-specific characteristics. The theory’s core tenet is that in a well-functioning market, arbitrage opportunities will be competed away, leading to a linear relationship between expected returns and factor exposures.</p><h3>6. Risk Premium Estimation</h3><p>Estimating the risk premium associated with each factor is a critical step in applying factor models. The risk premium (λ) for a given factor is the expected return earned for bearing exposure to that factor. It is typically estimated as the historical average return of the factor-mimicking portfolio.</p><p>For example, the equity risk premium (<em>E</em>[<em>Rm</em>​]−<em>Rf</em>​) is estimated by taking the long-term average of the historical excess returns of a broad market index. Similarly, the size premium (for the SMB factor) is the historical average return of the SMB portfolio. The precision of these estimates is crucial, as they are key inputs for calculating the cost of capital and for portfolio construction.</p><h3>7. Cross-Sectional Regression Methods</h3><p>Cross-sectional regression is the primary econometric tool used to test asset pricing models and estimate factor risk premia. The process involves running a regression of asset returns against their factor betas at a single point in time or over a specific period.</p><p>For a given period, the regression is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/0*CzEpv6dT_MudJLeM" /></figure><p>Where:</p><ul><li><em>Ri</em>​: The average excess return for asset <em>i</em>.</li><li><em>βik</em>​: The beta of asset <em>i</em> with respect to factor <em>k</em>.</li><li><em>γk</em>​: The estimate of the risk premium for factor <em>k</em>.</li></ul><p>If the model is correctly specified, the intercept (<em>γ</em>0​) should be statistically indistinguishable from zero, and the coefficients (<em>γk</em>​) should be significant and positive, representing the risk premia.</p><h3>8. Fama-MacBeth Regression</h3><p>The Fama-MacBeth (1973) regression is a two-step procedure designed to address the issues of cross-correlated residuals in cross-sectional regressions. It has become the standard methodology for testing asset pricing models.</p><p><strong>Step 1: Time-Series Regression</strong> For each asset <em>i</em>, run a time-series regression of its excess returns on the factor returns to estimate the factor betas (β).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/0*djoYO7dUM77Oyj6x" /></figure><p><strong>Step 2: Cross-Sectional Regression</strong> For each time period <em>t</em>, run a cross-sectional regression of all asset returns against their estimated betas from Step 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/0*e2SFSofwLe1-9fHU" /></figure><p>This yields a time series of risk premium estimates (<em>γkt</em>​). The final estimate for each factor premium is the average of these time-series estimates. The standard errors are then computed from the time-series distribution of the coefficients, which corrects for cross-sectional correlation.</p><h3>Conclusion</h3><p>Factor models have fundamentally reshaped our understanding of asset pricing. From the foundational CAPM to the comprehensive Fama-French Five-Factor Model, the evolution of these models reflects a continuous search for a more accurate description of financial reality. For practitioners, these models provide an indispensable toolkit for portfolio construction, risk management, and performance attribution. As financial markets evolve and new data sources become available, the development of more sophisticated factor models will undoubtedly continue, pushing the frontiers of quantitative finance even further.</p><h3>References</h3><ol><li>Fama, E. F., &amp; French, K. R. (1992). The Cross-Section of Expected Stock Returns. <em>The Journal of Finance</em>.</li><li>Fama, E. F., &amp; French, K. R. (2015). A Five-Factor Asset Pricing Model. <em>Journal of Financial Economics</em>.</li><li>Carhart, M. M. (1997). On Persistence in Mutual Fund Performance. <em>The Journal of Finance</em>.</li><li>Ross, S. A. (1976). The Arbitrage Theory of Capital Asset Pricing. <em>Journal of Economic Theory</em>.</li><li>Fama, E. F., &amp; MacBeth, J. D. (1973). Risk, Return, and Equilibrium: Empirical Tests. <em>Journal of Political Economy</em>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d4727183914" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Market Making Obligations]]></title>
            <link>https://medium.com/@simomenaldo/market-making-obligations-e08e23f4e319?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e08e23f4e319</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[market-making]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 05:01:04 GMT</pubDate>
            <atom:updated>2026-10-06T05:01:04.044Z</atom:updated>
            <content:encoded><![CDATA[<p>Market making is the lifeblood of modern financial markets, and the obligations that govern it are the bedrock of market quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xd2SJsG5WdJ62HHGnW-jkg.png" /></figure><p>In the intricate world of market microstructure, the role of a market maker is paramount. These entities, often sophisticated quantitative trading firms, provide the continuous liquidity that underpins efficient price discovery and smooth market functioning. However, this critical role is not without its formal responsibilities. Exchanges and regulators impose a set of stringent <strong>Market Making Obligations</strong> to ensure that liquidity provision is consistent, reliable, and fair. A failure to comprehend these rules can lead to significant regulatory penalties and a loss of trading privileges, while a thorough grasp can unlock strategic advantages and enhanced profitability.</p><p>This article provides a comprehensive overview of the key market making obligations that practitioners must navigate. We will delve into the core requirements, including continuous quoting, maximum spreads, and minimum depth, and explore the economic incentives designed to reward liquidity providers, such as rebates and dedicated programs. Furthermore, we will examine the consequences of non-compliance and the competitive dynamics that shape the landscape of market making. By the end of this guide, you will have a robust framework for understanding the rules of engagement in modern liquidity provision.</p><h3>1. Continuous Quoting Requirements</h3><p>At the heart of market making obligations lies the principle of continuous liquidity. Continuous quoting requirements mandate that a market maker must maintain a two-sided market — simultaneously posting bid and ask prices — for a specified percentage of the trading day. This ensures that there are always opportunities for other market participants to trade, which in turn fosters market stability and reduces price volatility.</p><p>The specific percentage of time a market maker must quote is determined by the exchange and often varies depending on the security’s trading characteristics and the market maker’s specific agreement. For highly liquid instruments, this requirement can be as high as 95% or more of the trading session. The obligation is typically monitored electronically by the exchange’s surveillance systems, which track the presence of a market maker’s quotes in the order book.</p><p>Mathematically, the continuous quoting requirement can be formalized as follows. Let <em>T</em>session​ be the total duration of a given trading session, and let <em>T</em>quote​ be the cumulative time during which the market maker maintains a valid two-sided quote. The quoting obligation, <em>Q</em>obligation​, is met if:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/180/0*2C2a0iQwkuq5P7mc" /></figure><p>Where <em>α</em> represents the minimum quoting percentage stipulated by the exchange (e.g., 0.95). Failure to meet this threshold can trigger penalties, underscoring the seriousness of this core obligation. From a practical standpoint, algorithmic trading systems must be designed with high availability and robust failover mechanisms to ensure compliance with this demanding requirement, even in the face of technical glitches or volatile market conditions.</p><h3>2. Maximum Spread Requirements</h3><p>While continuous quoting ensures the constant presence of liquidity, the maximum spread requirement governs its cost. Exchanges impose limits on the bid-ask spread that a market maker can quote, preventing them from posting prices so far apart that they are commercially unviable for other participants. This obligation is critical for maintaining a fair and orderly market, as excessively wide spreads can deter trading and impair price discovery.</p><p>Maximum spreads can be defined in several ways:</p><ul><li><strong>Absolute Spread:</strong> A fixed monetary value, such as $0.05. This is common for low-priced securities.</li><li><strong>Relative Spread:</strong> A percentage of the National Best Bid (NBB) or another reference price. This is more common for higher-priced securities where a fixed spread would be too restrictive.</li><li><strong>Reference Spread:</strong> A multiple of the average market spread over a recent period, providing a dynamic cap that adapts to prevailing market conditions.</li></ul><p>Let <em>P</em>ask​ and <em>P</em>bid​ be the market maker’s ask and bid prices, respectively. The spread obligation, <em>S</em>obligation​, must satisfy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/175/0*J4tsruQRDj1-SVRj" /></figure><p>Where <em>S</em>max​ is the maximum permissible spread. For a market maker, this creates a fundamental tension. In times of high volatility or uncertainty, the natural inclination is to widen spreads to compensate for increased risk (adverse selection). However, the maximum spread requirement forces them to keep spreads within a prescribed boundary, compelling them to absorb a higher level of risk. Advanced market makers employ sophisticated pricing algorithms that dynamically adjust spreads based on real-time market data, inventory levels, and volatility forecasts, all while rigorously adhering to the regulatory maximum. Exchanges may grant temporary relief from these obligations during periods of extreme market stress, often referred to as “fast market” conditions.</p><h3>3. Minimum Depth Requirements</h3><p>Beyond the presence and cost of liquidity, exchanges are also concerned with its quantity. The minimum depth requirement, also known as the minimum size obligation, mandates that a market maker’s quotes must be for a certain minimum number of shares or contracts. This ensures that the liquidity provided is substantial enough to accommodate reasonably sized trades without causing significant price impact. A market maker posting a quote for a single share, while technically satisfying the continuous quoting requirement, would offer little practical value to the market.</p><p>The minimum depth is typically specified in round lots (e.g., 100 shares) or as a specific notional value. This requirement can be one of the most challenging for market makers, as it directly exposes them to inventory risk. Holding a large position, either long or short, makes the market maker vulnerable to adverse price movements. Therefore, managing inventory becomes a critical component of the market making strategy, often involving sophisticated models to predict short-term price direction and hedge unwanted exposures.</p><p>Let <em>V</em>bid​ and <em>V</em>ask​ be the volume (number of shares or contracts) available at the market maker’s bid and ask prices, respectively. The minimum depth obligation, <em>D</em>obligation​, requires that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/83/0*dBrnKZti4u_UZTsS" /></figure><p>and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/83/0*bEy53wsJuUT_StNE" /></figure><p>Where <em>V</em>min​ is the minimum required depth. This obligation forces market makers to balance the trade-off between providing meaningful liquidity and managing the risk associated with their inventory. Algorithmic systems must not only post quotes at the correct price but also ensure they represent sufficient size, dynamically replenishing liquidity as trades occur to remain compliant.</p><h3>4. Uptime Requirements</h3><p>Closely related to continuous quoting is the uptime requirement, which focuses on the technological reliability of a market maker’s trading systems. While continuous quoting measures the presence of quotes in the market, uptime requirements measure the availability and connectivity of the market maker’s systems to the exchange. This distinction is subtle but important. A market maker could have their systems online and connected (meeting uptime requirements) but fail to post quotes due to a software bug or a risk management trigger (failing continuous quoting requirements).</p><p>Uptime is typically measured as the percentage of time that a market maker’s systems are active and able to receive and send messages to the exchange’s matching engine. Exchanges set high standards for uptime, often exceeding 99%, to ensure the overall stability and resilience of the market ecosystem.</p><p>Let <em>T</em>active​ be the total time the market maker’s system is connected and operational, and <em>T</em>session​ be the total duration of the trading session. The uptime obligation, <em>U</em>obligation​, is met if:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/0*C4lw4GHTYjKNwkwa" /></figure><p>Where <em>β</em> is the minimum required uptime percentage. To meet these stringent requirements, firms invest heavily in redundant hardware, geographically diverse data centers, and sophisticated monitoring tools. These systems are designed to detect and react to failures instantaneously, often with automated failover procedures that switch to backup systems without human intervention. A brilliant pricing model is of little use if the systems executing it are not dependably connected to the market.</p><h3>5. Market Making Rebates</h3><p>To compensate market makers for the risks they undertake and to incentivize deep, tight liquidity, most modern exchanges have adopted a “maker-taker” fee model. In this model, market participants who “make” liquidity by posting passive orders that rest on the book (such as a market maker’s quotes) are paid a rebate. Conversely, participants who “take” liquidity by executing against resting orders are charged a fee.</p><p>This fee structure creates a direct revenue stream for market makers, separate from the bid-ask spread. For high-frequency market makers, these rebates can constitute a significant portion of their overall profitability. The existence of rebates fundamentally alters the market making calculus. A market maker might be willing to quote a zero or even a negative spread (where the bid is higher than the ask) if the rebate received from the execution is large enough to ensure a profit.</p><p>Let <em>R</em> be the rebate per share paid to the liquidity provider, and <em>F</em> be the fee per share charged to the liquidity taker. The profit for a market maker on a round-trip trade (buying at the bid and selling at the ask) can be expressed as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/0*LkoBVx1GaS1nHFNo" /></figure><p>This equation demonstrates that the rebate effectively widens the profitable spread for the market maker. The maker-taker model has been both praised for its role in fostering liquidity and criticized for creating complex order routing incentives and potential conflicts of interest. For quantitative analysts, understanding the nuances of different exchanges’ fee schedules is crucial for developing optimal execution and market making strategies, as the seemingly small per-share rebates can have a large cumulative impact on performance.</p><h3>6. Designated Liquidity Provider Programs</h3><p>For certain securities, particularly those that are less liquid (e.g., new listings, exchange-traded funds (ETFs), or less popular stocks), exchanges often establish Designated Liquidity Provider (DLP) or Lead Market Maker (LMM) programs. These are formal agreements where a market maker commits to more stringent obligations in exchange for enhanced benefits, such as higher rebates, revenue sharing, or exclusive rights.</p><p>DLP programs are designed to ensure a baseline level of market quality for specific products, making them more attractive to investors. The obligations for a DLP are typically a stricter version of the standard market making requirements, demanding a higher quoting percentage, tighter maximum spreads, and greater minimum depth. For example, a standard market maker might have a 90% quoting obligation, while a DLP in the same security might be required to quote 98% of the time with a spread that is 50% tighter than the standard requirement.</p><p>The benefits for serving as a DLP can be substantial. In addition to financial incentives, DLPs may gain reputational benefits and a deeper relationship with the exchange. The decision to participate in a DLP program requires careful quantitative analysis. The firm must weigh the increased risks and operational costs of the stricter obligations against the potential revenue from the enhanced incentives. This involves modeling the expected trading volume, volatility, and the probability of adverse selection in the specific security. The profit function for a DLP can be represented as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/0*ZQNMV_JF0o-EnK5G" /></figure><p>Where each term represents the expected value over the trading period. A firm will only enter a DLP agreement if ΠDLP​ is sufficiently positive to justify the allocation of capital and resources.</p><h3>7. Sanctioning and Penalties</h3><p>To ensure that market making obligations are not just guidelines but enforceable rules, exchanges and regulators have a range of sanctions and penalties at their disposal. These measures are designed to be a significant deterrent to non-compliance and can escalate in severity for repeated or egregious violations. The enforcement framework is a critical component of market integrity, ensuring a level playing field for all participants.</p><p>Penalties for failing to meet obligations can include:</p><ul><li><strong>Formal Warnings:</strong> For minor or first-time infractions, an exchange may issue a formal warning letter, putting the firm on notice.</li><li><strong>Fines:</strong> Monetary penalties are the most common form of sanction. Fines can range from a few thousand dollars for minor issues to millions for systematic and willful non-compliance. The size of the fine is often linked to the duration and severity of the violation.</li><li><strong>Suspension of Trading Privileges:</strong> For more serious violations, an exchange may suspend a firm’s ability to trade, either in a specific product or across the entire market, for a designated period.</li><li><strong>Revocation of Market Maker Status:</strong> The most severe penalty is the permanent revocation of a firm’s market maker registration, effectively barring it from its primary business activity.</li></ul><p>From a quantitative perspective, the potential for penalties must be incorporated into a firm’s risk management framework. The expected cost of a penalty, <em>C</em>penalty​, can be modeled as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/0*bRGXek8CtpxfmHAY" /></figure><p>Where <em>P</em>(violation) is the probability of a compliance breach and <em>E</em>[Fine | Violation] is the expected fine given that a violation has occurred. A robust compliance infrastructure, including real-time monitoring of quoting activity against obligations and automated alerts, is essential for minimizing <em>P</em>(violation). This underscores the need for a tight integration between a firm’s trading algorithms, risk systems, and compliance technology.</p><h3>8. Liquidity Provider Competition</h3><p>While market making obligations set the minimum standards for liquidity provision, the actual quality of liquidity is often driven higher by intense competition. In most actively traded securities, multiple market makers vie for order flow. This competition is a powerful force that typically leads to spreads that are much tighter than the maximum allowed by the exchange and depth that is far greater than the minimum required.</p><p>Competition among liquidity providers can be modeled as a strategic game. Each market maker, <em>i</em>, chooses a bid price, <em>P</em>bid,<em>i</em>​ and an ask price, <em>P</em>ask,<em>i</em>​ to maximize their own profit, Π<em>i</em>​, subject to the quoting obligations and the actions of their competitors. A simplified representation of this game is the Bertrand competition model, where firms compete on price. In the context of market making, this means competing on the tightness of the spread.</p><p>The equilibrium spread in a market with <em>N</em> competing market makers, <em>SN</em>​, is a function of the number of competitors and their relative efficiencies (e.g., speed, modeling accuracy, and operational costs). Generally, as the number of competitors increases, the equilibrium spread decreases:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/0*42F5rlFpir-4jKRw" /></figure><p>This competitive pressure to provide the best price is a primary driver of market efficiency. For a quantitative trading firm, success in this environment depends on a relentless pursuit of a competitive edge. This can be achieved through superior forecasting of short-term price movements (alpha), faster execution technology (low latency), more sophisticated risk management, and more efficient handling of inventory. The ever-present competition ensures that only the most technologically advanced and quantitatively sophisticated firms can consistently profit from market making in the long run.</p><h3>Conclusion</h3><p>Market making obligations form a complex, multifaceted framework that is fundamental to the functioning of modern financial markets. They represent a regulatory bargain: in exchange for the privileged position of being a market maker, firms must adhere to a stringent set of rules designed to ensure a continuous, fair, and robust market for all participants. For quantitative finance professionals, these obligations are not mere constraints but are central to the strategic landscape. They shape everything from algorithm design and risk management to technology infrastructure and business strategy.</p><p>As we have seen, the key takeaways are:</p><ul><li><strong>A Multi-Dimensional Mandate:</strong> Obligations cover the <em>presence</em> (continuous quoting), <em>price</em> (maximum spread), and <em>size</em> (minimum depth) of liquidity.</li><li><strong>Technology is Paramount:</strong> High-frequency, automated trading necessitates a focus on system uptime and resilience to meet these demanding requirements.</li><li><strong>Incentives and Penalties:</strong> The economic landscape is shaped by a combination of direct incentives (rebates, DLP programs) and significant deterrents (fines, sanctions).</li><li><strong>Competition as a Driver:</strong> While obligations set the floor, it is the intense competition between sophisticated firms that ultimately drives market quality to its peak.</li></ul><p>Looking ahead, the evolution of market making obligations will likely be shaped by ongoing technological advancements and regulatory scrutiny. The rise of machine learning and artificial intelligence in trading may lead to more sophisticated, data-driven obligations. Regulators will continue to grapple with the challenges of overseeing ever-faster and more complex markets, potentially leading to new rules around algorithmic behavior and systemic risk management. The future of market making belongs to those who can master this intricate interplay of rules, risk, and technology.</p><h3>References</h3><ol><li><strong>O’Hara, M. (1995).</strong> <em>Market Microstructure Theory.</em> Blackwell Publishing. <em>A foundational text covering the theoretical underpinnings of market microstructure, including the role and behavior of market makers.</em></li><li><strong>Harris, L. (2003).</strong> <em>Trading and Exchanges: Market Microstructure for Practitioners.</em> Oxford University Press. <em>A comprehensive and practical guide to the mechanics of modern financial markets, with detailed sections on liquidity provision and exchange operations.</em></li><li><strong>Avellaneda, M., &amp; Stoikov, S. (2008).</strong> High-frequency trading in a limit order book. <em>Quantitative Finance, 8</em>(3), 217–224. <em>A seminal paper that provides a mathematical model for optimal market making, balancing inventory risk and adverse selection.</em></li><li><strong>Menkveld, A. J. (2013).</strong> High-frequency trading and the new market makers. <em>Journal of Financial Markets, 16</em>(4), 712–740. <em>This paper examines the transition from traditional to high-frequency market makers and their impact on market quality.</em></li><li><strong>SEC Rule 15c3–5 (The Market Access Rule).</strong> <em>A key piece of U.S. regulation that outlines the risk management obligations for firms with market access, directly impacting market makers’ operational and compliance frameworks.</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e08e23f4e319" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Persistence and Mean Reversion in Financial Time Series]]></title>
            <link>https://medium.com/@simomenaldo/persistence-and-mean-reversion-in-financial-time-series-dde911d9b9bf?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dde911d9b9bf</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 05:01:02 GMT</pubDate>
            <atom:updated>2026-09-29T05:01:02.052Z</atom:updated>
            <content:encoded><![CDATA[<p>The tendency of financial markets to remember the past and revert to the mean is a cornerstone of quantitative trading and risk management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bxPFPUZauHVsE2KkJV8bA.png" /></figure><p>In the quantitative analysis of financial markets, few concepts are as fundamental as persistence and mean reversion. Persistence, or trend-following, refers to the tendency of a time series to continue in its current direction, while mean reversion describes the opposing inclination to return to a long-term average level. These two forces are in a constant tug-of-war, shaping the dynamics of asset prices, volatility, and other financial variables. The degree of persistence in a time series dictates the predictability horizon; highly persistent series are predictable in the short run, whereas mean-reverting series offer opportunities over a longer cycle. The failure to correctly identify the underlying process can lead to flawed models and significant financial losses.</p><p>This article provides a rigorous examination of persistence and mean reversion from a financial econometrics perspective. We will delve into the core statistical tools and models used to measure and exploit these phenomena. The discussion will cover the estimation of half-life and the speed of adjustment, formal statistical tests for mean reversion, the application of variance ratio tests, the formulation of momentum and reversal strategies, and the estimation of the classic Ornstein-Uhlenbeck process. The focus will remain on the theoretical and mathematical underpinnings that are essential for any serious quantitative practitioner.</p><h3>1. Half-Life Estimation</h3><p>Half-life is a concept borrowed from physics that, in a financial context, measures the expected time for a time series to revert halfway back to its long-term mean following a shock. It provides an intuitive and easily interpretable metric for the speed of mean reversion. A shorter half-life implies a faster reversion, suggesting more frequent trading opportunities, while a long half-life indicates a more persistent process where deviations from the mean are slow to decay.</p><p>The estimation of half-life typically begins with a simple first-order autoregressive, AR(1), model for the deviations of a time series, <em>yt</em>​, from its mean, <em>μ</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/191/0*ublsP8L2WWJ2q7TG" /></figure><p>where <em>ϕ</em> is the autoregressive coefficient and <em>εt</em>​ is a white noise error term. For a stationary, mean-reverting process, the coefficient <em>ϕ</em> must be in the range 0≤<em>ϕ</em>&lt;1. The deviation from the mean at time <em>t</em> is expected to be <em>ϕ</em> times the deviation at time <em>t</em>−1. After <em>k</em> periods, the expected deviation from the mean is given by <em>ϕk</em>(<em>y</em>0​−<em>μ</em>), where (<em>y</em>0​−<em>μ</em>) is the initial shock.</p><p>To find the half-life, we need to determine the number of periods, <em>k</em>, it takes for this expected deviation to be reduced by half. This is achieved by solving the following equation for <em>k</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/63/0*OO5C3tbsKJV6aaDS" /></figure><p>By taking the natural logarithm of both sides, we can solve for the half-life, denoted as <em>HL</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/0*vVkENNF9BLsbpIJN" /></figure><p>In practice, it is often more convenient to work with the following regression model, which is a rearranged version of the AR(1) model known as the Dickey-Fuller regression form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/0*TmAuhLjbmzsjXnjX" /></figure><p>where Δ<em>yt</em>​=<em>yt</em>​−<em>yt</em>−1​ and <em>λ</em>=<em>ϕ</em>−1. The coefficient <em>λ</em> directly relates to the autoregressive parameter <em>ϕ</em>. For mean reversion to exist, <em>λ</em> must be negative (which ensures <em>ϕ</em>&lt;1). Substituting <em>ϕ</em>=1+<em>λ</em> into the half-life formula gives:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/122/0*_ooVJoPiuIpMCLbj" /></figure><p>This formula is widely used in quantitative finance, particularly in the context of pairs trading, where <em>yt</em>​ represents the spread between two co-integrated assets. By estimating <em>λ</em> from the historical spread data, a trader can calculate the expected time for a divergent spread to revert halfway back to its equilibrium, providing a quantitative basis for entering and exiting positions.</p><h3>2. Speed of Adjustment</h3><p>The speed of adjustment is a concept that arises naturally in the context of co-integrated time series and is a crucial parameter in Vector Error Correction Models (VECM). While half-life provides a time-based measure of mean reversion, the speed of adjustment, often denoted by the parameter α<em>α</em>, quantifies the proportion of the previous period’s disequilibrium that is corrected in the current period. It provides a direct measure of the force with which a system returns to its long-run equilibrium.</p><p>Consider a simple bivariate system of two co-integrated variables, <em>yt</em>​ and <em>xt</em>​. Their long-run equilibrium relationship can be expressed as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/99/0*17FrJ1mfsjl9tQHD" /></figure><p>where <em>β</em> is the co-integrating vector and <em>ut</em>​ is the stationary equilibrium error term, representing the deviation from the long-run relationship. The VECM representation for the changes in <em>yt</em>​ and <em>xt</em>​ is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/0*yX0No1uFZEo8Egr-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/0*ogmN86o9u3CCmxuc" /></figure><p>The parameters <em>αy</em>​ and <em>αx</em>​ are the speeds of adjustment for <em>yt</em>​ and <em>xt</em>​, respectively. They measure how strongly each variable responds to a deviation from equilibrium in the previous period.</p><ul><li>A negative αy<em>αy</em>​ indicates that if <em>yt</em>−1​ was above its long-run equilibrium value relative to <em>xt</em>−1​ (i.e., <em>ut</em>−1​&gt;0), <em>yt</em>​ will tend to decrease to correct the disequilibrium.</li><li>A positive <em>αx</em>​ would imply that if <em>yt</em>−1​ was above its equilibrium value, <em>xt</em>​ will tend to increase.</li></ul><p>The magnitudes of the adjustment parameters are also informative. A larger absolute value of <em>α</em> implies a faster adjustment and a stronger pull back to the equilibrium relationship. If an adjustment parameter is not statistically different from zero, it suggests that the corresponding variable is “weakly exogenous” and does not respond to the disequilibrium. In a pairs trading context, the trader is primarily concerned with the variable that does the adjusting.</p><h3>3. Mean Reversion Tests</h3><p>Before one can confidently apply mean-reversion strategies, it is essential to statistically test for the presence of this property. The most common framework for this is unit root testing. A time series with a unit root is non-stationary and follows a random walk, meaning that shocks have a permanent effect. Conversely, a stationary time series is mean-reverting, and shocks are transitory. The null hypothesis of a unit root test is that the series has a unit root (i.e., it is not mean-reverting), while the alternative hypothesis is that the series is stationary (mean-reverting).</p><p><strong>Augmented Dickey-Fuller (ADF) Test:</strong> The workhorse of unit root testing is the Augmented Dickey-Fuller (ADF) test. It is an extension of the simpler Dickey-Fuller test and is designed to handle more complex models with serial correlation in the error terms. The test is based on the following regression:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/0*fC610di7MsCSWYC5" /></figure><p>where <em>α</em> is a constant, <em>βt</em> is a time trend, and the lagged difference terms, Δ<em>yt</em>−<em>i</em>​, are included to control for autocorrelation. The key parameter is <em>λ</em>. The null hypothesis is <em>H</em>0​:<em>λ</em>=0 (which corresponds to <em>ϕ</em>=1 in the AR(1) model, indicating a unit root). The alternative hypothesis is <em>Ha</em>​:<em>λ</em>&lt;0 (indicating stationarity and mean reversion).</p><p>The test statistic is the t-statistic for the estimated <em>λ</em> coefficient. However, this statistic does not follow the standard t-distribution. Instead, it follows a specific distribution known as the Dickey-Fuller distribution. Critical values are derived from simulations and depend on the sample size and whether a constant and/or time trend are included in the regression. If the calculated t-statistic is more negative than the critical value, we reject the null hypothesis and conclude that the series is mean-reverting.</p><p><strong>Phillips-Perron (PP) Test:</strong> The Phillips-Perron (PP) test is another popular unit root test. It is similar to the ADF test but uses a non-parametric method to control for serial correlation in the error terms, rather than adding lagged difference terms. The PP test modifies the t-statistic of the <em>λ</em> coefficient to account for the autocorrelation and heteroskedasticity of the errors. While the ADF test addresses serial correlation by adding lags, the PP test makes a correction to the test statistic itself. It is generally considered to be more robust to general forms of heteroskedasticity in the error term.</p><p><strong>Kwiatkowski-Phillips-Schmidt-Shin (KPSS) Test:</strong> The KPSS test differs from the ADF and PP tests in a crucial way: it reverses the null and alternative hypotheses. The null hypothesis for the KPSS test is that the series is stationary around a deterministic trend (i.e., it is mean-reverting). The alternative hypothesis is that the series has a unit root. This test is often used as a confirmatory test alongside the ADF or PP tests. If a series is found to be stationary by the KPSS test (fail to reject the null) and non-stationary by the ADF test (fail to reject the null), it may indicate that the series is “fractionally integrated,” a topic of growing interest in financial econometrics.</p><h3>4. Variance Ratio Tests</h3><p>The variance ratio (VR) test, proposed by Cochrane (1988) and Lo and MacKinlay (1988), provides a different perspective on the random walk hypothesis. Instead of testing for a unit root in the time series itself, the VR test examines the predictability of returns by comparing the variance of k-period returns to the variance of one-period returns.</p><p>The intuition is straightforward. If a time series follows a random walk, its increments are uncorrelated, and the variance of its k-period returns should be k times the variance of its one-period returns. Let <em>rt</em>​ be the one-period return. The variance ratio is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/158/0*GjJKGhshvg4tBhtV" /></figure><p>where <em>rt</em>​(<em>k</em>)=<em>rt</em>​+<em>rt</em>−1​+…+<em>rt</em>−<em>k</em>+1​ is the k-period return.</p><ul><li><strong>If VR(k) = 1</strong>, the series is consistent with a random walk.</li><li><strong>If VR(k) &lt; 1</strong>, the series is mean-reverting. This is because negative autocorrelation in returns causes the variance of long-horizon returns to grow slower than linearly.</li><li><strong>If VR(k) &gt; 1</strong>, the series is persistent or trend-following. Positive autocorrelation in returns causes the variance of long-horizon returns to grow faster than linearly.</li></ul><p>The test statistic is typically constructed as a standardized version of the variance ratio, which under the null hypothesis of a random walk, is asymptotically standard normal. Lo and MacKinlay (1988) provide robust test statistics that account for heteroskedasticity in financial returns.</p><p>The VR test is particularly powerful because it does not require the specification of a particular parametric model like the AR(1) model. It is a non-parametric test that can detect a wide range of departures from the random walk hypothesis. By calculating the variance ratio for various horizons (k), one can gain insight into the temporal structure of predictability in asset returns, identifying whether mean reversion or momentum dominates at different frequencies.</p><h3>5. Momentum and Reversal Strategies</h3><p>The concepts of persistence and mean reversion form the theoretical bedrock for two of the most well-documented trading strategies in quantitative finance: momentum and reversal. These strategies seek to profit from the serial correlation patterns in asset returns.</p><p><strong>Momentum Strategies:</strong> Momentum, or trend-following, is a strategy based on the observation that assets that have performed well in the recent past tend to continue to perform well in the short to medium term (typically 3 to 12 months), and assets that have performed poorly tend to continue to perform poorly. This is a manifestation of positive serial correlation or persistence in returns. A classic momentum strategy, as described by Jegadeesh and Titman (1993), involves the following steps:</p><ol><li><strong>Formation Period:</strong> Rank assets based on their cumulative returns over a formation period of <em>J</em> months (e.g., <em>J</em>=6).</li><li><strong>Portfolio Construction:</strong> Buy a portfolio of the top decile or quintile of assets (the “winners”) and sell short a portfolio of the bottom decile or quintile (the “losers”).</li><li><strong>Holding Period:</strong> Hold this long-short portfolio for a holding period of <em>K</em> months (e.g., <em>K</em>=6).</li></ol><p>The profitability of momentum strategies is a well-established empirical fact across various asset classes and geographic markets. The theoretical explanations for momentum are varied and often debated, ranging from behavioral biases such as investor underreaction to news and herding behavior, to risk-based explanations where momentum profits are compensation for bearing systematic risk.</p><p><strong>Reversal Strategies:</strong> Reversal strategies, in contrast, are based on the principle of mean reversion. They are predicated on the finding that assets with poor past performance tend to outperform assets with strong past performance over longer horizons (typically 3 to 5 years), a phenomenon documented by DeBondt and Thaler (1985). This suggests negative serial correlation in long-horizon returns. A typical long-term reversal strategy would be the mirror image of a momentum strategy:</p><ol><li><strong>Formation Period:</strong> Rank assets based on their cumulative returns over a long formation period (e.g., 36 months).</li><li><strong>Portfolio Construction:</strong> Buy the portfolio of past “losers” and sell short the portfolio of past “winners.”</li><li><strong>Holding Period:</strong> Hold this portfolio for a subsequent period (e.g., 36 months).</li></ol><p>Short-term reversals over days or weeks are also a documented phenomenon, often attributed to market microstructure effects such as bid-ask bounce or temporary liquidity-driven price pressure. The theoretical underpinnings for long-term reversals are often linked to behavioral theories of investor overreaction to news, where initial overconfidence leads to extreme price movements that are eventually corrected as fundamentals reassert themselves. The interplay between momentum and reversal across different time horizons highlights the complex temporal dynamics of asset returns and the importance of a nuanced, frequency-dependent approach to quantitative strategy development.</p><h3>6. Ornstein-Uhlenbeck Process Estimation</h3><p>The Ornstein-Uhlenbeck (OU) process is a continuous-time stochastic process that is often described as the continuous-time analogue of the discrete-time AR(1) process. It is a cornerstone model for mean reversion in quantitative finance, used to model interest rates, volatility, and spreads in pairs trading. The process is characterized by a stochastic differential equation (SDE):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/0*xDW2s2kBC4YKDZR1" /></figure><p>where:</p><ul><li><em>μ</em> is the long-term mean or equilibrium level.</li><li><em>θ</em>&gt;0 is the speed of reversion to the mean. A higher <em>θ</em> implies faster reversion.</li><li><em>σ</em>&gt;0 is the volatility or magnitude of the random shocks.</li><li><em>Wt</em>​ is a standard Wiener process or Brownian motion.</li></ul><p>The term <em>θ</em>(<em>μ</em>−<em>Xt</em>​)<em>dt</em> is the drift term, which pulls the process <em>Xt</em>​ towards its mean <em>μ</em>. The strength of this pull is proportional to the deviation of the process from the mean, modulated by the parameter <em>θ</em>. The term <em>σdWt</em>​ is the diffusion term, which adds a random element to the process.</p><p><strong>Estimation of Parameters:</strong> Given a discrete time series of observations <em>X</em>1​,<em>X</em>2​,…,<em>Xn</em>​ sampled at uniform time intervals Δ<em>t</em>, we can estimate the parameters <em>θ</em>, <em>μ</em>, and <em>σ</em> of the OU process. The exact discrete-time solution to the OU process SDE is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/0*gGymxov_tYeU3zY6" /></figure><p>where <em>Zt</em>​ is a standard normal random variable. This can be written as a simple AR(1) regression:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/161/0*fbXc7mBY4lVxXLl9" /></figure><p>where:</p><ul><li><em>b</em>=<em>e</em>−<em>θ</em>Δ<em>t</em></li><li><em>a</em>=<em>μ</em>(1−<em>e</em>−<em>θ</em>Δ<em>t</em>)</li><li><em>εt</em>​ is a normally distributed error term with mean 0 and variance <em>Var</em>(<em>εt</em>​)=<em>σ</em>22<em>θ</em>1−<em>e</em>−2<em>θ</em>Δ<em>t</em>​.</li></ul><p>By running an Ordinary Least Squares (OLS) regression of <em>Xt</em>​ on <em>Xt</em>−Δ<em>t</em>​, we can obtain estimates for the regression coefficients, <em>a</em>^ and <em>b</em>^. From these, we can derive the parameters of the OU process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/83/0*Cufpha_mTqtkRmXJ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/74/0*AAArxdBpc3_RAXO7" /></figure><p>The volatility parameter <em>σ</em> can be estimated from the variance of the residuals of the OLS regression, <em>σ</em>^<em>ε</em>2​:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/117/0*9Fv7wh589Bbi8Puk" /></figure><p>This OLS-based approach provides a straightforward and computationally efficient method for calibrating the OU process to market data, making it a valuable tool for any quantitative analyst working with mean-reverting financial series.</p><h3>Conclusion</h3><p>The dichotomy between persistence and mean reversion is a central theme in the analysis of financial time series. This article has traversed the econometric landscape of this theme, from the intuitive concept of half-life to the continuous-time formulation of the Ornstein-Uhlenbeck process. We have seen that the identification and measurement of these properties are not merely academic exercises but form the quantitative foundation for a host of real-world applications, from statistical arbitrage and pairs trading to long-term asset allocation.</p><p>The key takeaway is that no single model or assumption holds universally. Financial markets exhibit a rich tapestry of behaviors, with persistence and momentum dominating in some contexts and mean reversion prevailing in others. The rigorous application of statistical tests — such as unit root tests and variance ratio tests — is indispensable for discerning the underlying process and avoiding costly model misspecification. Furthermore, the choice of time horizon is critical; a series may exhibit momentum in the short term while being strongly mean-reverting over the long term.</p><p>Future research in this area is likely to focus on more complex, non-linear, and regime-dependent models of persistence and mean reversion. The integration of machine learning techniques to identify subtle patterns and the development of more robust estimators for continuous-time models in the presence of market microstructure noise are active areas of exploration. As markets evolve, so too will the tools required to understand them, but the fundamental concepts of persistence and mean reversion will undoubtedly remain at the heart of quantitative finance.</p><h3>References</h3><ol><li><strong>Cochrane, J. H. (1988).</strong> How big is the random walk in GNP? <em>Journal of Political Economy, 96</em>(5), 893–920.</li><li><strong>DeBondt, W. F., &amp; Thaler, R. (1985).</strong> Does the stock market overreact? <em>The Journal of Finance, 40</em>(3), 793–805.</li><li><strong>Jegadeesh, N., &amp; Titman, S. (1993).</strong> Returns to buying winners and selling losers: Implications for stock market efficiency. <em>The Journal of Finance, 48</em>(1), 65–91.</li><li><strong>Lo, A. W., &amp; MacKinlay, A. C. (1988).</strong> Stock market prices do not follow random walks: Evidence from a simple specification test. <em>The Review of Financial Studies, 1</em>(1), 41–66.</li><li><strong>Engle, R. F., &amp; Granger, C. W. J. (1987).</strong> Co-integration and error correction: representation, estimation, and testing. <em>Econometrica, 55</em>(2), 251–276.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dde911d9b9bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tick Size and Market Design]]></title>
            <link>https://medium.com/@simomenaldo/tick-size-and-market-design-dff2cc5119a7?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dff2cc5119a7</guid>
            <category><![CDATA[financial-markets]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 05:01:02 GMT</pubDate>
            <atom:updated>2026-09-22T05:01:02.245Z</atom:updated>
            <content:encoded><![CDATA[<p>The minimum price variation, or tick size, is a fundamental parameter of market design that profoundly influences trading behavior, liquidity, and overall market quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-igEFPHlNM_QDKo25YOkHQ.png" /></figure><p>In the intricate world of market microstructure, the tick size is a critical yet often overlooked parameter. This article delves into the multifaceted role of tick size, exploring its theoretical underpinnings, practical implications, and the ongoing debate surrounding its optimal level. We will examine how this single parameter shapes everything from quoting strategies and order placement to market stability and the profitability of trading algorithms.</p><h3>1. Tick Size Constraints</h3><p>The tick size acts as a discrete grid for prices, constraining limit orders to specific increments. This constraint is a primary driver of the bid-ask spread. In a market with a binding tick size, the spread cannot be smaller than one tick. The tick size, denoted by <em>τ</em>, forces the quoted spread, <em>Sq</em>​=<em>Pa</em>​−<em>Pb</em>​, to be a multiple of <em>τ</em>, where <em>Pa</em>​ is the ask price and <em>Pb</em>​ is the bid price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/50/0*TJmkSBKcxOW7MSCg" /></figure><p>The tick size constraint can prevent the market from reaching its “natural” spread — the spread that would prevail in the absence of such a constraint, driven purely by adverse selection, inventory costs, and order processing costs. When the natural spread is smaller than the tick size, the tick is said to be “binding.” This creates a rent for liquidity providers, as they can capture a spread larger than their costs would otherwise dictate.</p><h3>2. Sub-Penny Trading</h3><p>In the U.S., SEC Rule 612, also known as the “Sub-Penny Rule,” prohibits market participants from displaying, ranking, or accepting orders in pricing increments of less than $0.01 for stocks priced at or above $1.00 per share. The rule was designed to prevent “step-ahead” behavior, where traders could gain queue priority by trivially improving a price by an economically insignificant amount (e.g., $0.001).</p><p>However, the rule does not prohibit sub-penny <em>execution</em>. Dark pools and internalizing brokers can execute trades at sub-penny prices, often by providing price improvement relative to the National Best Bid and Offer (NBBO). For example, if the NBBO is $10.00 — $10.01, an internalizer might execute a retail market order to buy at $10.005, offering a half-penny price improvement. This practice has led to a significant portion of off-exchange volume being executed at sub-penny prices, raising questions about transparency and fairness.</p><h3>3. Tick-to-Price Ratio</h3><p>The economic significance of a tick is not absolute but relative to the instrument’s price. This is captured by the tick-to-price ratio:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/178/0*yXJ2E2qHTuc_8cUh" /></figure><p>where <em>P</em> is the stock price. For a low-priced stock, a $0.01 tick represents a much larger percentage of the price than for a high-priced stock. A stock trading at $2.00 has a relative tick size of 0.5%, while a stock at $200.00 has a relative tick size of just 0.005%. This disparity has profound consequences. Low-priced stocks tend to have wider spreads in percentage terms and are more likely to be constrained by the tick size. High-priced stocks, conversely, may have a tick size that is economically insignificant, leading to different market dynamics, such as intense quote competition and smaller depth at the NBBO.</p><h3>4. Minimum Price Variation</h3><p>The term “minimum price variation” (MPV) is synonymous with tick size. The choice of MPV is a critical decision for an exchange or trading venue. A larger tick size tends to increase the bid-ask spread, which benefits market makers by increasing their potential revenue per trade. This can incentivize liquidity provision, leading to greater depth at the best bid and offer. It also simplifies the market by reducing the number of available price points, which can decrease message traffic and infrastructure costs.</p><p>Conversely, a smaller tick size allows for more aggressive pricing and can lead to a reduction in the quoted spread, benefiting liquidity takers. However, it can also disincentivize market making by eroding profits, potentially leading to lower market depth and increased quote flickering as high-frequency traders compete for queue position with minimal price improvements.</p><h3>5. Queuing at the Tick</h3><p>When the tick size is binding, multiple limit orders accumulate at the same price level, forming a queue. Priority in this queue is typically granted on a time-priority basis. This creates a strategic dilemma for traders: join the back of the queue with a passive limit order and wait for execution, or pay the spread for immediate execution with a market order. The length of the queue, or market depth, is a critical variable in many quantitative trading models.</p><p>The decision to queue can be modeled as a real option. A trader placing a limit order is essentially writing a free option to the market to trade at that price. The value of this option depends on the stock’s volatility and the expected waiting time for execution. The waiting time, <em>W</em>, can be modeled as a function of the order’s position in the queue, <em>q</em>, and the arrival rate of market orders, <em>λM</em>​.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/92/0*UK3KovoQh9LaOkjO" /></figure><p>This relationship underscores the trade-off between price improvement and execution certainty that is central to market microstructure.</p><h3>6. Tick Size Pilot Program</h3><p>In 2016, the U.S. Securities and Exchange Commission (SEC) initiated the Tick Size Pilot Program, a major experiment to assess the impact of a wider tick size on small-capitalization stocks. The program mandated a $0.05 tick size for a selected group of securities, a five-fold increase from the standard $0.01. The hypothesis was that a wider tick would increase the profitability of market making for these less liquid stocks, thereby encouraging brokers to provide more liquidity and research coverage.</p><p>The results of the pilot were mixed and subject to intense debate. While quoted spreads naturally widened, the program’s effect on market depth, trading volume, and overall market quality was not conclusive. Some studies indicated a modest increase in depth, while others found that the wider tick simply increased trading costs for investors without delivering significant benefits in terms of capital formation or market stability.</p><h3>7. Optimal Tick Size</h3><p>The search for an “optimal” tick size is a central challenge in market design. An ideal tick size should balance the competing interests of liquidity providers and takers. A tick that is too large creates excessive rents for market makers and high transaction costs for investors. A tick that is too small can erode market maker profits, leading to reduced depth, increased quote flickering, and a rise in “dust” — limit orders so small they are economically insignificant.</p><p>Theoretical models suggest the optimal tick size, <em>τ</em>∗, is a function of several variables, including the stock’s price (<em>P</em>), volatility (<em>σ</em>), and adverse selection costs. A simplified model might look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/0*bRAE6s2r8d8fLB5k" /></figure><p>Finding a closed-form solution is elusive, and empirical approaches, like the Tick Size Pilot, are often necessary to calibrate the tick size to specific market conditions.</p><h3>8. Maker-Taker vs. Taker-Maker Fee Models</h3><p>The effect of the tick size is intertwined with the exchange’s fee structure. Most exchanges use a maker-taker model, where liquidity providers (makers) receive a rebate for posting non-marketable limit orders, while liquidity consumers (takers) pay a fee for executing against those orders. The net revenue for a market maker on a one-tick spread is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/0*Xsn3r_3MwDwPuDTR" /></figure><p>Alternatively, a taker-maker model reverses this, with takers receiving a rebate and makers paying a fee. This structure can encourage more aggressive order placement. The choice of fee model, in conjunction with the tick size, determines the economic incentives for market participants and can significantly influence order flow and liquidity dynamics.</p><h3>Conclusion</h3><p>The tick size is a powerful lever in market design, with far-reaching consequences for every market participant. It shapes quoting strategies, influences the bid-ask spread, determines queue lengths, and ultimately impacts market quality and efficiency. The ongoing debate over the optimal tick size, highlighted by experiments like the Tick Size Pilot Program, reveals that there is no one-size-fits-all answer. The ideal minimum price variation depends on a complex interplay of stock characteristics, fee structures, and the underlying goals of the market. As markets continue to evolve, the study of the tick size will remain a critical area of research, with significant opportunities for those who can master its complexities.</p><h3>References</h3><ol><li><strong>O’Hara, M. (1995). <em>Market Microstructure Theory</em>.</strong> Blackwell Publishing. (A foundational text on market microstructure.)</li><li><strong>Harris, L. (2003). <em>Trading and Exchanges: Market Microstructure for Practitioners</em>.</strong> Oxford University Press. (A comprehensive guide to the practical aspects of market structure.)</li><li><strong>SEC Office of Analytics and Research. (2018). <em>Report on the Tick Size Pilot Program</em>.</strong> (The official SEC staff report and analysis of the pilot’s findings.)</li><li><strong>Foucault, T., Kadan, O., &amp; Kandel, E. (2005). Limit Order Book as a Market for Liquidity. <em>The Review of Financial Studies</em>.</strong> (A key theoretical paper on the dynamics of the limit order book.)</li><li><strong>Goldstein, M. A., et al. (2017). The Tick Size Pilot: A Post-Mortem. <em>Journal of Financial Markets</em>.</strong> (An academic analysis of the Tick Size Pilot Program’s impact.)</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dff2cc5119a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Causal Inference in Time Series: From Granger to Advanced Methods]]></title>
            <link>https://medium.com/@simomenaldo/causal-inference-in-time-series-from-granger-to-advanced-methods-1074147f8894?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1074147f8894</guid>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 15 Sep 2026 05:01:01 GMT</pubDate>
            <atom:updated>2026-09-15T05:01:01.816Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of quantitative finance, understanding the underlying drivers of market movements is the holy grail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nWv0LFllnp0ZjTi5ZkZiOA.png" /></figure><p>While correlation tells us how two assets move together, it reveals nothing about the direction of influence. Does volatility in the equity market cause stress in the bond market, or is it the other way around? Answering such questions requires moving beyond correlation to the realm of <strong>causality</strong>. Causal inference in time series provides a powerful toolkit for uncovering the directional relationships that govern financial markets. This article will guide you through the foundational concepts and advanced techniques for establishing causality in financial time series, starting with the pioneering work of Clive Granger and venturing into modern methods like Transfer Entropy and Convergent Cross Mapping.</p><h3>1. Granger Causality</h3><p>Granger causality is a statistical hypothesis test for determining whether one time series is useful in forecasting another. The principle, developed by Nobel laureate Clive Granger, is simple yet profound: If a time series <em>X</em> Granger-causes a time series <em>Y</em>, then past values of <em>X</em> should contain information that helps predict <em>Y</em> above and beyond the information contained in past values of <em>Y</em> alone.</p><p><strong>Mathematical Formulation</strong></p><p>The test is typically implemented using a vector autoregression (VAR) model. Consider two stationary time series, <em>Xt</em>​ and <em>Yt</em>​. To test if <em>X</em> Granger-causes <em>Y</em>, we first estimate the following autoregressive model for <em>Y</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/0*WDrNKnShY2jusOsF" /></figure><p>This is the restricted model, where we predict <em>Yt</em>​ using only its own past values. Next, we estimate the unrestricted model, which includes past values of <em>X</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*QUvRYEndzQKhhF7a" /></figure><p>The null hypothesis is that <em>X</em> does not Granger-cause <em>Y</em>, which translates to <em>H</em>0​:<em>β</em>1​=<em>β</em>2​=⋯=<em>βq</em>​=0. We can test this hypothesis using an F-test. If the F-statistic is sufficiently large (and the p-value is small), we reject the null hypothesis and conclude that <em>X</em> Granger-causes <em>Y</em>.</p><p><strong>Practical Example</strong></p><p>Imagine we want to test if the daily returns of the S&amp;P 500 (SPY) Granger-cause the daily returns of a large-cap tech stock, say Apple (AAPL). We would collect the historical time series for both, ensure they are stationary, and then run the Granger causality test. If the test reveals a significant causal link, it suggests that past movements in the broader market can help forecast the movements of AAPL. This could be invaluable for a pairs trading strategy or for hedging a portfolio.</p><h3>2. Toda-Yamamoto Approach</h3><p>A significant limitation of the standard Granger causality test is its requirement that the time series be stationary. Financial time series are often non-stationary or integrated, meaning they have a unit root. The Toda-Yamamoto (TY) approach provides a clever workaround for this issue.</p><p><strong>Methodology</strong></p><p>The TY method involves a modified Wald test for restrictions on the parameters of a VAR model. The key insight is to estimate a VAR model in the <em>levels</em> of the variables (not their differences), even if they are non-stationary, but to add extra lags to the model.</p><p>The procedure is as follows:</p><ol><li><strong>Determine the maximum order of integration (<em>dmax</em>):</strong> Use unit root tests (like the Augmented Dickey-Fuller test) to find the highest order of integration for the time series in the system.</li><li><strong>Select the optimal lag length (p):</strong> Use information criteria (like AIC or BIC) to determine the appropriate lag length for the VAR model as if the series were stationary.</li><li><strong>Estimate the augmented VAR:</strong> Estimate a VAR(<em>p</em>+<em>dmax</em>​) model:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/0*HMa8lFxXDDY6Xkl4" /></figure><p>Where <em>Yt</em>​ is the vector of time series variables.</p><ol><li><strong>Test for causality:</strong> Perform a Wald test on the first <em>p</em> lags only. The null hypothesis of no Granger causality from variable <em>X</em> to <em>Y</em> is rejected if the coefficients of the first <em>p</em> lagged values of <em>X</em> are jointly significant. The key is that the test statistic follows a standard chi-squared distribution, regardless of whether the series are stationary or cointegrated.</li></ol><p><strong>Advantages</strong></p><p>The main advantage of the TY approach is that it avoids the pre-testing biases that can arise from unit root and cointegration tests. It provides a robust method for testing causality without getting bogged down in the complexities of integration orders.</p><p><strong>Practical Example</strong></p><p>Suppose we want to examine the causal relationship between the price of crude oil (WTI) and the stock price of a major airline. Both series are likely to be non-stationary (I(1)). Using the TY approach, we would first determine the optimal lag length <em>p</em> for a VAR model of the two series. Since the maximum order of integration <em>dmax</em>​ is 1, we would estimate a VAR(<em>p</em>+1) model. We would then test the joint significance of the first <em>p</em> lags of the oil price series in the equation for the airline stock price. A significant result would imply that oil prices have a causal impact on the airline’s stock, even in the presence of non-stationarity.</p><h3>3. Transfer Entropy</h3><p>While Granger causality is powerful, it is fundamentally a linear concept. Financial markets, however, are notoriously non-linear. Transfer Entropy (TE) is a non-parametric measure from information theory that can capture non-linear causal relationships. It quantifies the amount of information transferred from one time series to another.</p><p><strong>Theoretical Concepts</strong></p><p>Transfer Entropy from a time series <em>X</em> to a time series <em>Y</em> is the reduction in uncertainty in predicting the future value of <em>Y</em> given its own past, once we also know the past of <em>X</em>. It is the Kullback-Leibler divergence between the conditional probability distribution of <em>Y</em>’s future given its past, and the conditional probability distribution of <em>Y</em>’s future given the past of both <em>X</em> and <em>Y</em>.</p><p><strong>Mathematical Formulation</strong></p><p>For two discrete time series <em>X</em> and <em>Y</em>, the Transfer Entropy is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/0*2J3RhRuCmufdcX3u" /></figure><p>Where <em>yt</em>(<em>k</em>)​ and <em>xt</em>(<em>l</em>)​ are the past <em>k</em> and <em>l</em> values of <em>Y</em> and <em>X</em> respectively. A positive and statistically significant value of <em>TX</em>→<em>Y</em>​ indicates a flow of information from <em>X</em> to <em>Y</em>, which can be interpreted as a causal link.</p><p><strong>Advantages and Disadvantages</strong></p><ul><li><strong>Advantages:</strong> It is model-free, can detect non-linear relationships, and provides a directional measure of information flow.</li><li><strong>Disadvantages:</strong> It can be computationally intensive and requires large amounts of data to accurately estimate the probability distributions. It is also sensitive to the choice of the history lengths <em>k</em> and <em>l</em>.</li></ul><p><strong>Practical Example</strong></p><p>Consider the relationship between high-frequency trading (HFT) activity and market volatility. A linear model might fail to capture the complex, non-linear dynamics. By calculating the Transfer Entropy between a measure of HFT activity and a measure of market volatility (e.g., the VIX), we could uncover information flows that are invisible to Granger causality. For instance, we might find that bursts of HFT activity informationally lead to spikes in volatility, a non-linear causal relationship that could inform regulatory policies or short-term trading strategies.</p><h3>4. Convergent Cross Mapping</h3><p>Convergent Cross Mapping (CCM) is a powerful method for detecting causality in complex, non-linear dynamical systems. Developed by Sugihara et al., CCM is based on the idea that if two variables are causally linked, they share information, and this shared information can be used to reconstruct the dynamics of one variable from the other.</p><p><strong>Core Concepts</strong></p><p>The foundation of CCM is Takens’ Theorem, which states that the state space of a dynamical system can be reconstructed from a time series of a single variable from that system. In simpler terms, the history of a single variable contains information about the entire system it belongs to.</p><p>If variable X<em>X</em> causally influences variable Y<em>Y</em>, then information about X<em>X</em> is encoded in the time series of Y<em>Y</em>. CCM tests for this by checking if we can accurately estimate the historical values of X<em>X</em> by using the reconstructed state space of Y<em>Y</em>. This process is called “cross mapping.”</p><p><strong>Methodology</strong></p><p>The core of the CCM test is to see if the accuracy of the cross mapping improves as we use more data. The procedure is as follows:</p><ol><li><strong>State Space Reconstruction:</strong> Create a “shadow manifold” (a geometric representation of the system’s dynamics) for <em>Y</em> using lagged versions of its time series: <em>MY</em>​={(<em>Yt</em>​,<em>Yt</em>−<em>τ</em>​,…,<em>Yt</em>−(<em>E</em>−1)<em>τ</em>​)}, where <em>E</em> is the embedding dimension and <em>τ</em> is the time delay.</li><li><strong>Cross Mapping:</strong> For each point in the reconstructed manifold <em>MY</em>​, we find its nearest neighbors. We then use the time indices of these neighbors to locate the corresponding values in the <em>X</em> time series. A weighted average of these <em>X</em> values gives us an estimate of <em>X</em>, denoted as <em>X</em>^.</li><li><strong>Convergence:</strong> We calculate the correlation coefficient (<em>ρ</em>) between the estimated <em>X</em>^ and the actual <em>X</em>. We repeat this process for increasing lengths of the time series. If <em>Y</em> contains information about <em>X</em>, the correlation <em>ρ</em> will increase as the library of points grows, i.e., it will “converge.”</li></ol><p>If we can estimate <em>X</em> from <em>Y</em>’s reconstructed manifold, we say that “<em>Y</em> cross maps <em>X</em>” and conclude that <em>X</em> has a causal effect on <em>Y</em>.</p><p><strong>Practical Example</strong></p><p>Consider the predator-prey relationship between two stocks in a portfolio: a “predator” stock whose success depends on the failure of a “prey” stock (e.g., a new technology company vs. an incumbent). Their prices may be correlated, but what is the direction of influence? We can use CCM to find out. If we can skillfully predict the predator’s stock price from the prey’s price history, and this prediction improves with more data, it suggests a causal link from the predator to the prey. This could be crucial for understanding the ecosystem of a portfolio.</p><h3>5. Directed Acyclic Graphs (DAGs)</h3><p>Directed Acyclic Graphs (DAGs) are visual representations of causal relationships between variables. In a DAG, variables are represented as nodes, and a directed edge from node <em>A</em> to node <em>B</em> implies that <em>A</em> has a causal effect on <em>B</em>. The “acyclic” property means that there are no feedback loops; you cannot start at a node and follow a sequence of directed edges to end up back at the same node.</p><p><strong>Application to Time Series</strong></p><p>While traditional DAGs are for static variables, they can be adapted for time series by “unrolling” the time dimension. For example, the value of a variable <em>X</em> at time <em>t</em>−1 can be represented as a node <em>Xt</em>−1​, and its value at time <em>t</em> as <em>Xt</em>​. A causal relationship from the past to the present would be an edge from <em>Xt</em>−1​ to <em>Xt</em>​.</p><p>This framework allows us to represent complex causal structures, including:</p><ul><li><strong>Autocorrelation:</strong> An edge from <em>Xt</em>−1​ to <em>Xt</em>​.</li><li><strong>Granger-causality:</strong> An edge from <em>Xt</em>−1​ to <em>Yt</em>​.</li><li><strong>Confounding:</strong> A common cause <em>Zt</em>​ that affects both <em>Xt</em>​ and <em>Yt</em>​, represented by edges <em>Zt</em>​→<em>Xt</em>​ and <em>Zt</em>​→<em>Yt</em>​.</li></ul><p><strong>Causal Discovery Algorithms</strong></p><p>The real power of DAGs comes from causal discovery algorithms, such as the PC algorithm or FCI, which attempt to learn the causal graph from observational data. These algorithms use a series of conditional independence tests to determine which edges should be present in the graph. For example, to test if there is an edge between <em>X</em> and <em>Y</em>, the algorithm might test if <em>X</em> and <em>Y</em> are independent conditional on some other set of variables <em>Z</em>.</p><p><strong>Practical Example</strong></p><p>Imagine a financial system with three variables: interest rates (I), stock market returns (S), and inflation (P). We can use a causal discovery algorithm to learn the relationships between their time-lagged values. The algorithm might produce a DAG showing that past changes in interest rates cause changes in stock returns, and that inflation is a common driver of both. This provides a clear, interpretable map of the causal forces at play, which can be far more insightful than a series of pairwise causality tests.</p><h3>6. Causal Inference in Time Series</h3><p>The journey from simple correlation to causal inference in time series is a challenging but rewarding one. Each method we’ve discussed offers a different lens through which to view the intricate web of relationships in financial markets. The choice of method depends on the specific characteristics of the data and the research question at hand:</p><ul><li>For <strong>linear, stationary systems</strong>, Granger causality is a robust and straightforward starting point.</li><li>When dealing with <strong>non-stationary data</strong>, the Toda-Yamamoto approach is a reliable extension.</li><li>To capture <strong>non-linear dynamics</strong>, Transfer Entropy provides a model-free measure of information flow.</li><li>For <strong>complex, deterministic systems</strong> where you suspect spurious correlations, Convergent Cross Mapping can be a powerful tool.</li><li>To visualize and reason about <strong>complex systems with multiple variables</strong>, Directed Acyclic Graphs offer a comprehensive framework.</li></ul><p>It is often best to use a combination of these methods to build a more complete picture. A significant result from a Granger causality test could be corroborated with a non-linear method like Transfer Entropy to ensure the relationship is not just a linear artifact. Similarly, a DAG can provide a high-level map that guides more detailed pairwise testing.</p><h3>Conclusion</h3><p>Moving beyond correlation to causality is a critical step in advancing our understanding of financial markets. The methods discussed in this article — from the foundational Granger causality to the more advanced techniques of Transfer Entropy, CCM, and DAGs — provide a powerful arsenal for quantitative analysts and financial professionals. By identifying the true drivers of market behavior, we can build more robust trading models, design more effective risk management strategies, and gain a deeper, more actionable insight into the complex dynamics of the financial world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1074147f8894" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Auction Mechanisms in Financial Markets]]></title>
            <link>https://medium.com/@simomenaldo/understanding-auction-mechanisms-in-financial-markets-2caaceac3bf4?source=rss-89353422ba6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2caaceac3bf4</guid>
            <category><![CDATA[financial-markets]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[Simone Menaldo]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 05:01:02 GMT</pubDate>
            <atom:updated>2026-09-08T05:01:02.745Z</atom:updated>
            <content:encoded><![CDATA[<p>At the heart of price discovery and liquidity formation lie the market’s most critical events: auctions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*mqphk_CyHSpWtkbuDuyh9Q.png" /></figure><p>Auction mechanisms are the bedrock of modern financial markets, providing a structured process for price discovery and liquidity concentration. This article provides a comprehensive overview of the principal auction types, their theoretical underpinnings, and their practical implications in today’s electronic markets.</p><h3>1. Opening Auctions</h3><p>The opening auction is a critical daily event designed to aggregate orders accumulated overnight and establish a single, robust opening price for a security. This process concentrates liquidity, mitigates the volatility that might arise from an immediate switch to continuous trading, and sets a key reference point for the trading day. For market participants, the opening auction offers a valuable opportunity to execute large orders with minimal price impact.</p><p>The mechanism unfolds in a pre-opening period during which traders can submit, modify, and cancel buy and sell orders. No trading occurs in this phase. The exchange disseminates indicative information, such as the potential opening price and expected volume, which allows participants to adjust their strategies. The core of the auction is the algorithm that determines the clearing price. The primary objective is to maximize the number of shares transacted. Let B(p) be the cumulative demand (buy orders) at prices greater than or equal to p, and S(p) be the cumulative supply (sell orders) at prices less than or equal to p. The tradable volume V(p) at a given price p is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/180/0*kvweoJXiGN5ChhJa" /></figure><p>The auction algorithm seeks the price p* that maximizes this volume:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/139/0*KQZotOQkO_XO94Br" /></figure><p>In cases where multiple price levels yield the same maximum volume, exchanges apply tie-breaking rules. Common rules include selecting the price that minimizes the order imbalance |B(p) — S(p)|, the price closest to a reference point (e.g., the previous day’s closing price), or the highest/lowest price in the range.</p><h3>2. Closing Auctions</h3><p>The closing auction has grown to become the single largest liquidity event of the trading day for many stocks. Its primary function is to establish an official closing price, which serves as a critical benchmark for the valuation of portfolios, derivatives settlement, and the calculation of index values. The integrity and accuracy of this price are paramount for institutional investors, such as mutual funds and pension funds, that are benchmarked against closing prices.</p><p>Mechanically, the closing auction mirrors the opening auction. It follows a pre-closing period where market participants submit their orders, culminating in a single uncrossing event that determines the closing price. The price determination algorithm is typically identical to that of the opening auction, focusing on maximizing the transacted volume. However, the strategic environment is distinct. The closing auction often attracts significant volume from passive index trackers, derivative hedgers, and other institutional players who have a mandate to trade at the close. This concentration of non-discretionary trading can lead to significant price pressure and creates opportunities for proprietary traders who seek to anticipate and profit from order imbalances.</p><h3>3. Continuous vs. Call Markets</h3><p>Financial markets are organized around two fundamental trading mechanisms: continuous markets and call markets (or auctions). The choice of mechanism reflects a crucial trade-off between immediacy and liquidity aggregation.</p><ul><li><strong>Continuous Markets:</strong> In a continuous double auction, trades can occur at any point during the trading session. Orders are executed on a price-time priority basis as soon as a matching order arrives. This structure, which dominates the main trading day for most equities, provides immediacy, allowing investors to execute trades without delay. However, in less liquid markets, it can lead to wider bid-ask spreads and higher price volatility, as liquidity is fragmented over time.</li><li><strong>Call Markets:</strong> In a call market, orders are collected over a specified period. At a designated time, all orders are executed simultaneously at a single clearing price calculated to maximize volume. The opening and closing auctions are prime examples of call markets. By aggregating orders over time, call markets concentrate liquidity, which can lead to more efficient price discovery and lower transaction costs, particularly for large or illiquid trades. The cost is a lack of immediacy.</li></ul><p>Most modern exchanges operate a hybrid model, leveraging call auctions to open and close the market and a continuous session for intraday trading. This structure aims to harness the liquidity aggregation benefits of auctions at critical trading junctures while providing the flexibility of continuous trading throughout the day.</p><h3>4. Uniform Price Auctions</h3><p>A uniform price auction, also known as a single-price or call auction, is a mechanism where all matched orders are executed at the same price. This is the standard model for opening and closing auctions on major stock exchanges. The key principle is that a single clearing price, p*, is determined by aggregating all buy and sell orders to maximize the volume of trade, as previously formulated.</p><p>Once p* is established, all buy orders with limit prices at or above p* and all sell orders with limit prices at or below p* are executed at this uniform price. This has a significant implication: participants may receive a more favorable price than their limit. For example, a buyer who placed a limit order at $10.05 will still pay the clearing price of $10.00 if that is where the auction uncrosses. This phenomenon is known as receiving a “price improvement.”</p><p>The uniform price mechanism is favored for its perceived fairness and its ability to encourage truthful bidding. Since participants pay (or receive) the market-clearing price rather than their own limit price, there is less incentive to strategically shade bids just below what one is willing to pay. This promotes more aggressive quoting, which in turn contributes to a more accurate price discovery process by incorporating a wider range of private valuations into the final price.</p><h3>5. Discriminatory Auctions</h3><p>In contrast to the uniform price model, a discriminatory auction (or pay-your-bid auction) requires each winning bidder to pay the price they individually bid. While the allocation of the asset is still typically based on price priority (highest bids win), the pricing is personalized. This mechanism is most famously associated with U.S. Treasury auctions.</p><p>Let there be Q units of an asset for sale. Bids are submitted as (price, quantity) pairs,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/45/0*UyeWZYX7PElG5Tm0" /></figure><p>and are sorted in descending order of price. The auctioneer determines a stop-out price,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/32/0*ZVUpp9_tqEqWwmZI" /></figure><p>which is the lowest price at which the entire quantity Q is sold. All bidders who bid at or above</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/32/0*Iqf8Z5LPvLjeRu_M" /></figure><p>are successful. A bidder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/5/0*O-joU3ibu5iYuL4R" /></figure><p>who bid</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/70/0*qxDIriYvS6IsK0hL" /></figure><p>wins their desired quantity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/11/0*ULKRpeJOc7Mmi2Ug" /></figure><p>and pays the price</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/13/0*ASNsUKMQPKu5cSGm" /></figure><p>for each unit.</p><p>The primary strategic challenge in a discriminatory auction is the “winner’s curse.” Participants who are overly optimistic about an asset’s value may win the auction but find they have overpaid relative to the consensus valuation. To mitigate this risk, rational bidders have an incentive to shade their bids — that is, to bid less than their true private valuation. This strategic behavior can make the price discovery process less efficient compared to a uniform price auction, as the bids may not reflect the market’s true aggregate valuation.</p><h3>6. Intraday Auctions</h3><p>While opening and closing auctions bookend the trading day, some exchanges also employ intraday auctions. These are typically triggered by volatility circuit breakers. If a stock’s price moves by a predefined percentage within a short time frame, the exchange may halt continuous trading and initiate a call auction.</p><p>The primary purpose of an intraday auction is to restore order and facilitate efficient price discovery during periods of high market stress. By pausing trading and aggregating liquidity into a single event, the mechanism prevents cascading orders and panic selling from causing excessive price dislocations. The auction provides a transparent and structured process for the market to absorb new information and establish a new equilibrium price level.</p><p>For quantitative traders, intraday auctions represent both a risk and an opportunity. The trading halt interrupts algorithmic strategies, but the subsequent auction provides a valuable liquidity point to enter or exit positions in a controlled manner, often with reduced market impact compared to trading in a volatile continuous market.</p><h3>7. Volume Discovery Sessions</h3><p>Separate from scheduled or volatility-driven auctions, some venues offer specific “volume discovery” or “block trading” sessions. These are designed to facilitate the execution of very large orders with minimal price impact. Such mechanisms are a response to the institutional need to trade large blocks of stock without causing significant market dislocation or leaking information.</p><p>These sessions often operate as a variation of a call auction but with a focus on anonymity and size. Participants can submit large, undisclosed orders. The venue may then calculate a potential clearing price and volume, often based on a reference price like the Volume-Weighted Average Price (VWAP) from the continuous session. If sufficient volume is available to cross, the trade is executed at a single price. This allows large institutional investors to find a natural contra-side for their orders without having to slice the order into many small pieces, a practice that can increase execution costs and risk.</p><p>From a quantitative perspective, these sessions are important components of optimal execution strategies. An execution algorithm may decide to route a portion of a large parent order to a volume discovery session if it determines that the potential for price improvement and impact reduction outweighs the risk of non-execution.</p><h3>8. Auction Imbalance Information</h3><p>During the pre-opening and pre-closing periods of a call auction, exchanges disseminate valuable data about the state of the order book. This typically includes the Indicative Auction Price (IAP), the Indicative Auction Volume (IAV), and the auction imbalance. The imbalance represents the difference between the buy and sell volume at the current indicative price. A buy imbalance means</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/146/0*eCT_Zf47EmA0WAzL" /></figure><p>while a sell imbalance means the opposite.</p><p>This information is a crucial input for a wide range of quantitative trading strategies. By analyzing the evolution of the imbalance and the indicative price, traders can attempt to predict the final auction price. For example, a persistent and growing buy imbalance suggests that the final clearing price is likely to be higher than the current indicative price. Sophisticated models can be developed to formalize this prediction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/0*JMLyoa_59emy5PC4" /></figure><p>Where</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/79/0*9ycbx5AmR9x0PrzT" /></figure><p>is the expected final auction price given the information set</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/12/0*ptUEIdN5cMCZQJEu" /></figure><p>at time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/6/0*kBO9DDg8iMH1r7AA" /></figure><p>and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/27/0*TR5Kiv5ZbKVUo7ZV" /></figure><p>is a predictive function that can range from a simple linear model to a complex machine learning algorithm. Traders use these predictions to position themselves ahead of the auction, either by placing orders that they expect to be filled at a favorable price or by trading in related instruments (like futures or ETFs) whose prices have not yet fully incorporated the information revealed by the auction imbalance.</p><h3>Conclusion</h3><p>Auction mechanisms are far more than just a procedural formality; they are sophisticated systems designed to solve the fundamental economic problem of price discovery in the face of asymmetric information and fragmented liquidity. From the critical opening and closing brackets of the trading day to the volatility-dampening intraday halts, auctions provide essential stability and efficiency to financial markets.</p><p>As technology and market structures evolve, so too will the design of auction mechanisms. The ongoing debate between uniform and discriminatory pricing, the rise of alternative trading systems with unique discovery sessions, and the increasing speed and complexity of data dissemination all point to a dynamic future. A thorough, quantitative understanding of these mechanisms is, and will remain, a key competitive advantage for any serious market participant.</p><h3>References</h3><ol><li><strong>O’Hara, M. (1995).</strong> <em>Market Microstructure Theory</em>. Blackwell Publishers. *A foundational text covering the core concepts of market microstructure, including price formation and the role of information.</li><li><strong>Harris, L. (2003).</strong> <em>Trading and Exchanges: Market Microstructure for Practitioners</em>. Oxford University Press. *A comprehensive and practical guide to the mechanics of trading, exchanges, and modern market structures.</li><li><strong>Biais, B., Hillion, P., &amp; Spatt, C. (1999).</strong> Price Discovery and Learning during the Preopening Period in the Paris Bourse. <em>Journal of Political Economy, 107</em>(6), 1218–1248. *An influential empirical study of the price discovery process during the pre-opening auction.</li><li><strong>Krishna, V. (2009).</strong> <em>Auction Theory</em>. Academic Press. *A definitive textbook on the theory of auctions, providing the mathematical and game-theoretic foundations for the mechanisms discussed.</li><li><strong>Madhavan, A. (1992).</strong> Trading Mechanisms in Securities Markets. <em>The Journal of Finance, 47</em>(2), 607–641. *A classic paper comparing the welfare implications and price efficiency of different market structures, including call markets and continuous markets.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2caaceac3bf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>