Zeta Markets: A Leading Undercollateralized Options Trading platform on Solana, powered by Serum

Published on: 05.11.2021

Project Serum is thrilled to be working closely with Zeta Markets, which is one of the leading decentralized derivatives platforms on Solana. 

Winners of the ‘Solana Season’ hackathon, the Zeta Markets project set out to build an under collateralized derivatives exchange, enabling anyone to effectively hedge risk against crypto market movement and events.

In the early stages of ideation, core contributors to the Zeta Markets project realized that the base layer for complex derivatives like options needed to be high-speed, high-throughput, and fully decentralized.

Zeta initially explored multiple other chains but settled on Solana as the primary contender due to the throughput and the responsiveness of the Solana blockchain, and the unique orderbook primitive that existed in Serum, allowing a CeFi-like experience on Solana.

Zeta’s thesis is that true price discovery, and deep liquidity occurs via orderbooks in the long run, and Serum has enabled a unique primitive built by Zeta — A hybrid OMM-orderbook approach, which will define the DeFi option trading for years to come…

Our goal is to provide a platform where traders aren’t sacrificing ease of access, capital efficiency or liquidity, and instead have a professional-grade platform to trade derivatives on a number of crypto-centric underlyings.

DeFi derivatives are ripe for innovation

Web3 opens up a large number of possibilities and risks with digital ownership. Risks in crypto can get complicated, and having the tools to protect against those risks is becoming increasingly important. Here are some of the benefits Zeta believe they can offer to the world of decentralized derivatives:

📌 Speed and Efficiency

  • Building a derivatives protocol on Solana provides traders the ability to trade at lightning speed on the Serum orderbook with almost zero cost, unlike current platforms which force developers to build parts of their program off chain or on Layer 2 to keep costs down for their users.

📌 Liquid Markets

  • Zeta’s proposed AMM — the Options Market Maker (OMM), will provide superior yields to Liquidity Providers (LPs), as well as encourage liquidity by making markets on every product listed. They use a dynamic Options Market Maker (OMM) that takes in information from every trade to determine a fair option value, responding in the same way a ‘real’ market maker would. This allows for infinite horizontal scalability to any tail liquidity tokens and strikes.

📌 Under-collateralization

  • Collateral is significantly reduced on Zeta’s options platform. This is due to the millisecond block times offered by Solana and the robust liquidation engine that’s able to be built around the more frequent mark to market updates. They also recognize that options in conjunction are often less risky than standalone, and actively reduce trader’s required collateral for spreads, strangles, straddles, flies, and more.

📌 Novel Derivatives

  • Zeta’s priority is to provide products that real crypto natives care about. They will be looking to list not only derivatives on spot prices but derivatives on blockchain information, gas fees, funding rates, and more — with community feedback at every step.

Decentralised Options Markets

Many established options markets in DeFi use an AMM to price their premiums. AMMs are great for bootstrapping the liquidity of a market, however, they leave important variables out of scope when it comes to pricing options. This can lead to stale prices on the premium of the options, and as a result, can generate large amounts of impermanent loss for liquidity providers.

Order books allow you to state the exact price for the purchase or sales of your options. This allows liquidity providers to update the prices of their options in real time to reflect changing market conditions. Of course, with order books, fulfilment of your order is not guaranteed, and you must wait for someone to take the other side of your trade.

The Zeta Markets project is in effect, combining the options AMM model, with an order book to provide a hybrid options market consisting of both the orderbook and an options market maker (OMM). This is where the project takes advantage of Serum as a core module for their application. The Serum order book is the most active way a user would directly interact with Zeta. Each strike price has its own distinct market ID on the Serum order book, allowing traders to place orders for options at the exact price (premium) they want. The OMM is a virtual counterparty that helps bootstrap the market, sending orders directly to the Serum orderbook, and providing a baseline level of liquidity for traders to buy and sell options against. The OMM gives liquidity providers a way to interact with Zeta passively through its robust options pricing algorithm.

Pricing Options

Pricing options is more complicated than the method of price discovery that AMMs alone provide. This is because options pricing considers the probability of a future event (the expiry price). Traders have different ways of calculating options prices, but one of the common tried and tested mathematical models for options pricing is the Black-Scholes-Merton (BSM) formula. Zeta’s OMM uses the BSM formula, taking into account the real time changes in volatility of the underlying, to price the options it places onto the Serum orderbook.

In practice, the Zeta OMM actually uses a derivative of the BSM options pricing formula — Black-76.

