Vertex Docs
  • Getting Started
    • ๐Ÿ“‹Overview
    • ๐Ÿ“œTable of Contents
    • ๐Ÿš€Mission
    • โš”๏ธVertex Edge
      • 1๏ธโƒฃVertex on Arbitrum
      • 2๏ธโƒฃBlitz on Blast
        • Blitz Documentation
      • 3๏ธโƒฃVertex on Mantle
        • ๐ŸŽ†Trading Rewards
        • ๐Ÿ“ŠPerpetual & Spot Market Specifications
        • ๐Ÿ–ฅ๏ธOpen-Source Contracts
        • ๐Ÿ”ŒAPI
      • 4๏ธโƒฃVertex on Sei
        • ๐Ÿ’ฐTrading Rewards
        • ๐Ÿ“ŠPerpetual & Spot Market Specifications
        • ๐Ÿ–ฅ๏ธOn-Chain Contracts
        • ๐Ÿ”ŒAPI
      • 5๏ธโƒฃVertex on Base
        • ๐Ÿ’ฐTrading Rewards
        • ๐Ÿ“ŠPerpetual & Spot Market Specifications
        • ๐Ÿ’ปOnchain Contracts
        • ๐Ÿ”ŒAPI
        • โœ๏ธCreate a Coinbase Smart Wallet
      • 6๏ธโƒฃVertex on Sonic
        • ๐Ÿ’ฐTrading Rewards
        • ๐Ÿ“ŠPerpetual & Spot Market Specifications
        • โ›“๏ธOn-Chain Contracts
        • ๐Ÿ”ŒAPI
      • 7๏ธโƒฃVertex on Abstract
        • ๐Ÿ“ŠMarket Specifications
        • โ›“๏ธOn-Chain Contracts
        • ๐Ÿ”ŒAPI
      • 8๏ธโƒฃBro.Trade on Berachain
        • โ›“๏ธOn-Chain Contracts
        • ๐Ÿ”ŒAPI
      • 9๏ธโƒฃVertex on Avalanche
        • ๐Ÿ’ฐTrading Rewards
        • ๐Ÿ“ŠMarket Specifications
        • โ›“๏ธOn-Chain Contracts
        • ๐Ÿ”ŒAPI
  • Basics
    • ๐Ÿ“ฝ๏ธProducts
    • โšกTechnical Architecture
    • ๐ŸงตUniversal Cross Margin
    • โœ‚๏ธIsolated Margin
    • โ„น๏ธSubaccounts & Health
    • โฐLiquidations & Insurance Fund
    • ๐Ÿ’ตPnL Settlements
    • ๐Ÿ“ŠPricing (Oracles)
    • ๐Ÿ’ฐFees
    • ๐Ÿ“ˆFunding Rates
    • ๐Ÿ“…Market Specifications
    • โšกOne-Click Trading
    • ๐Ÿ”ซTrigger Orders
    • ๐Ÿ—‚๏ธGMCI 30 & MEME Indices
    • ๐Ÿ’ฐTrade & Earn
      • ๐ŸคMaker Program
      • ๐Ÿ”Cross-Chain VRTX Rewards
      • โ“Trading Rewards - FAQs
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘Referral Program
    • โš’๏ธResources & Links
    • โ”FAQs
  • VRTX Token
    • ๐ŸŽ“VRTX Tokenomics
    • ๐Ÿ“ŠToken Supply Distribution
  • More
    • ๐ŸŒGlossary
    • ๐Ÿ”ฌContracts & Code Audits
    • ๐Ÿฆ‹Bug Bounties
    • ๐Ÿ’ฝData & Research
    • ๐ŸชŸMaintenance Windows
    • ๐ŸTerms of Use
    • โœ๏ธStatement of Risk
    • ๐ŸŒRestricted Territories
    • ๐Ÿ“ธBrand Assets
  • Tutorials
    • ๐ŸQuick Start
    • ๐Ÿ–ฑ๏ธOne-Click Trading
    • โš™๏ธTrading Basics
    • โ™พ๏ธPerpetuals
    • ๐Ÿ”ฎSpot
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘Multiple Accounts
    • ๐Ÿ”ซTP/SL & Stop-Market
    • ๐Ÿ’ฐWithdrawals
    • โšกFast Withdrawals
    • ๐ŸŒ‰Cross-Chain Deposits
    • ๐Ÿ”„Lend, Borrow & Repay
    • โค๏ธMargin Health
    • ๐Ÿ’งPools
    • ๐Ÿ’ซVRTX Staking
    • โ†”๏ธSwitching Chains
    • ๐Ÿช™Trading Rewards
    • โœ‚๏ธShortcuts
  • Developer Resources
    • API
      • ๐Ÿ”ŒEndpoints
      • Gateway
        • Executes
          • Place Order
          • Place Isolated Order
          • Cancel Orders
          • Cancel Product Orders
          • Cancel And Place
          • Withdraw Collateral
          • Transfer Quote
          • Liquidate Subaccount
          • Mint LP
          • Burn LP
          • Link Signer
        • Queries
          • Status
          • Contracts
          • Nonces
          • Order
          • Orders
          • Subaccount Info
          • Isolated Positions
          • Market Liquidity
          • Symbols
          • All Products
          • Edge All Products
          • Market Prices
          • Max Order Size
          • Max Withdrawable
          • Max LP Mintable
          • Fee Rates
          • Health Groups
          • Linked Signer
          • Insurance
          • Min Deposit Rates
        • Signing
          • Examples
          • Q&A
      • Subscriptions
        • Authentication
        • Streams
        • Events
        • Rate limits
      • Archive (indexer)
        • Orders
        • Matches
        • Events
        • Summary
        • Candlesticks
        • Edge Candlesticks
        • Funding Rate
        • Interest & funding payments
        • Oracle Price
        • Perp Prices
        • Product Snapshots
        • Market Snapshots
        • Edge Market Snapshots
        • Maker Statistics
        • Merkle Proofs
        • Rewards
        • Referral Code
        • Liquidation Feed
        • Linked Signer Rate Limit
        • Subaccounts
        • Signatures
        • USDC Price
      • Trigger
        • Executes
          • Place Order
          • Cancel Orders
          • Cancel Product Orders
        • Queries
          • List Trigger Orders
      • V2
        • Assets
        • Pairs
        • APR
        • Orderbook
        • Tickers
        • Contracts
        • Trades
        • VRTX Token
      • Rate limits
      • Errors
      • Symbols
      • Depositing
      • Withdrawing (on-chain)
      • Integrate via Smart Contracts
      • Definitions / Formulas
    • Vertex Typescript SDK
      • Getting Started
      • How To
        • Create a Vertex client
        • Useful Common Functions
        • Query Markets & Products
        • Deposit Funds
        • Withdraw Funds
        • Manage Orders
      • User Guide
        • Client
          • Market
            • Place Order
            • Cancel Orders
            • Cancel Product Orders
            • Mint LP
            • Burn LP
            • Get All Markets
            • Get Latest Market Price
            • Get Market Liquidity
            • Get Open Subaccount orders
            • Get Historical Orders
            • Get Max Order Size
            • Get Max Mint LP
            • Get Candlesticks
            • Get Funding Rate
            • Get Product Snapshots
          • Spot
            • Approve Allowance
            • Deposit
            • Withdraw
            • Get Max Withdrawable
            • Get Token Contract for Product
            • Get Token Wallet Balance
            • Get Token Allowance
          • Perp
            • Get prices
          • Subaccount
            • Link Signer
            • Get Subaccount Linked Signer with Rate limits
            • Get Subaccount Summary
            • Get Subaccount Fee Rates
            • Get Subaccount Token Rewards
        • Engine Client
          • Executes
          • Queries
        • Indexer Client
          • Base Queries
          • Paginated Queries
        • Websocket
          • Executes
          • Queries
          • Subscriptions
        • Utilities
          • Contracts
          • Utils
      • API Reference
    • Vertex Python SDK
    • Vertex Rust SDK
    • Contracts
    • API/SDK Terms of Use
