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:
Tutorial: Arbitrage Bot
JIT Maker Bot
Tutorial: JIT Maker Bot
Note: all bots require some amount of SOL to pay transaction fees.
The reference implementation for all bots mentioned in these docs is available here.
Updated 13 Apr 2023
Did this page help you?