The model inputs:

  • Forward Price: This is calculated using the underlying price provided by the oracle, the risk-free rate, and the time till expiry.
  • Volatility: Of the underlying asset is calculated by the on-chain volatility surface that the OMM maintains.
  • Risk-Free Rate: This is derived by the OMM which stores the risk-free rate curve.
  • Strike: Is the price predefined in the contract for which to buy or sell the underlying — this a parameter defined in the options contract.
  • Time to expiry: This is the point in time when an option will be exercised — this is a parameter defined in the options contract.

Using these parameters and the Black-76 pricing equation, the options price is determined by the OMM, creating a passive options market-making strategy for liquidity providers, and bootstrapping the trading of decentralized options on the Serum orderbook.

For more information on the mechanics of the Zeta OMM see here.

Zeta’s v1

Zeta’s devnet product is live. To illustrate how its vanilla options protocol leverages Serum, take note of the two-sided market above with orders available for SOL/USDC call options at a strike price of $189. The orders have been placed into this market by the OMM, waiting for active traders to trade against them. The order book allows you to place an order on either side at your desired price. If your price crosses the spread, some or all of your transactions will be traded against by the OMM. In this version, the OMM is limited in its scope and ability to provide liquidity and so generally orders placed by the OMM are currently 25 units.

You can try out their devnet product at https://devnet.zeta.markets/

Permissioned Markets

Each strike price for different options (call/put) initializes a unique serum market per option product (that’s a lot of Serum markets!). This is made possible with Serum’s new permissioned markets functionality, containing Zeta’s markets within the confines of its own application, whilst maintaining all of its logic on-chain.

Margining System

The Zeta Markets project has been built with capital efficiency in mind. Zeta Markets will provide cross margining for trading undercollateralized options, meaning that the user’s entire portfolio is treated as one account for the purposes of leverage. All open orders accounts are paired up with the user’s margin accounts to process trades with respect to their available margin. Everything is completely on-chain.

Serum Optimisations

The product has been built in a way where Serum markets are actively reused after an option series has expired, creating a circular buffer of markets in chronological expiry order. This requires them to clean each market and use smart contract logic to ensure they are “ready” to be traded again after expiry.

They have also built the platform in such a way that makes all taker orders and order cancellations atomic with the instruction that checks user margin account state. Therefore the only thing the event queue needs to process is the update to the user margin accounts on maker trades.

Future Integrations

The new Serum Core provides some key benefits for developers building order book traded decentralized derivatives on Solana.

In future versions, they may look to migrate Zeta to Serum Core to gain flexibility on the fee structure, and also remove boilerplates around the SPL token logic in the existing Serum Dex. since those tokens are just used for the serum smart contract mechanics.

Agreement value accrual

Serum and Zeta have agreed on a long-term strategic partnership where Zeta will rely on the ongoing development and maintenance of Serum’s unique orderbook technology as a core module for its decentralized options exchange.

Strategically, both Serum and Zeta have committed to supporting the growth of ecosystem partners, with both parties exploring further integration of derivatives products in the future.

Conclusion

Decentralized derivatives on Solana are a great example of how DeFi primitives can come together to create something bigger than the sum of their parts. Zeta Markets is a prime example, and we look forward to the coming wave of innovative primitives and derivatives platforms.

SOURCE

Market Stats:
BTC Dominance: 58.02%(-1.45%/24h)
ETH Dominance: 12.35%(+0.33%/24h)
Defi Market Cap: $96.23B(+50.60%/24h)
Total Market Cap: $3336.31B(+1.19%/24h)
Total Trading Volume 24h: $221.4B(+4.76%/24h)
ETH Market Cap: $411.36B
Defi to ETH Ratio: 23.39%
Defi Dominance: 2.77%
Altcoin Market Cap: $1400.44B
Altcoin Volume 24h: $174.96B
Total Cryptocurrencies: 32384
Active Cryptocurrencies: 10187
Active Market Pairs: 90894
Active Exchanges: 762
Total Exchanges: 9613
BTC: 97857.24$(0.38%/1H)
ETH: 3421.88$(0.61%/1H)
AVAX: 41.59$(0.1%/1H)
BNB: 652.37$(0.5%/1H)
MATIC: 0.57$(1.27%/1H)
FTM: 0.87$(1.69%/1H)
ADA: 1.06$(1.22%/1H)
DOT: 8.58$(1.38%/1H)
UNI: 10.72$(-0.59%/1H)
CAKE: 2.25$(-0%/1H)
SUSHI: 1.15$(3.52%/1H)
ONE: 0.02$(6.18%/1H)