Powered by GitBook
On this page
  • Understanding the Margin Manager
  • Margin Usage and Liq. Risk
Export as PDF
  1. Tutorials

Margin Health

Risk management, simplified.

PreviousLend, Borrow & RepayNextPools

Last updated 4 months ago

Because of the exchanges design, every balance, including Unsettled PnL, Perp Positions, Pool, and Spread have some impact on an account's margin.

As such, the Margin Manager is designed to give traders a birds-eye view of everything going on within their account and the impact on margin. It is a tool to understand an account's health and manage risk accordingly.

Understanding the Margin Manager

Head to the Margin Manager page by clicking on Portfolio and using the sub-page navigation.

At the top of the page you will find your account's initial and maintenance margin details:

  • Initial Margin = What you have to trade with aka initiate new positions.

  • Maintenance Margin = What you have until you can get liquidated -- aka maintain.

The rest of the page displays your balances, positions, pools, and spreads. In each table you will find two Weight / Margin columns unique to this page.

The margin part will have a [+] or [-]:

  • [+] = How much it contributes to your available funds and funds until liquidation.

  • [-] = How much it reduces your available funds and funds until liquidation.

The $ totals in the initial and maintenance margin cards at the top are the sums of the weight / margin columns:

  • Available Funds = The sum of all the Initial Margin table columns.

  • Funds Until Liq. = The sum of all the Maintenance Margin table columns.


Margin Usage and Liq. Risk

In the initial and maintenance margin cards at the top will find both a $ and % stat.

Both display the same thing just represented differently:

  • Available Funds and Margin Usage reflect your account's ability to trade.

  • Funds Until Liq. and Liq. Risk reflect how close your account is to liquidation.

You can think of them as the inverse, whereby:

  • $0 = 100%

Margin Usage

  • The percent of your total initial weighted margin being used by positions.

  • Sum [-] initial margin / [+] maint. margin -- represented using a %.

  • 100% Margin Usage = $0.00 Available Funds

Liquidation Risk

  • The percent of your total maint. weighted margin being used by positions.

  • Sum of [-] maint. margin / [+] maint. margin -- represented using a %.

  • 100% liq. risk = Liquidation


Unified Cross-Margin
โค๏ธ
Page cover image