Perps Guide
The Pool / Vault Counterparty

The Engines · Ch. 14

The Pool / Vault Counterparty

The oracle told you the price, and you filled with no slippage. But a trade needs two sides. If no other trader is there to take yours, who did? You just traded against a vault, and it is now short exactly what you are long.

The Idea

Intuition

On the orderbook, your counterparty was another trader (Chapter 11). Take that away, price the market off an oracle instead, and something still has to sit on the other side of every position. That something is a pool: a vault of capital that people deposit into, which collectively becomes the house.

The vault takes the opposite of the crowd. When you go long, it is short your size. When the whole crowd leans long, the vault is net short the difference, holding exactly the skew from Chapter 9.

How does it make money? Two ways. It collects a fee on every trade, win or lose, which is its steady edge. And it keeps the crowd’s net losses, because in a zero-sum trade your loss is its gain, dollar for dollar (Chapter 10). Most traders lose over time, so most of the time the vault grinds upward.

The catch is the other side of that same coin. When the crowd is right, the vault pays. Every dollar the traders make comes straight out of the vault, and if the crowd is crowded and correct at once, that bill is large. The fee softens it but does not erase it. Depositors are being paid, in fees and in the crowd’s losses, to carry the risk of the crowd being right. Watch the vault take the losses, then flip the outcome and watch it pay.

The Math

How It’s Calculated

In plain terms: the vault’s change is the fees it collected minus whatever the traders made. Traders win, the vault is down that amount plus a little back from fees; traders lose, the vault is up their loss plus the fees.

Over any period, the vault’s profit is the mirror of the traders’ profit, plus fees:

Δvault=feesPnLtraders\Delta \text{vault} = \text{fees} - \text{PnL}_{\text{traders}}

Its market exposure is the skew, the net position it is forced to hold against the crowd:

exposure=OIlongOIshort\text{exposure} = \text{OI}_{\text{long}} - \text{OI}_{\text{short}}

If that skew is zero, longs and shorts cancel and the vault holds no directional risk; it just clips fees. As the skew grows, so does the vault’s bet against the crowd. This is why these designs lean so hard on funding (Chapter 6): funding charges the crowded side and pays the vault to keep holding the imbalance.

vault value
$10.00M
started $10.00M
start
the vault is the counterparty
One vault stands behind every trade. It is the counterparty to the whole crowd.

Note

A single vault taking the other side of everyone is powerful and exposed in equal measure. If the crowd is right and crowded, the vault can bleed fast, which is why real designs layer on skew-based funding, position caps, and hedging of the net exposure. How that hedging works, and how the vault stays solvent through a violent move, is machinery for a later part.