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.
All bots require some amount of SOL to pay transaction fees.
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:
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: