Читать книгу «Algorithmic Skepticism: How to Trade Based on Mathematics, Not Emotions» онлайн полностью📖 — Julius Vega — MyBook.

Chapter 1: The Philosophy of Algorithmic Skepticism

The Market as a System, Not an Oracle

Before we turn to specific analytical tools, we must first agree on how we look at the subject itself. A financial market is neither a text that can be deciphered once and for all nor a mechanism with constant parameters, like a clock whose pendulum keeps a fixed beat. It is a dynamic system made up of millions of independent decisions, each of which alters the very environment in which the next decision is made. This is exactly why the approach we call algorithmic skepticism begins not with the question "which indicator is more accurate," but with the question "on what grounds do I claim to know anything at all about future price movement."

Skepticism here is neither a pose of intellectual pessimism nor a refusal to act. It is a working method, one that requires every claim about the market to be operationalized: translated into a measurable quantity, tested for robustness, and furnished with the conditions under which it ceases to hold. Algorithmic skepticism is a refusal to take the chart at its word. A line on the screen is a compressed, coarse-grained representation of a far richer process: the flow of orders, their cancellation, partial fills, and the competition for price-time priority. A candle on a daily chart is the product of thousands of micro-decisions squeezed into four numbers: open, high, low, and close. To work with this compression directly, bypassing any understanding of what lies beneath it, is to build a forecast on the shadow of an object rather than on the object itself.

The first principle follows from this: every trading decision must rest not on a visual pattern as such, but on an understanding of the mechanics that produced it. A head-and-shoulders or a double top is not a cause of price movement but a consequence of a particular distribution of liquidity and participant activity at a specific moment. The skeptic does not reject these patterns outright, but demands that the visual form be backed by confirmation in volume, order imbalance, and volatility dynamics. Form without substance is market folklore, handed down from book to book without critical scrutiny.

Liquidity as the Primary Substance of the Market

If we were to look for the "matter" of which market dynamics are made, it would turn out to be liquidity—the market's capacity to absorb trades without a significant change in price. Liquidity is not an abstraction or a metaphor but an eminently measurable quantity: the depth of the order book at different price levels, the speed at which orders are replenished after being filled, the width of the spread between the best bid and the best ask. It is liquidity that determines what any theoretically elegant strategy becomes once it collides with real-world execution: a source of income, or a chain of slippage that eats away the entire projected profit.

Algorithmic skepticism demands that we treat liquidity not as a constant but as a variable that shifts with the time of day, the trading session, upcoming news events, and the overall state of the market. A deep order book with substantial volume at key levels acts as a shock absorber: it dampens sharp moves, absorbing aggressive orders without any significant shift in price. A thin order book, by contrast, amplifies volatility—here even a relatively small order can produce a price dislocation, a gap, a cascade of triggered stop orders. Understanding these mechanics changes the very framing of the problem: the question is not "Where will the price go?" but "What liquidity structure lies behind the current move, and what will happen if that structure is exhausted?"

This leads to a practical conclusion that matters for the architecture of any trading system: position size and execution aggressiveness must be inversely proportional to the instrument's current liquidity. A system that ignores this principle behaves as if the market were an infinitely elastic medium, ready to absorb any order without consequence. Such an assumption holds only in theoretical models, not in reality, where every large trade leaves a footprint and shifts the balance of forces, if only briefly.

The Order Book as a Mirror of Intentions

If liquidity is the substance of the market, then the order book is its instantaneous snapshot—a reflection of how participants' intentions are distributed at any given moment. Each line in the order book is not merely a number but a concrete commitment: someone stands ready to buy or sell a specific volume at a specific price. Unlike a candlestick chart, which shows what has already happened, the order book shows what is possible—what may occur if the market reaches those levels.

Algorithmic skepticism requires that we treat the order book as a source of hypotheses rather than ready-made conclusions. A cluster of large buy orders at a particular level may signal genuine demand from an institutional player, but it may just as easily prove to be a transient illusion—an order that will be canceled a second before price touches it. This phenomenon, which market participants know by various names, calls not for blind faith in visible volume but for an analysis of its persistence over time: how long the order stays in the book, whether it is replenished after partial fills, and whether its appearance correlates with genuine aggressive activity on the opposite side.

Here we introduce an important concept—volume delta, the difference between aggressive buying and aggressive selling within a given price range. On its own, delta is not a signal to act. It becomes informative only in conjunction with price dynamics: if delta shifts in favor of buyers but price fails to rise, this points to hidden resistance—someone is absorbing demand and keeping price from moving. If delta tilts toward sellers while price holds or rises, this signals hidden accumulation. Such divergences between visible imbalance and actual price behavior are far more valuable information than the mere fact of an imbalance.

Crucially, the order book is never analyzed in isolation. A volume imbalance taken out of context is noise that is easily mistaken for signal. Only by setting the order book against trade flow, execution speed, and changes in volatility do scattered observations resolve into a coherent picture. This demand for comprehensive analysis is not an optional recommendation but a precondition without which any conclusions about market mechanics remain unreliable.

