Drift Protocol v2

⌘K
👾Welcome to Drift Protocol
📺Drift DEX
👋Getting Started
📈Perpetual Futures
📊Spot Margin Trading
🏦Borrow & Lend
🏛️Staking
🏪Market Makers
🔬Technical Explanations
📏Accounting and Settlement
➗Borrow Interest Rate
📜Delisting Process
⛲Drift AMM
🏃Just-In-Time (JIT) Auctions
📚Keepers & Decentralised Orderbook
☠️Liquidators
💧Liquidity Providers (LPs)
📋Protocol Guard Rails
📝Risks
🖥️Developer Resources
📔Program/Vault Addresses
⌨️SDK Documentation
⌨️Tutorial: Bots
⚠️Troubleshooting
🛠️Keeper Bots
🛠️Trading Bots
⌨️Historical Data (v1)
⌨️API
🛡️Security
🛡️Audits
🛡️Bug Bounty
⚖️Legal and Regulations
📝Terms of Use
📝Disclaimer
📝Privacy Policy
📝Competition Terms and Conditions
Sweepstakes Details
📚Glossary
Docs powered by
Archbee
Drift DEX
Market Makers

Market Maker Participation

6min

For more information on incentive programs for Market Makers, see Maker Rebate Fees

Introduction

Any user can participate as a Market Maker on the platform. Market Makers can provide liquidity through either:

  1. Just-in-Time Liquidity (see Just-In-Time (JIT) Auctions); or
  2. Post-Only Orders on the decentralised orderbook (see Keepers & Decentralised Orderbook).

Just-in-Time Liquidity

Makers can participate in the JIT auction and provide just-in-time liquidity as Taker flow comes in.

This will provide Makers with an opportunity to see retail flow five seconds before it hits the market.

Market Makers can participate in the JIT system by running a JIT Maker Bot. For more information, check out Tutorial: JIT Maker Bot

For more information on the Just-in-Time Liquidity system, check out Just-In-Time (JIT) Auctions

Decentralised Orderbook

Makers can also provide liquidity to Drift's decentralised orderbook by quoting via the UI or programmatically through the SDK Documentation

(a) providing liquidity via the UI

Placing 'Post-Only' limit orders via Drift's UI qualifies the order as a maker order.

This order won't be executed against the AMM or go through the JIT. It will sit in the decentralised orderbook until a taker for that price comes along.

The 'POST' flag is toggled on here.
The 'POST' flag is toggled on here.


(b) programmatic market making with a floating maker bot

Drift has an open-sourced bot that programmatically quotes bids and asks around the oracle price. These quotes are automatically updated as the oracle price moves.

In practice, the floating maker bot will quote above and below the oracle to provide liquidity around the oracle price. Makers that run the bot will be able to collect the spread as the price moves.

Drift currently runs this bot, along with some additional risk parameters, on the platform for-profit. We've open-sourced the build here for any user to run something similar.

Floating Maker Bot - Github Link: https://github.com/drift-labs/keeper-bots-v2/blob/master/src/bots/floatingMaker.ts



Updated 07 Mar 2023
Did this page help you?
PREVIOUS
DLP - Drift Liquidity Provider
NEXT
Maker Rebate Fees
Docs powered by
Archbee
TABLE OF CONTENTS
Introduction
Just-in-Time Liquidity
Decentralised Orderbook
(a) providing liquidity via the UI
(b) programmatic market making with a floating maker bot
Docs powered by
Archbee