4. Spot Price Calculation

The spot price is a theoretical or reference price based on the current state of the pool, including the weights and volumes of the tokens. It provides market participants with an indicative price that reflects the conditions under stable, non-transactional scenarios (infinitesimal swap).

4.1. Mathematical Foundations

The weights of both Tokens adjust over time, directly affecting their pricing within the pool. Typically, as WeightTradedWeight_{Traded} decreases, the price of TokenTradedToken_{Traded} in terms of TokenAnchorToken_{Anchor} decreases.

This graph illustrates the evolution of the spot price over time within a Liquidity Bootstrapping Pool under the assumption that the volumes of the tokens (VolumeTradedVolume_{Traded} and VolumeAnchorVolume_{Anchor}) remain constant.

The spot price history serves as a guide for traders to anticipate price movements.

SpotPriceTraded=VolumeAnchorVolumeTradedƗWeightTradedWeightAnchorSpotPrice_{Traded} = \frac{Volume_{Anchor}}{Volume_{Traded}} \times \frac{Weight_{Traded}}{Weight_{Anchor}}

Where

  • SpotPriceTradedSpotPrice_{Traded} : Spot price of TokenTradedToken_{Traded} in terms of TokenAnchor.

  • VolumeTradedVolume_{Traded}​ : Current volume of TokenTradedToken_{Traded} in the pool before the transaction.

  • VolumeAnchorVolume_{Anchor}​ : Current volume of TokenAnchorToken_{Anchor} in the pool before the transaction.

  • WeightTradedWeight_{Traded}​ : Current weight of TokenTradedToken_{Traded} in the pool.

  • WeightAnchorWeight_{Anchor}​ : Current weight of TokenAnchorToken_{Anchor} in the pool.

Last updated