Tutorial: Bots
Introduction
There are two primary types of bots that run on Drift Protocol:
-
Keeper Bots; and
-
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 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 |
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 |
---|---|---|---|---|
JIT Maker Bot | Advanced | Yes | TBD | Tutorial: JIT Maker Bot |