Vest Exchange
  • Welcome
    • About Vest
    • Getting started
  • Overview
    • Vest Architecture
      • Overview
      • zkRisk Engine
      • Swaps
      • Clearinghouse
      • Order book
      • Oracle
      • Vest Liquidity Pool
      • Blockchain
      • Decentralization
    • Trading
      • Perpetual contract specifications
      • Fees
      • Order book
      • Order types
      • Funding
      • Margin
      • Liquidations
      • Price Indices
      • Market making
    • Providing Liquidity
  • Points
  • Referrals
  • Risks
  • Audits
  • Media Kit
  • Vest API
  • Resources
    • Research
    • Github
    • Twitter
    • Discord
Powered by GitBook
On this page

Was this helpful?

  1. Overview
  2. Trading

Funding

Overview

Vest uses a risk-based funding mechanism that responds faster and more accurately to market conditions than traditional exchanges.

While conventional funding rates only consider individual market imbalances, Vest evaluates how each market contributes to system-wide risk—leading to more stable and predictable funding rates for traders.

Funding rates are determined by the marginal risk each market adds to the entire system. Markets contributing more systemic risk will have proportionally higher funding rates.

For example, on a traditional exchange, BTC and ETH might have similar funding rates if they share long/short imbalances. On Vest, if BTC positions contribute more to system-wide risk, BTC will have a higher funding rate, regardless of similar imbalances. Within each market, all traders still pay or receive the same funding based on their position direction—longs pay shorts when the market is long-heavy, and vice versa.

Why this matters for trading

This risk-based funding system isn’t just a balancing mechanism—it’s a tool for market stability. By charging higher funding rates in markets that pose more systemic risk, Vest keeps funding more stable and predictable for traders across markets and market conditions on average. This means fewer surprises and a more efficient trading experience, especially if you have positions in multiple markets.

Technical details

Vest's funding achieves stability through:

  1. Euler Allocation:

    1. Each market's funding rate equals its marginal risk contribution to system EVaR:

      1. fρt(X(i))=∂ρ(∑uiX(i))∂uif_\rho^t(X^{(i)}) = \frac{\partial \rho(\sum u_i X^{(i)})}{\partial u_i}fρt​(X(i))=∂ui​∂ρ(∑ui​X(i))​

      2. ρ\rhoρ is defined as EVaR of total portfolio

      3. X(i)X^{(i)}X(i) is liability from market iii

  2. Time decay adjustment:

    1. Rates scale with the risk horizon τ\tauτ:

      1. fρt=∂ρEuler(Xt+τ(i))∂τf_\rho^t = \frac{\partial \rho^{\text{Euler}}(X^{(i)}_{t+\tau})}{\partial \tau}fρt​=∂τ∂ρEuler(Xt+τ(i)​)​

  3. zk-Verification:

    1. All inputs (StS_tSt​, Σt\Sigma_tΣt​) and outputs (fρtf_\rho^tfρt​) are proven correct via zkSNARKs.

Example funding calculations

Scenario:

  • System EVaR (ρ\rhoρ) = $10M

  • ETH contributes $1.5M to EVaR

  • Time decay = 0.01/hr

  • ETH market is 70% long

Calculation:

  1. Marginal risk share:

    1. 1.5M10M=15%\frac{1.5\text{M}}{10\text{M}} = 15\%10M1.5M​=15%

  2. Apply time decay:

    1. 0.15×0.01/hr=0.0015/hr0.15 \times 0.01/\text{hr} = 0.0015/\text{hr}0.15×0.01/hr=0.0015/hr

  3. Result:

    1. Longs pay shorts 0.15% hourly until positions rebalance.

PreviousOrder typesNextMargin

Last updated 15 days ago

Was this helpful?