🧩Bot Strategy

The bot provides a lot of different configurations, which can allow users to use different types of strategy running it. There are unlimited ways to use the bot, here just list out a few that is known to work well.

Jito-only strategy

This is the default strategy for the bot.

When using jito-only, you are not afraid of failed tx eating your profits, so with this strategy you usually want to set ENABLE_SIMULATION=false and trying to maximize the 10/s Jito transaction limits, by either having a lot of mints or a lot of trade sizes.

Example: Demo account config in Config examples

Catch-all strategy with a lot of mints

This type of strategy usually involves using yellowstone with a large number for INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE, some may also hand craft a large intermedium-mints.json file. This strategy tries to catch all possible movements for different mints, in the cost of not being able to have a small PROCESS_DELAY, hence may not be able to catch the opportunity at the earliest possible time.

Example:

Shyft account config in Config examples

Spam strategy

This strategy sends transactions through borht jito and spam, and you usually

When using ENABLE_SPAM=true, failed transaction is a big part of your cost. You usually want to either set ENABLE_SIMULATION=true, or have SKIP_PREFLIGHT=false to reduce the failed transactions, and figuring out a good priorityFeePercentile to use in your base-mint.json based on your setup.

Example:

Spam config in Config examples

Focused strategy with a few selected mints

This type of strategy usually just use a very small set of mints, but focusing on speed and trying to catch the opportunity at its earliest time. This usually involves a small or even 0 value for PROCESS_DELAY, usually paired with a hand crafted intermedium-mints.json file, and sometimes only running SOL as base mint and set USE_DIRECT_ROUTE_ONLY=true to minimize the time for finding an opportunity. This strategy does need you to manually or write a script to automatically update the intermedium mints as market can shift its focus pretty quickly.

Super spam strategy with only 1 or 2 mints

This is a high risk strategy, if not configured correctly you may burn a lot of SOL through gas fee. Make sure you know what you are doing and keep an eye on it while tuning it.

This is a high risk high reward strategy, and need you to always watch out to the market and willing to take the risk. This will only work on days where market is super active, and likely only lose you money when the market is dry.

The idea is very simple, you just keep spamming a lot of transactions on the mints that is having the highest volume and velocity, ignoring whether it has profit or not, using minimum fee to land an arb tx in every slot possible. A good amount is to land 20-100 tx per minute, and some of them will eventually hit some big arbs. A working setup of this may likely cost you 0.2 SOL - 1 SOL per hour for just the gas fee. And you will be rewarded with some big arbs that may get you a few SOL in profit every few hours.

Due to the high gas burn rate, this requires you to always watch out for the market trend and quickly switch mints when attention is no longer there. If you just leave it running overnight you are very likely going to lose a lot of gas fee if market turns to a different direction. Knows when to stop running this while there's no good target is also part of the strategy.

The key part of this strategy is when and which - when to use this and which mint to use for arb. And that will make most of the difference using this strategy. You also need several good RPCs for sending, and this is one of the rare strategies that you want to turn of Jito.

This strategy takes some time to tweak, as you need to find the balance between number of tx you send/fee you pay/mints you use. And if not configured correctly, this can burn your SOL very quickly. Make sure you keep an eye on your SOL balance while tuning this strategy to not lose too much to the gas.

Flashloan is also a good option to enable with this strategy if you don't have enough fund. See an example of it from a bot user:

Example:

Super spam config in Config examples

High fee spam strategy

This is a high risk strategy, if not configured correctly you may burn a lot of SOL through gas fee. Make sure you know what you are doing and keep an eye on it while tuning it.

This is a completely opposite strategy of super spam. With this strategy, you want to be the first one to catch an opportunity when it appears, using a very high priority fee.

This strategy has the highest requirements for all of your hardware and RPC setups. You want as little latency as possible everywhere. You want minimal ping from your server to your RPC, minimal time to find the opportunity, minimal time for Jupiter to update the price info, minimal time from sending to landing the transaction. You may also want to enable simulation to minimize the potential failed ones.

With this config, you want to set SPAM_RESTRICT_LEVEL to a none 0 value to reduce the number of failed transactions that landed too far away from when you send them, and likely sending it through multiple different RPCs to maximize your chance of landing it fast.

You may also want to set a high minProfit as a failed transaction can be very costly.

With this strategy you need to enable simulation to reduce failed tx, ENABLE_JITO_RPC is also a very useful config to enable if you are using a jito rpc.

spamFeeBps is another config that can help you land here, so you can pay more fee for potential high profit tx.

When choosing RPC for sending, make sure you use the tool https://github.com/Cetipoo/solana-rpc-benchmark-tool to test if your RPC is good enough to land a transaction within 3 slots with a high enough priority fee and a compute unit limit that is close to what you send. If your RPC cannot do that, this strategy is not for you.

You also don't want to set too many different trade sizes, as you may send multiple tx for the same opportunity, and waste a lot of gas on failed ones as most likely only one of them can land at most.

BloXroute is also good for landing tx. You can try set ENABLE_BLOXROUTE to true with this strategy. Do note it takes an additional 0.0005 SOL fee for each successful landed tx.

Example:

High fee spam config in Config examples

Last updated