Drift Protocol v2

โŒ˜K
๐Ÿ‘พWelcome to Drift Protocol
๐ŸงฎDrift DEX
๐Ÿ‘‹Getting Started
๐Ÿ“ˆPerpetual Futures
๐Ÿ“ŠSpot Margin Trading
๐ŸฆBorrow & Lend
๐Ÿ›๏ธStaking
๐Ÿ”ฌ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
๐Ÿ“”Overview
โŒจ๏ธ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
๐Ÿ“šGlossary
Docs powered byย archbeeย 
5min

Tutorial: Bots

Introduction

There are two primary types of bots run on Drift Protocol:

  1. Keeper Bots; and
  2. Trading Bots.

The reference implementation for all Keeper bots mentioned in these docs are available here.

All bots require some amount of SOL to pay for transaction fees.

Keeper Bots

Keeper Bots are integral to the performance of Drift Protocol. They perform automated actions as autonomous off-chain agents that are criticial to the platform.

Keepers are rewarded depending on the duties that they perform.

The various types of keeper bots are:

Bot Type

Difficulty

Capital Required

Rewards

Link

Matching Bot

Basic

No

TBD

๏ปฟ๏ปฟ๏ปฟTutorial: Order Matching Bot

Order Trigger

Basic

No

TBD

๏ปฟ๏ปฟ๏ปฟTutorial: Order Trigger Bot

Liquidator

Advanced

Yes

TBD

๏ปฟ๏ปฟTutorial: Liquidator Bot๏ปฟ

Trading Bots

Trading Bots are for-profit bots run on Drift Protocol for the purposes of automating particular trading strategies. In addition to the financial incentive, Trading Bots provide other users on the exchange with better, more accurate pricing and better liquidity.

There are two primary types of trading bots that can be run on Drift Protocol. We have provided examples here:

Bot Type

Difficulty

Capital Required

Rewards

Link

Arbitrage Bot

Advanced

Yes

TBD

๏ปฟ๏ปฟ๏ปฟTutorial: Arbitrage Bot

JIT Maker Bot

Advanced

Yes

TBD

๏ปฟ๏ปฟTutorial: JIT Auction Maker ๏ปฟ

Updated 03 Dec 2022
Did this page help you?
Yes
No
UP NEXT
Troubleshooting
Docs powered byย archbeeย 
TABLE OF CONTENTS
Introduction
Keeper Bots
Trading Bots