- daily rebalances on the Bybit demo account
- 17
- Days that ended with a warm book holding positions.
- As of 19 October 2026
- largest daily gap between the Bybit wallet and the ledger
- 0.00 USDT
- Checked for every day of the run.
- As of 19 October 2026
- recovery drills passed
- 3
- Each one counted only when Bybit's own record agreed.
- As of 4 October 2026
What the run had to prove
The demo run put the platform’s orders on a real exchange for the first time: Bybit’s matching engine, on a demo account with simulated funds. It had to show four things. The ledger agrees with the exchange; funding reaches the ledger; no fill appears without an order the bot sent; and the bot recovers from failures. The pass criteria were approved before the bot started, and the tolerance for the ledger was written down before anything was measured.
The daily audit
An audit command reads the event log and Bybit’s own records and judges each UTC day.
- Ledger against wallet. Bybit’s wallet balance at the end of the day is compared with the ledger’s cash: the starting balance, plus what has been realised, minus fees, plus funding. The specification first compared against Bybit’s equity instead. That values open positions at Bybit’s mark price while the engine uses the last traded price, so it would have measured two price sources, not the ledger.
- A rebalance is a day, not an event. A day counts when it ends with a warm book that holds positions.
- Funding on every leg. A leg held all day must have its funding settlement recorded, timed by when it settled, not when it was written down.
- No orphans. Every fill must belong to an order this bot submitted, and a funding row without a coin counts as an orphan too.
The audit passes only when all four hold. The drills, and the written explanation of every event the run raised, are checked by hand.
What “the exchange agrees” means
It means Bybit’s wallet matches the ledger’s cash. It means every order that has not changed for a while is looked up in Bybit’s own record, every 10 s. A fill the exchange refused is treated as funding only if Bybit’s own funding list contains it. Lot sizes are read from Bybit, not from the framework’s defaults. And after a drill that closes everything, Bybit’s own position list has to be empty.
The first night
Three defects were closed before the first rebalance: order ids too long for Bybit, a reconciliation that compared positions before the engine had rebuilt them, and reconciled positions filed under the wrong owner. The first rebalance then found two more. One order was rate-limited by Bybit with no event raised, and one filled short of what was asked. That is why every order now leaves through one paced queue.
The drills
Each drill had to run with positions open and away from the daily close.
- Kill the engine without warning. The service restarts it, and the reconciliation must come back clean. It passed the first time.
- Cut the network. The prop-firm guard must notice it cannot see the account, hold new entries, and release them on reconnect with the positions unchanged. It failed the first time: every background loop had died without a word, because the logging call inside their error handler itself threw, and the tests had used a fake logger. With that fixed, it passed.
- Trip the prop-firm guard for real. The account must end flat. The first run tripped before the engine had reconciled, so the close-everything step read an empty cache, reported flat, and left the positions open. The next run held new entries but waited on prices that had not arrived. The run after that closed everything, and Bybit’s own list showed nothing open.
A drill is only finished when the exchange agrees, not when the engine says it is done.
Funding was the hardest part
Funding broke in more ways than orders did. It was first misread as fills. Then funding rows were written without a coin, and the engine refused to start for several hours; for that stretch the positions had no prop-firm guard watching them. The record that prevents duplicates did not name the bot, so the paper engine’s rows blocked the demo engine’s. And the audit cut funding days on the wrong clock. Each was fixed, with a test.
What is not finished
The run has more rebalances than it set out to collect, every day’s ledger is within tolerance, every held leg’s funding settled, and there are no orphan fills. It has not been declared passed: every event the run raised still needs its written explanation. Some alert wording is still wrong, such as “trading resumed” while another brake still holds. And a demo account tests the plumbing, not the quality of fills on the live market.