← Lanova · Lanova Learn

How Trading Bots Work Under the Hood: One Cycle of Our Arena, Part by Part

November 26, 2026 · By Paul Geller · Lanova Learn · Practical Track
Lanova bot arena scorecard showing paper-trading entrants, their closed trades and pass or fail status

Short answer: a trading bot is not a brain. It is a loop that runs the same six steps every cycle — fetch prices, compute indicators from closed bars, check each written entry rule, fill on the next bar if a rule fires, check exits and stops, then write everything to a ledger a human can audit. Ours runs 14 entrants through that loop on paper money, and as of the scorecard generated November 26, 2026, 15:37 UTC they have closed 241 trades between them and passed exactly zero. This page takes the loop apart using the arena itself — the real rules, the real costs, and one real cycle where the safety layer overruled a trade. If you have already set up a paper bot, this is what is happening inside it.

The six steps of one cycle

Every entrant in the arena — rule-based, scanner-following, wallet-mirroring, or an outside agent — gets graded through the same machinery. One cycle of the bar-based lanes looks like this:

StepWhat actually happensWhy it is built that way
1. FetchNew price bars are pulled for the 9-coin universe; each entrant's saved state is loaded from the databaseThe bot restarts fresh every cycle — its memory is the database, not the process
2. ComputeIndicators (RSI, EMAs, Donchian channels, Kalman filter, Hurst exponent) are rebuilt from closed bars onlyAn unfinished bar repaints; a decision made on it would be a decision on a price that never settled
3. Check entriesEach strategy's one written entry rule is tested against the latest closed barOne rule, written down before the run — no discretion, no second-guessing mid-trade
4. FillA fired signal becomes a pending order that fills on the NEXT bar, at that bar's price plus costsYou cannot trade at the close of the bar that created your signal. Next-bar fills are slower and honest
5. Check exitsOpen positions are tested against their signal exit, then their stop, take-profit or trailing stopExits run even when entries are blocked — getting out is never switched off
6. RecordClosed trades go to the ledger; the scorecard is recomputed and republishedIf it is not in the ledger, it did not happen. The scorecard is a report on the ledger, not on anyone's memory

Two layers sit above the loop and can overrule it. The kill switch can block step 4 for an entrant that has lost too much — drawdown of 20% of its $1,000 reference base, or $50 of closed losses in one UTC day — while steps 5 and 6 keep running. And the cost model is applied inside every fill, not waved at later: a flat $100 paper notional per trade, slippage of 0.1% per side on majors and 0.5% on memecoins, our 0.25% swap fee per side, and a transaction-fee allowance of about 0.1% per side for priority fees and failed transactions. A bot that only wins before costs has not won.

The rulebooks: five strategies, five one-sentence brains

Here are the bar-lane entrants' rules exactly as the engine runs them — entry, exit, and the locked stop each one carries. Notice how small each brain is. That is normal. A bot's rulebook fits on an index card; everything else is plumbing.

EntrantEnters whenExits whenLocked stop
RSI mean-reversionRSI-14 drops below 30RSI climbs back to 55−6% stop / +8% take-profit
EMA trend-followEMA20 crosses above EMA50 (needs 55+ bars of history)EMA20 crosses back below EMA508% trailing stop
Donchian breakoutClose breaks the prior 20-bar high AND volume is at least 1.2× its 20-bar averageClose falls below the prior 10-bar low10% trailing stop
Kalman dynamic MR (two entrants: majors only, and all-9 control)Kalman z-score drops below −2.0 — price is two standard deviations under its filtered trendz-score recovers above −0.5−8% hard stop
Hurst-gated RSIHurst exponent is below 0.5 (the series is mean-reverting, not trending) AND RSI is below 30RSI climbs back to 55−6% stop / +8% take-profit

The other lanes feed the same loop differently. The scanner follower takes its entries from our scanner grades instead of bars. The five mirror entrants watch real wallets and copy their moves on paper. Two outside entrants — an Ollama-driven agent and an EMA bot built with a GitHub strategy factory — book their trades through bridge modules under the same pass bar, cost model and kill switch as everyone else. Different brains, one loop, one ledger.

Worked example: run #221, the cycle where the switch said no

On November 26, 2026, 15:37 UTC the arena published run #221. Its notes contain the whole anatomy in two lines. First: the scanner follower wanted ANSEM — our scanner had flagged it, the entry rule fired — and the run note reads, word for word, "scanner: entry for ANSEM skipped — kill switch tripped". Same for a second coin, YUMA. The strategy layer said buy; the safety layer, which sits above it, said this entrant has already lost its budget — it closed 102 trades at a 23.5% win rate, tripped both the drawdown line and its grading — and no new trade opened. Its 5 existing positions still get their exits checked every cycle. That is the loop working as designed: the part of the bot that wants to trade does not get the final word.

The same scorecard shows the loop's quieter entrants mid-flight, which is the other thing people misunderstand — a bot with no closed trades is not idle. The EMA trend bot held 8 open positions and 0 closed trades: its cross-up entries fired, its cross-down exits have not, so the ledger shows nothing yet. The Donchian bot had closed 2 trades, both losers, −$15.07 — a tiny, honest sample that says almost nothing, which is why we judge nobody before 30 closed trades. The RSI bot leads the bar lanes on paper — 7 closed, 85.7% win rate, +$19.73 — and is still labelled "still collecting (7/30)" on its own scorecard row, because 7 trades is a story, not a record.

The scoreboard the loop feeds

Every cycle republishes the same table, graded against a pass bar that was fixed before any of these bots traded: at least 60% win rate, at least 30 closed trades, net profit of at least +10% of the $1,000 reference base, no single trade making more than half the gross profit, and max drawdown under 20%.

