Trading Prophets with Initial Capital

Yossi Azar, Niv Buchbinder, Roie Levin, Or Vardi · DOI

Introduction

The "prophet inequality" is a cornerstone of optimal stopping theory, typically involving a decision-maker who observes a sequence of random variables and must decide when to stop to maximize their reward. In the "trading prophets" variant, this problem is extended to a market setting: a trader observes a sequence of stock prices and aims to maximize total profit (revenue from sales minus the cost of purchases) by buying and selling a single unit of an asset.

Historically, this problem was considered "impossible" from a competitive analysis standpoint. Recent research suggested that without initial capital, any online algorithm could suffer an unbounded competitive ratio compared to an omniscient prophet who knows all future prices. This paper challenges that impossibility by introducing a simple modification: providing the trader with a small amount of initial capital—specifically, one share of the stock.

The Impact of Initial Capital

The fundamental difficulty in the trading prophets problem lies in the "buy-in" cost. In a scenario where a trader starts with zero assets, they may never find an entry point that guarantees a profit relative to a prophet. For instance, if a stock is currently priced at $1 but has a tiny probability of reaching $1,000, a risk-averse online algorithm might never purchase the stock because the expected profit is negligible. However, a prophet—knowing the stock will hit $1,000—would buy and make a massive gain.

By granting the trader one initial share, the authors show that the competitive ratio becomes bounded. This initial endowment allows the algorithm to amortize the costs of trading and ensures that the trader can always participate in the market's upside, effectively bridging the gap between online trading and offline optimization.

Algorithmic Strategies

The paper proposes two distinct algorithms tailored to different market conditions and constraints.

1. Myopic Trading (Algorithm 1)

For the standard model without transaction costs, the authors propose a "Buy Low Sell High" strategy. Remarkably, this strategy is myopic, meaning it only considers the current price and the expected price of the immediate next time step.

  • Action: If the trader does not hold the stock and the current price is lower than the expected price of the next period, they buy. Conversely, if they hold the stock and the current price is higher than the expected price of the next period, they sell.

In an adversarial setting where price distributions can change arbitrarily over time, this simple strategy achieves a 3-competitive ratio. This means the prophet’s expected profit is at most three times that of the algorithm. The authors prove this ratio is the best possible for the general case.

2. Threshold-Based Trading (Algorithm 2)

When transaction costs—such as bid-ask spreads or broker fees—are introduced, simple myopic strategies fail. In these scenarios, the trader must account for the friction of trading. The authors introduce a "Buy Below Sell Above" algorithm for i.i.d. (independent and identically distributed) price sequences. This algorithm utilizes two calculated thresholds based on the price distribution to decide when to trade, achieving a 2-competitive ratio even with multiplicative and additive fees.

Key Insights and Results

The core contribution of this research is the proof that the 3-competitive ratio is optimal for the adversarial order model. The transition from an unbounded ratio to a constant ratio of 3 highlights that the primary barrier to effective trading in this model is not the lack of future knowledge, but the initial entry barrier.

Key findings include:

  • The Power of Myopia: You do not need to know the entire future sequence to trade effectively; knowing if tomorrow looks better than today is often sufficient.
  • Stationary Advantage: If the expected price is constant over time, the competitive ratio improves from 3 to 2.
  • Transaction Costs: Adding fees significantly increases the complexity of the problem, requiring fixed thresholds rather than simple one-step-ahead comparisons.

Conclusion and Future Work

This paper provides a significant breakthrough by demonstrating that initial capital is the key to making the trading prophets problem solvable. It simplifies the requirements for optimal trading, showing that a myopic view is often sufficient to compete with an omniscient prophet.

However, several avenues for future research remain. While the i.i.d. case with transaction costs is addressed, the feasibility of a constant competitive ratio in an adversarial setting with transaction costs remains an open question. Additionally, extending these results to multi-commodity markets—where a trader manages a portfolio of correlated assets—presents a complex challenge for future exploration.

Summary updated

BibTeX
@inproceedings{azar2026trading,
  author = {Yossi Azar and Niv Buchbinder and Roie Levin and Or Vardi},
  title = {{Trading Prophets with Initial Capital}},
  booktitle = {SOSA},
  year = {2026},
  doi = {10.1137/1.9781611978964.7},
}
Figure