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
  • What are Digital Options?
  • How Much Does it Cost to Long or Short a Digital Option?
  • Risk & Reward for a Digital Option
  • How to trade Digital Options?
  • How to Price Digital Options?
  • What is Put-Call Parity?
  • Why Digital Options?
  • Cash-or-Nothing, Asset-or-Nothing or ???
  • Composability of Digital Options

Was this helpful?

  1. OVERVIEW
  2. Protocol Basics

Digital Options

Digital options, also known as binary or bet options, offer a predetermined risk and reward for the holder. Digital calls and puts are minted as Spear and Shield tokens, respectively.

PreviousProtocol BasicsNextTriangular Swaps

Last updated 10 months ago

Was this helpful?

The Game is a win-or-lose battle, where bullas and beras combat with Spears and Shields, for prizes claimable at expiry. -- anon

Divergence v1 offers European-style digital options, each backed by an ERC-20 token collateral. They are exercised at expiry, paying a fixed amount or nothing at all.

What are Digital Options?

How Much Does it Cost to Long or Short a Digital Option?

Position
Call
Put

Long

Premium

Premium

Short

1 - Premium

1 - Premium

Risk & Reward for a Digital Option

Settlement
Long Call
Short Call
Long Put
Short Put

Price ≥ Strike

Gain 1 - Premium

Lose 1 - Premium

Lose Premium

Gain

Premium

Price < Strike

Lose Premium

Gain Premium

Gain 1 - Premium

Lose 1 -

Premium

How to trade Digital Options?

When using Divergence v1 smart contracts, one can come across:

Each Battle mints Spear and Shield, ERC-20-compliant options tokens of a specific underlying, strike price, collateral, and expiry. A Battle's contract address is not re-used after expiry. A new Battle can be created for the following expiry.

Suppose a digital call costs 0.01 DAI. Its underlying is ETHUSD, and its strike is $2,000. If ETH settles above or equal $2,000, the option pays 1 DAI. Otherwise, it expires worthless. The buyer of this call earns 1 - 0.01 = 0.99 DAI less fees, i.e., a 99x return.

The v1 interface is one of the many ways one may interact with the protocol. The following pages provide concise, step-by-step guides on how to trade digital options:

How to Price Digital Options?

  • There's not a one-size-fits-all theoretical price model that works at all times.

  • Commonly used pricing models typically require discretionary inputs and real-time adjustments. The costs of these adjustments need not be imposed on all participants. Instead, the calculations can be done off-chain by individuals, before a transaction.

Spear and Shield tokens are priced between 0.01 and 0.99 collateral units. Their prices suggest market expectations about the direction of the underlying price.

Suppose you pay 40 USDC to long 100 Spear. You spend 40/100 = 0.4 USDC for a spear. You are estimating a 40% chance that the underlying will settle above the strike price.

What is Put-Call Parity?

A crucial underpinning of Divergence v1's design is the price parity of digital options:

DigitalCallPrice+DigitalPutPrice=1Digital Call Price + Digital Put Price = 1DigitalCallPrice+DigitalPutPrice=1

In other words, at maturity, the probability of a call being profitable and the probability of a put being profitable add up to 100%. One can expect the payoff for a long or short digital option to be:

  • Long Digital Call = Short Digital Put

Suppose Spear/Shield trades at .40/.60.

  • A trader who longs a Spear at .40 expects to receive a 1.0 payout, which includes the initial investment of .40 plus .60 profit if the underlying settles at or above the strike.

  • A trader who shorts a Shield at .60 expects to keep the collected premium as profit under the same condition.

  • Long Digital Put = Short Digital call

Suppose Spear/Shield trades at .40/.60.

  • A trader who longs a Shield at .60 expects to receive a 1.0 payout, which includes the initial investment of .60 plus .40 profit if the underlying settles below the strike.

  • A trader who shorts a Spear at .40 expects to keep the collected premium as profit under the same condition.

Why Digital Options?

Digital options can be used to replicate the payoff structure of any financial asset. They are useful as a hedge against sudden, large price movements in illiquid underlying assets.

Cash-or-Nothing, Asset-or-Nothing or ???

  • Cash-or-Nothing when pool collateral is a stablecoin;

  • Asset-or-nothing when the underlying asset is used as collateral;

In some cases, a pool may be funded with a collateral asset that is different from the underlying asset, and in this case, the payout is a correlated or uncorrelated asset.

Composability of Digital Options

  • Standard European call = Asset-or-Nothing call - Cash-or-Nothing call where the cash-or-nothing call payoff equals the strike value

  • Standard European put = Cash-or-Nothing put - Asset-or Nothing put

    where the cash-or-nothing put payoff equals the strike value

Battle an AMM pool for digital options

Arena deployer and admin of Battle

Spear a European digital call option token

Shield a European digital put option token

Simply put, each and every individual user of the protocol decides the price, as they buy and sell tokenized digital options. The protocol does not use a theoretical pricing model to arbitrarily set option prices. The price for an option is simply the amount of collateral paid divided by the number of options received. enables real-time price discovery:

For more theoretical and practical guides to digital options pricing, see the section.

Spears and Shields can be considered as:

Digital options are the basic components of many structured products. One can use a basket of digital options, or combine digital options with other financial products to compose defined risk strategies. They can be a versatile, powerful tool for .

Digital Options are also . As noted in above video explainers, Asset-or-Nothing and Cash-or-Nothing options can replicate vanilla options:

Therefore they also present opportunities to arbitrage or hedge against standard options available in DeFi and beyond.

⚔️
🏟️
🤿
This model-free approach
reference
hedging a DeFi portfolio
the building blocks of standard options
🤿
Asset-or-Nothing & Cash-or-Nothing Calls Explained
Put-Call Parity Explained
Asset-or-Nothing & Cash-or-Nothing Puts Explained
Binary Puts Explained
Binary Calls Explained
Cover

Digital Call

  • Premium costs less than 1 collateral

  • Buyer has the right to claim 1 collateral, if the underlying price settles at or above the strike.

  • Otherwise, it expires worthless.

Cover

Digital Put

  • Premium costs less than 1 collateral

  • Buyer has the right to claim 1 collateral, if the underlying price settles below the strike.

  • Otherwise, it expires worthless.

Cover

Long Options

Cover

Short Options

A Long Spear is a Short Shield. | A Long Shield is a Short Spear.