Volatility as a Language of Uncertainty

The third fundamental element of market architecture is volatility—a measure of how strongly and how rapidly price deviates from its average over a given period. In everyday usage, volatility is often equated with risk as such, but this equation is imprecise. Volatility is better understood as the temperature of the market, a gauge of the intensity of the processes at work within it. A high temperature does not automatically signal danger—it signals that the range of possible outcomes has widened, and any system trading the instrument must account for that widening.

Algorithmic skepticism requires us to treat volatility not as a static property of an instrument but as a process with its own dynamics: periods of calm give way to bouts of sharp fluctuation, and the transition between these regimes is often nonlinear. A market can remain in a low-volatility state for weeks, building up potential energy, and then discharge that accumulation in a sharp, short-lived impulse. This clustering of volatility is an empirically observed property of financial time series, and ignoring it renders any risk model unsound from the outset.

Hence the principle of adaptivity: the volatility-dependent parameters of a trading system—position size, the width of protective stops, the spacing between trades—cannot be held constant. They must be recalculated according to the prevailing market regime. A system designed for calm conditions is bound to run into serious trouble the moment the range of price movement abruptly widens; conversely, an overly cautious configuration calibrated for turbulence will prove ineffective in quiet periods, forgoing a significant share of the market's potential movement.

Volatility and liquidity are interdependent: they do not exist independently of one another— a decline in liquidity is almost always accompanied by a rise in volatility, since it takes less pressure to move price through a thin order book. Understanding this interdependence allows the algorithmic skeptic to see a sharp rise in volatility not as random noise but as a logical consequence of a changed market structure, and to respond to that change systematically rather than emotionally.

The Architecture of Analysis: From Disparate Data to an Integrated System

The three elements we have described—liquidity, the order book, and volatility—do not operate independently of one another. Together they form a unified architecture of analysis in which each component performs a strictly defined role while also serving as the context for interpreting the others. This is the principle that underlies modularity as a working method: the complex task of understanding the market is broken down into self-contained yet interconnected blocks, each of which can be tested, improved, and replaced on its own without bringing down the system as a whole.

The liquidity analysis module is responsible for assessing how safely and efficiently a trade of a given size can be executed under current conditions. The order book analysis module tracks the balance of participants' intentions and identifies discrepancies between the visible distribution of orders and actual price behavior. The volatility analysis module determines the current market regime and sets the adaptation parameters for the other modules. Crucially, these blocks do not work in isolation: a signal from one module can, and should, modify the behavior of another. For instance, detecting shallow order book depth should automatically reduce the permissible position size, however attractive the signal may appear from the standpoint of the price pattern.

This architecture offers an important advantage: it is robust to changes in individual components. If one of the modules exhibits systematic errors under particular market conditions, it can be corrected or replaced without rebuilding the entire system. Monolithic strategies, in which all the rules are interwoven into a single, indivisible logic, lack this flexibility—any change to a single parameter risks affecting the behavior of the system as a whole in unpredictable ways.

The Principle of Feedback as a Condition for System Survival

Modularity alone does not guarantee sound analysis. An architecture, once built and fixed in place, inevitably becomes outdated as the structure of the market, the composition of its participants, and the nature of their interactions change. That is why the second cornerstone principle of algorithmic skepticism is feedback—the continual testing of how well the decisions taken correspond to the processes actually unfolding.

Feedback operates on two levels. The first is the testing of individual hypotheses: if an order book analysis module systematically interprets a particular imbalance pattern as a sign of reversal, while the statistics show that in most cases the move continues, the hypothesis must be revised rather than defended after the fact with convenient explanations. The second level is the testing of the architecture as a whole: whether the modules work together coherently, whether their signals contradict one another, and whether the combination of rules creates a false sense of confidence where no objective grounds for it exist.

Feedback is what distinguishes algorithmic skepticism from dogmatic adherence to a methodology chosen once and for all. Skeptics are not in love with their models—they treat each one as a working hypothesis, valid exactly as long as practice confirms it and to be corrected immediately once it begins to diverge systematically from reality. This demands a certain intellectual discipline: the ability to admit that one's own constructs have failed, without emotional attachment to the effort invested in them.

Skepticism as a Method, Not a Denial

Algorithmic skepticism is neither nihilism nor a refusal to build trading systems on the pretext that they are inherently unreliable. On the contrary, it is a demand that systems be built more deliberately, with a clear awareness of the limits of their applicability. The skeptic does not claim that the market is unknowable—the claim is rather that knowing the market requires constant verification, not a single act of faith in a pattern once discovered.

This approach changes the very ethics of working with market data. Instead of searching for the "perfect formula" that will explain price behavior once and for all, the skeptic structures a continuous dialogue with the market: formulating hypotheses, testing them against objective metrics of liquidity, the order book, and volatility, building in feedback mechanisms, and remaining ready to revisit even fundamental assumptions whenever practice shows them to be untenable. The essence of the philosophy that will underpin every subsequent chapter of this book lies not in denying that analysis is possible at all, but in this constant readiness to revise.

...
7