Skip to main content
Version: pre-release (v0.79)

Trading

The Vega protocol software is built to provide a framework for creating markets for trading financial instruments that are based on the values of their underlying assets. Markets must be initiated and voted on by tokenholders.

The Vega protocol software supports the following cash-settled products:

  • dated futures markets
  • perpetual futures markets
  • spot markets

Learn about cash settlement on Investopedia. ↗

Participants can submit market, limit, pegged orders. They can also act as market makers in exchange for a portion of the fees by submitting the liquidity commitment transaction and fulfilling the requirements associated with it.

Automated market processes

As markets and collateral are not managed through human intervention, markets must have certain automated processes to assure that the collateral required to manage positions is available when it's needed.

There are a few mechanisms that work differently to how they would on a centralised exchange.

They include:

  • Cross margining: When a participant places an order using cross margin mode, the initial margin requirement is calculated automatically depending on the market's risk model. If the market moves against the participant, and the margin towards the maintenance level, the software will search for more collateral in the general account, to avoid liquidating the position. Margin can also be released if the position is in sufficient profit. Other positions in markets with the same settlement asset may also interact with the same general account.
  • Margin isolated per position: When a participant places an order using isolated margin mode, the expected margin required for the life of the order, if it's filled, is set aside. The network continually tracks the requirements for open orders and positions to ensure there is enough margin to keep them open.
  • Mark to market: Mark to market happens much more frequently than on typical exchanges. Marking to market is used to move assets into your margin account (from someone else's) if you are in profit, or out of your margin account if not.