🤖 Tutorial Bots

Tutorial: Bots

Introduction

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

  1. Keeper Bots; and

  2. Trading Bots.

The reference implementation for all Keeper bots mentioned in these docs is available here (opens in a new tab).

All bots require some amount of SOL to pay 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 crucial to the platform.

Keepers are rewarded depending on the duties that they perform.

The various types of keeper bots are:

Bot TypeDifficultyCapital RequiredRewardsLink
Matching BotBasicNoTBDTutorial: Order Matching Bot
Order TriggerBasicNoTBDTutorial: Order Trigger Bot
LiquidatorAdvancedYesTBD

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 TypeDifficultyCapital RequiredRewardsLink
JIT Maker BotAdvancedYesTBDTutorial: JIT Maker Bot