Skip to content
Bajamar

Guide

Solana trading bot: how it works and what to check

A Solana trading bot is a program that watches prices and buys or sells tokens for you, following rules written in advance. On every trade it asks for a quote, sends a swap through an aggregator such as Jupiter and pays the network fee, a priority fee and slippage. It does not take risk away: a bad rule simply loses money faster, and you can lose everything you put in. Before you trust one with real money, check who holds your keys, what each trade really costs and how the strategy was measured, and run it in simulation first.

What a trading bot actually does

Strip away the marketing and a trading bot is a loop. It reads data (prices, volume, the balance in your wallet), applies a rule, decides whether to act, sends a transaction if it does and records what happened. Then it starts again, every few seconds or once a day, depending on the strategy.

The rule is the whole story. It might be "buy after a sharp drop on very heavy volume and sell a few hours later", or "hold more SOL while the trend points up and less when it breaks". The bot has no idea whether the rule is any good. It just applies it without getting tired or scared, which helps when the rule works and gets expensive when it does not.

Solana suits bots because transactions confirm quickly and the base fee is small. The same speed works against you: a mistake in the rule repeats just as quickly.

From quote to swap: what happens in each trade

First comes the quote. The bot asks an aggregator such as Jupiter how much of token B it would get for a given amount of token A. Jupiter looks across many markets on Solana and proposes a route with the expected amount out. The quote is a snapshot: by the time the transaction lands, prices may have moved.

Then the swap. The bot builds a transaction with that route and a maximum slippage, your wallet approves it with your key, and it goes out to the network. If the price has moved beyond the limit, the swap fails instead of filling at a worse price.

Last, the check. A careful bot compares what it actually received with the quote and writes down why it acted, including the times it chose to do nothing.

Fees, slippage and priority: the costs that eat small edges

Network fee. Every Solana transaction pays a small base fee, whether it succeeds or not. Tiny on its own, it adds up quickly for a bot that trades often or retries failed swaps.

Priority fee. When the network is busy, a transaction can carry a priority fee so that validators process it sooner. A strategy that does not need to be first can keep this cost low.

Slippage and price impact. Slippage is the gap between the quoted price and the price you actually get. In tokens with little liquidity, even a modest order moves the price against you. A wide slippage tolerance gets more trades through, at worse prices; a tight one fails more often.

Market fees and other small costs. Each market along the route keeps a small fee, some tokens take a cut of every transfer, and opening a new token account locks up a little SOL as rent. A round trip pays most of these twice, going in and coming out.

Add it all up for a full round trip and compare it with what the rule expects to make on each trade. Plenty of rules look good before costs and lose after them.

What to check before you use one

Who holds the keys? Nobody needs your secret recovery phrase to run a bot, and anyone who asks for it is a red flag. A bot that runs on your computer should keep the key encrypted there, behind your password.

Who holds the money? If you send funds to an address someone else controls, you are trusting that person or company, not a bot. Keeping funds in your own wallet does not remove market risk, but it removes one way of losing everything.

What does a trade really cost? Look past the headline. A subscription, a cut skimmed from each swap, an inflated slippage setting or a route that pays someone along the way all come out of your result.

How was it measured? Screenshots of winning trades prove nothing. Ask for results with costs included, over a stated period, compared with simply holding SOL and with the same strategy entering at random. A rule that cannot beat those two has no edge.

Can you stop it, and can you see why it acted? Look for real money switched off by default, a daily loss limit, an easy way to stop everything and a record of every decision.

Why start in simulation

Simulation, also called paper trading, runs the same rule on live prices without moving any money. You see how often it trades, how it behaves on bad days and whether, after costs, it does better than doing nothing.

Simulation is kind to you. It cannot fully reproduce slippage, failed transactions or liquidity that vanishes right when you need it, so results with real money tend to come out worse. Treat it as a filter: a rule that fails in simulation will not do better with real money, and a rule that passes has earned a closer look, not a promise.

Where Bajamar fits

Bajamar is a Solana trading bot that runs on your computer, with your own wallet. The key is stored encrypted with your password and nobody at Bajamar sees it. Everything starts in simulation: real money comes switched off and only goes on if you decide so, with your password. The app and simulation are free.

Every strategy is measured against random entries and against doing nothing, with costs included, and every rule is written before the data is seen. So far, 16 strategy rules have been put through formal tests, and none has cleared its bar. No system wins every day, and Bajamar does not promise profits: it shows what it measures.

Frequently asked questions

Can a Solana trading bot make money?

Nobody can promise that it will. A bot only applies a rule, and if the rule has no edge after costs, the bot loses money in a very disciplined way. Trading crypto can cost you all the capital you put in, and past results, real or simulated, do not predict future ones.

Do I have to give a bot my seed phrase?

No. Your seed phrase, or secret recovery phrase, is the master key to your wallet, and no bot needs it. Anyone who asks you to type or paste it into a website or a chat is after your funds.

Why do my swaps fail?

Usually because the price moved past your slippage limit before the transaction landed, because the network was busy and the priority fee was too low, or because the wallet did not hold enough SOL for fees and rent. A failed swap usually still pays its network fee.

How long should I run a bot in simulation?

Until it has closed enough trades to be compared fairly, not until it has a good week. Bajamar's rule, for instance, asks for at least 30 trades closed by the strategy itself, over 10 days or more, before it can show an edge, and the strategy must also beat random entries and holding SOL after costs.

A single app, no Node, no terminal

The desktop app for Mac and Windows carries the bot inside: double-click, wallet, and try it in simulation. Helping the network is up to you.

Download the app

More guides