Sub topic 2
What a stablecoin is and what a peg means
This chapter defines a stablecoin and a peg, and shows how to measure how well a peg holds. It assumes you know what a cryptocurrency and a blockchain are, can send and receive tokens with a wallet, and understand supply, demand and market prices. Later chapters cover redemption, reserves and collateral in detail. Here we build the vocabulary that those chapters rely on.
The problem a stablecoin addresses
Bitcoin or ether can move 5% in a day and 50% in a month. That makes them poor for everyday pricing and for debts that must be repaid in a fixed amount. A shop that prices a coffee in a volatile token must either reprice constantly or risk losing money between the sale and the moment it converts the token to cash.
Crypto traders also need a place to park value between trades. Moving back to a bank account is slow and often closed at weekends. A token that holds a steady price on the same blockchain solves both problems.
A stablecoin is a crypto token designed to keep a steady market price relative to a reference asset, most often one US dollar. The reference asset is the target. The word "designed" matters. Nothing in the blockchain itself makes a token stable. Stability comes from a mechanism, such as reserves held by an issuer, locked collateral, or a rule that adjusts supply. If the mechanism fails, the token is just another token that can fall in price.
What a peg is
A peg is the commitment to keep the token's price at a fixed ratio to its target. "USD-pegged" means one token should trade for about 1.00 US dollar. The peg is a goal. It is not a law of nature, and the market price can drift away from it.
Several terms are worth separating:
| Term | Meaning |
|---|---|
| Target | The reference value, such as 1.00 USD, 1 euro, or the price of one ounce of gold |
| Market price | What the token currently trades for on an exchange |
| Redemption value | What the issuer or protocol promises to give back for one token |
| Deviation | The gap between market price and target |
| Depeg | A deviation large or lasting enough that people stop treating the token as worth its target |
The market price and the redemption value are different things. A token may be redeemable for 1.00 USD with the issuer, while trading at 0.99 on an exchange. That gap is exactly where the mechanisms in later chapters operate.
Hard pegs and soft pegs
People use two informal labels.
- A hard peg is backed by a promise of direct exchange at the target rate, usually for approved customers. Most fiat-backed stablecoins work this way.
- A soft peg relies on incentives and market behaviour to pull the price toward the target. There is no one-to-one guarantee of exchange. Many algorithmic designs are soft pegs.
The difference matters when stress arrives. A hard peg has a floor created by the promise of redemption, as long as the promise can be kept. A soft peg has only the strength of its incentives.
Targets other than the dollar
The dollar dominates, but targets vary. Some tokens track the euro or other currencies. Some track a commodity, which a later chapter covers. A few track an index, such as a consumer price measure. The same reasoning applies to all of them: the token's design must tie its price to the target.
How the pieces fit together
A stablecoin has three parts that work together: the target, a mechanism, and the market price that results. Traders watch the market price. When it deviates, the mechanism creates an incentive to push it back.
The loop has an important consequence. A peg is maintained by people acting on incentives. If traders doubt that the mechanism will work, they may stop acting on the incentive, and the loop weakens exactly when it is needed.
Stability is relative
No stablecoin trades at exactly 1.0000 all the time. Prices bounce by small amounts because of trading fees, bid-ask spreads and short-lived imbalances between buyers and sellers. A well-run fiat-backed token often stays within a few hundredths of a percent of target in calm markets. That is far steadier than bitcoin, yet it is still not fixed.
Two ideas help when you evaluate a token.
- Size of deviation. A move from 1.0000 to 0.9995 is noise. A move to 0.97 is a warning.
- Duration of deviation. A brief dip that reverses within minutes is different from a price that stays below target for days.
A useful unit for small gaps is the basis point (bp), which is one hundredth of a percent. A price of 0.9990 is 10 bp below a target of 1.0000.
Measuring a peg in code
This script computes the deviation in basis points for each price in a series. It then reports the worst gap and the share of observations that stayed inside a tolerance band.
def deviation_bps(price, target=1.0):
"""Deviation from the target in basis points (1 bp = 0.01%)."""
return (price - target) / target * 10_000
def peg_report(prices, target=1.0, band_bps=10):
devs = [round(deviation_bps(p, target), 1) for p in prices]
worst = max(devs, key=abs)
inside = sum(1 for d in devs if abs(d) <= band_bps)
return {
"worst_bps": worst,
"share_in_band": inside / len(devs),
}
# Eight hourly prices for a hypothetical USD stablecoin
prices = [1.0002, 0.9998, 1.0004, 0.9991, 0.9962, 0.9987, 1.0001, 1.0003]
report = peg_report(prices, band_bps=10)
print(report) # {'worst_bps': -38.0, 'share_in_band': 0.75}Six of the eight observations are within 10 bp of target, so the share in band is 0.75. The worst reading is 38 bp below target. Whether that counts as a problem depends on the token and the context. If the price recovered an hour later, it is a brief dip. If it kept falling, it is the start of a depeg.
A few limits of this check are worth knowing:
- It uses one price series. Real tokens trade on many venues, and prices differ between them.
- It samples hourly. A crash that reverses between samples is invisible.
- It measures price only. It says nothing about whether the issuer can honour redemptions.
Where the price comes from
Beginners often ask "what is the price of a stablecoin?" as if there were one answer. There is not. Each exchange has its own order book, which is the list of buy and sell offers, and its own last trade price. Price aggregators combine these into one number, usually weighted by volume.
During stress the differences grow. A token may trade at 0.99 on a large exchange and 0.94 on a thin decentralized pool. Which price you see depends on where you look. When you judge a peg, check several venues and look at trading volume as well as price.
There is also a difference between two kinds of market:
- The primary market is where tokens are created and redeemed with the issuer. Access is often limited to approved institutions that move large amounts.
- The secondary market is where ordinary holders trade tokens with each other on exchanges and in decentralized pools.
Most users live in the secondary market. They cannot always redeem directly, so the price they get depends on what other traders will pay. The link between the two markets is what holds the peg, and later chapters on redemption and arbitrage cover it.
The broad families of designs
The rest of the tutorial compares four families. Each answers one question: what makes people willing to hold this token at its target price?
- Fiat-backed. An issuer holds reserves of cash and similar assets and promises redemption.
- Crypto-backed. Users lock other crypto assets as collateral, worth more than the tokens they create.
- Commodity-backed. Each token is tied to a physical asset such as gold.
- Algorithmic. Software rules adjust supply or incentives, with little or no hard backing.
Each family has a different weak point. Fiat-backed tokens depend on the issuer and its reserves. Crypto-backed tokens depend on collateral prices. Algorithmic tokens depend on continued confidence. Keep that question in mind as you read.
Common errors
- Treating the target as a guarantee. A peg is an intention. Always ask what mechanism enforces it and who can use it.
- Confusing price with redemption value. A token can be redeemable at 1.00 and trade lower. Check which price a claim refers to.
- Judging from one venue or one moment. Compare several markets and a time range.
- Assuming "stable" means "safe". Stablecoins can fail. Their risks are different from those of volatile assets, but they are real.
- Ignoring who can redeem. If only large institutions can redeem, small holders depend on the secondary market.
Summary of key points
A stablecoin is a token with a mechanism that aims to hold its price near a target. The peg is that goal, and the deviation measures how far the market price strays from it. Prices differ by venue, and primary and secondary markets behave differently. The four design families differ in what they rely on to hold the peg.
Exercise
A stablecoin with a target of 1.00 USD has these three market prices at the same moment: 0.9996 on Exchange A, 0.9985 on Exchange B, and 0.9700 in a small decentralized pool with little trading volume. Compute the deviation in basis points for each, and say which reading you would weight least when judging the peg, and why.
Show answer
Deviation in bp is (price - 1.00) / 1.00 x 10,000. Exchange A: (0.9996 - 1) x 10,000 = -4 bp. Exchange B: (0.9985 - 1) x 10,000 = -15 bp. The pool: (0.9700 - 1) x 10,000 = -300 bp. The pool reading deserves the least weight on its own because low trading volume means a few trades can move the price a lot, and it may not reflect what most holders can get. It is still worth watching, since a widening gap between venues can be an early sign of stress.
Exercise
Explain the difference between a token's market price and its redemption value, and give one reason a token might trade below its redemption value even when the issuer is solvent.
Show answer
The market price is what the token trades for on an exchange. The redemption value is what the issuer or protocol promises to pay for one token. A token can trade below its redemption value when most holders cannot redeem directly. Access is often limited to approved institutions, and redemption may carry fees or delays. A wave of selling in the secondary market can push the price down before arbitrageurs with redemption access close the gap.