Spin
WebsiteTwitterTelegramDiscord
  • ๐Ÿ‘‹Welcome to Spin
  • Spin Products
    • ๐ŸŒ Spot Trading
    • โšกInstant Swaps
    • ๐Ÿ†Perpetual Futures
    • ๐Ÿช™DeFi Option Vaults
      • โ˜€๏ธCovered Call Strategy
      • ๐ŸŒ•Cash-Secured Put Strategy
    • โœจOther AIPs
  • Contracts specification
    • โšชNEAR-Perp
  • SPIN Token
    • ๐ŸŽ‡SPIN Utilities
    • ๐ŸฃPublic Token Sale
    • ๐Ÿ“Tokenomics
    • ๐Ÿ’ซMarket Maker Incentives
    • โ›ฒTrader Incentives
    • ๐Ÿ›ธSPIN Staking
    • โš“Insurance Fund
  • Freaky Elves
    • ๐Ÿ‘พFreaky Elves NFTs
    • ๐ŸฆšSecret Chat on DS
  • Tech Documentation
    • ๐ŸŒฑSC Methods & API
    • ๐Ÿ€Perpetuals
      • ๐ŸŒฟTrading Modules
      • ๐Ÿ”‹Collateral
      • ๐Ÿ’ธUnrealized PnL
      • ๐ŸงชFunding
      • ๐Ÿ›ฃ๏ธMargin ratio & Liquidation
  • User Guides
    • ๐Ÿ“ˆSpin Trading Strategies
    • โฒ๏ธUsing Ledger on Spin
  • Links
    • ๐Ÿ”—Useful links
Powered by GitBook
On this page

Was this helpful?

  1. Tech Documentation
  2. Perpetuals

Collateral

PreviousTrading ModulesNextUnrealized PnL

Last updated 2 years ago

Was this helpful?

The collateral is the amount of funds blocked in the user's margin account when placing an order or increasing the net position. This is the insurance that guarantees the fulfilment of the trader's obligations. Collateral is calculated for each open position and for each standing order.

Calculation of the collateral Cp for positions:

Calculation of the collateral Co for open orders:

Mark price is used for the market orders.

๐Ÿ€
๐Ÿ”‹