Skip to main content
Version: testnet (v0.76)

Markets on Vega

Markets supported by the Vega network are cash-settled. When a market expires or a position is closed, the seller does not deliver the underlying asset, but rather transfers the associated cash amount in market's settlement asset.

All markets created using Vega software are proposed through governance, by community members. Market proposals that pass a governance vote are then enacted and can be traded on.

Currently, the network supports two types of derivatives markets: futures markets that expire, and perpetual futures markets that do not expire.

Try it out

Console: See all the currently active markets.

Futures

Cash-settled futures markets allow for placing orders and taking margined positions to speculate on what the value of an underlying asset will be at a specific future date.

Because the market's prices are predicting the asset's value on a future date, the actual value of the underlying asset's spot price can be very different to the price on the futures market.

Futures markets have a settlement asset which may not be the same as either of the assets in the future market's trading pair.

Settlement, or the process of moving collateral between accounts, happens on a futures market when a position is closed, when the mark price changes, and when the market expires and all positions are closed.

Perpetual futures

Perpetual futures markets do not have a final settlement date and so traders can hold a position on a perpetuals market indefinitely. Traders exchange cashflows each time the mark price for funding changes - this process is called mark-to-market settlement.

There's also an additional settlement process for perpetual markets that ensures the perpetual price doesn't diverge too far from the underlying spot market. It's called periodic settlement and the cashflows exchanged at the end of each funding period are called funding payments. The schedule for the market's funding periods is set in its governance proposal.

Perpetual futures markets have a settlement asset that may not be the same as either of the assets in the market's trading pair.

Funding payment

The funding payment is, in its simplest form, calculated as the difference over the funding period between the perpetual market's time-weighted average price and the external spot time-weighted average price. The perpetuals price is based on the market's mark price for funding, while the spot price comes from the data source. The method for deriving the mark price for funding is set per market.

If the perpetual price is above the spot price, the funding payment is positive and those with long positions "pay" those who with short positions. If the perpetual price is below the spot price, the funding payment is negative and traders with short positions lose money while those with long positions gain.

Any profit or loss as the result of the funding rate is only final once the position is closed, and is tracked as unrealised P&L.

Perpetuals market proposers can include additional parameters into the funding payment calculations to more closely match existing popular markets.

They include:

  • Interest rate
  • Clamp lower bound
  • Clamp upper bound
  • Scaling factor (optional)
  • Rate lower bound (optional)
  • Rate upper bound (optional)
Go deeper

Spec: Funding payment calculations ↗: See how all the parameters can impact a market's funding rate and margin requirements.

Margin calculations

The margin calculations for perpetual futures markets contain an additional parameter to capture the exposure of a given position to an upcoming funding payment. The margin funding factor that determines to what degree the funding payment amount impacts a trader's maintenance margin is also defined in the market proposal. This additional term can only increase the margin requirement if a given position is expected to make a payment at the end of the current funding period, but it will never decrease the margin requirement, even if party is expecting to receive a funding payment.

Spot

Spot markets allow for buying and selling assets and receiving them as soon as the order is filled - in effect swapping one asset for another. You'll need the full amount of the asset you want to exchange, and will receive the full exchange amount, minus fees, in return. Spot markets are not margined, which means you also can't hold a position because as soon as your order is filled, it's completed.

Spot markets have a base asset and quote asset, where the base asset is traded against the quote asset. The spot price reflects how much of the quote asset is required to buy 1 unit of the base asset. The base asset is listed first in the pair: for example, in BTC/USD, the base asset is BTC and the quote asset is USD.

Both assets in a spot market need to be enabled on one of the asset bridges.

For a limit order on a spot market, or any order that doesn't immediately trade in full, whatever collateral is needed to cover the order, and its fees, is moved to a holding account, to ensure you can support your open order. If you cancel or reduce the size, any freed up collateral is returned to your general account. This is true in both continuous trading and auction modes.