EntrantClosedWin rateNet (paper)Status
Scanner follower10223.5%−$1,187.20FAIL — kill switch tripped
Mirror Decu (KOL control)1210.0%−$595.43FAIL — kill switch tripped
RSI mean-reversion785.7%+$19.73Still collecting (7/30)
Kalman MR — all 9 (control)3100%+$6.92Still collecting (3/30)
Kalman MR — majors (lead)2100%+$2.92Still collecting (2/30)
Donchian breakout20.0%−$15.07Still collecting (2/30)
Everyone else (8 entrants)0–3 each——Still collecting

One honesty detail in that table: the scanner follower's net is the winsorized figure. Its raw ledger once contained two trades booked at a bad price print that fabricated a +272,334% total, so every aggregate on the scorecard caps each trade's return at +200% (and floors it at −100%), with the raw ledger untouched and the reason printed on the scorecard itself. A bot is only as honest as its bookkeeping — bad prints are part of the anatomy, and how a system handles them tells you more than its win rate. The live table is on the bot arena page.

What the loop cannot do

It cannot adapt. When the market changes character, a locked rulebook keeps doing the old thing until a human changes it between runs — our arena's losers are losing in exactly this way, in public. It cannot tell a real signal from a manipulated one: a thin coin's bars can be bent by one wallet, and the loop will compute clean indicators from dirty prices, which is why entries from the scanner lane still pass a safety gate first. It cannot feel position size — $100 flat is a deliberate choice so entrants stay comparable, and real sizing is a separate discipline covered in position sizing 101. And it cannot want anything. The two tripped kill switches are not the bots learning caution; they are a rule a human wrote in advance, firing on schedule. That is the whole product: decisions made calmly, in advance, executed without negotiation. Whether those decisions are good is a question only the ledger, given enough trades, can answer.

Watch the loop run

The arena republishes after every cycle — every entrant, every closed trade, the failures labelled FAIL in the same table as the leaders.

Bot arena →Read a track record →

Questions, answered straight

How does a trading bot actually work, in plain words?

A trading bot is a loop, not a brain. Ours runs one cycle at a time: fetch fresh prices, compute indicators from closed bars, check each written entry rule, place a paper fill on the next bar if a rule fires, check exits and stops on open positions, write every result to a ledger, and republish the scorecard. Anything the rules do not cover, the bot does nothing about. There is no judgment step and no learning step — the same inputs always produce the same decision, which is exactly why we can audit it.

Do trading bots learn or get smarter over time?

Ours do not, and most bots people buy do not either. Every entrant in our arena runs rules that were locked before its first trade: the RSI bot buys below 30 and sells at 55 or its stop, today and next month, whether it is winning or losing. Nothing retrains between cycles. When a rule looks wrong, a human changes it between runs and the change is on the record — the bot itself never quietly edits its own strategy, because a strategy that rewrites itself cannot be graded.

Why does a bot fill on the next bar instead of the moment the signal fires?

Because the signal only exists once a bar closes, and nobody trades at a price from a bar that has already ended. Our engine evaluates the signal on the latest closed bar and fills on the following bar, at that bar's price plus the cost model. Filling at the signal bar's own close is the classic backtest lie — it books a price that was never available after the decision was made. The next-bar rule costs real performance on paper, and it is the honest number.

What is a kill switch on a trading bot?

It is a separate rule that sits above the strategy and only controls whether new trades may open. In our arena an entrant stops opening trades when its drawdown reaches 20 percent of its $1,000 reference base, or when it closes $50 of losses in one UTC day. Exits always continue — open positions still get their stops and targets — and the switch stays tripped until a human resets it. Two of our entrants, the scanner follower and the Decu mirror, are sitting tripped right now, and their scorecard rows say so.

If a bot follows all its rules, why does it still lose money?

Because the rules can be wrong about the market even when the machine runs them perfectly. Our scanner follower executed its design faithfully through 102 closed paper trades and won 23.5 percent of them — the machine worked, the idea did not. A bot removes hesitation, sleep and revenge trading. It does not remove a bad edge, thin liquidity, or fees: our cost model charges every trade slippage, a 0.25 percent swap fee and a transaction-fee allowance on each side, and those costs are in every published number.

Sources

The entrant rules, cycle steps, fill timing, stops and kill-switch thresholds: Lanova's forward paper-test engine, the same code that produces the public scorecard, with the method written up on our methodology page. The trade counts, win rates, nets, open positions and the run #221 notes quoted above: the bot scorecard generated November 26, 2026, 15:37 UTC (241 closed paper trades, 14 entrants), published on the bot arena page and in the public scorecard data feed. The cost model and pass bar are printed on that scorecard. All trades are paper trades — no real money is traded by any entrant on this page. Related reading: the Lanova Learn hub.

Before any real money: How to Set Up a Live Trading Bot Safely: Caps, Keys and Kill Switches — the paper-pass gate, trade-only permissions, $10-per-trade caps and the kill-switch rules behind Lanova's own published live plan.
Who stands behind this page: Lanova is built and run by Paul Geller, founder of Nova Bliss, Ocean Springs, MS — about Lanova. Sources: written from Lanova's own product documentation and the public sources named in the article. Fees & disclosures: Lanova charges a flat 0.25% fee on swaps, always shown before you sign; some outbound links are affiliate links, which never change the data or verdicts shown. Risk: nothing here is financial advice. Crypto is volatile and can go to zero; Lanova never holds your funds and you sign every trade in your own wallet. Full disclaimer.
© 2026 Lanova · Lanova · Lanova Learn · Bot Arena
General information only — not financial advice. Lanova tools are informational; Lanova never holds your funds.