Divergence Protocol
  • OVERVIEW
    • Divergence Protocol
    • Protocol Basics
      • Digital Options
      • Triangular Swaps
      • Convertible Liquidity
      • Options Specs
      • Fees
      • Glossary
      • References
  • User Guide
    • 📈Long Options
      • 🔥Open Longs
      • 🌊Close Longs
      • 👨‍🌾Exercise Options
    • 📉Short Options
      • 💧Open Shorts
      • 🔚Finalize Shorts
      • 📥Close Shorts
      • ⏰Expiry Withdrawal
    • 🍸Dive Bar
  • Technical Reference
    • Smart Contract Architecture
      • Deployment addresses
    • Core
      • Arena
      • Battle
      • Oracle
      • Utils
      • SToken
      • Interface
      • Libraries
        • DiverSqrtPriceMath
        • Position
        • Tick
        • TickMath
        • TradeMath
      • Params
      • Types
    • Periphery
      • Manager
      • Base
      • Interface
      • Quoter
      • Libraries
      • Params
      • Types
    • Audit Reports
  • DIVER Token
    • 🌝Tokenomics
      • Token Distribution
    • 🎃DIVΞR NFT Collections
  • Legal
    • Terms of Service
    • Risk Disclosure
  • MISC. INFO
    • 🔗Official Links
    • 🙌Media Kit
    • 🚢Ditanic Test Coins
Powered by GitBook
On this page

Was this helpful?

  1. User Guide

📉Short Options

Liquidity providers are options sellers. They passively sell calls or puts at custom prices. In a pool, multiple liquidity positions can be minted, each as an NFT.

Previous👨‍🌾Exercise OptionsNext💧Open Shorts

Last updated 1 year ago

Was this helpful?

If you are new to the Divergence Protocol, it is advised to start with the .

In fact, a liquidity provider is a fee-earning passive trader, according to . If one is bullish, an alternative to buying a call is to short a put. Conversely, when one is bearish, a short call works similarly to a long put.

Unlike a traditional limit short order, a liquidity position on Divergence v1 is minted for the purpose of facilitating swaps. The pool contract is not able to stop a position from being crossed until its liquidity provider signs a transaction to . As the price moves back and forth in its price range, a short position can sell both calls and puts.

A liquidity position is intended to sell calls between [0.30, 0.80]. Once the current price enters its range, it can also sell puts between [1 - 0.80, 1 - 0.30], or [0.20, 0.70].

An option pool's open interests are settled in this logical order:

A long call and a long put settle each other, regardless of the outcome.

Any remaining longs in calls or puts in the pool are then squared with the LPs.

LP's exposure equals the position's net shorts in either calls or puts. The seed liquidity amount and the selected price range determine whether the LP will sell more calls than puts (short on call) or vice versa (short on put), and the maximum net amount of options a position can short.

When removing liquidity, the smart contracts compute a finalized amount of net shorts in calls or puts owed to a position. After reserving collateral for settlement, unused liquidity is returned.

An LP can before expiry, by burning the amount of options net shorted. If not already owned, these options tokens can be market , the same as how typically works.

Suppose a liquidity position is minted with collateral. After removing liquidity, it sells 3 calls and 5 puts. The LP is said to have net shorted 5-3=2 puts. Its LP needs to send 2 shield tokens (as puts) to the contract to redeem 2 collateral.

The position's PNL = 2 * ( effective price for open shorts - buyback price)

After the expiry, anyone can call the contract to settle the options. If the calls (or puts) settle out of money, their open shorts become profitable. One collateral can be withdrawn for each.

A position sells 3 calls and 5 puts at expiry. The LP is said to have net shorted 5-3=2 puts. If puts expire out-of-money, its LP can settle the position and withdraw 2 collateral. If the puts expire profitably, however, the collateral reserved for settlement goes to the put holders. No collateral can be withdrawn by the LP.

The following provide step-by-step guides about using the protocol interface to:

1️
2️
protocol basics
remove liquidity
close a position
bought
short covering
Drawing
the put-call parity