Blog Security & Non-Custodial November 3, 2026 11 min read

What Happens If a Trading Bot Shuts Down? Your Funds, Positions and API Key

Closed sign hanging on a glass door, illustrating what happens when a trading bot shuts down

Picture a quiet Sunday morning. You open the dashboard of the trading bot you have paid for every month, and it will not load. The status page is gone. The support address bounces. Somewhere, a company you trusted with your trading has simply stopped.

Here is the direct answer. When a trading bot shuts down, what you lose depends almost entirely on who holds your money. If the bot was non-custodial, your funds are still in your own exchange account and the bot simply stops placing orders. If it was custodial, your coins may now be part of someone else’s bankruptcy.

That second scenario is not hypothetical, and the first one is not risk-free. Both deserve a calm look before you connect any software to any account that holds real money.

What Actually Happens When a Trading Bot Shuts Down?

When a trading bot shuts down, the failure arrives as a chain of small events rather than one big one, and the order of those events matters more than most traders expect.

First the software stops making decisions. A systematic bot evaluates the market on a schedule, so the last decision it made is the last one it will ever make. There is no farewell trade and no tidy exit. Whatever positions were open at that moment stay open.

From there, the servers that sent orders go dark. With a non-custodial design, those servers never had the ability to withdraw anything, so nothing leaves your account. The exchange keeps running, your balance keeps updating, and your positions keep moving with the market as if nothing happened.

Only then does the human part arrive. You discover the problem, usually later than you would like, and you become the only person in charge of an account that a machine was running a few hours earlier.

The company disappearing is rarely the dangerous part. The gap between its last decision and your first one is.

Custody Decides Who Gets Hurt

Custody is the single question that decides how badly a shutdown hurts, and the clearest lesson about it did not come from a trading bot at all. It came from Celsius Network, a crypto lending platform that filed for bankruptcy in July 2022.

Celsius customers had deposited coins into interest-bearing Earn accounts. According to Decrypt’s report on the Celsius Earn ruling, U.S. Bankruptcy Judge Martin Glenn decided on January 4, 2023 that the crypto in those accounts belonged to the Celsius estate, not to the people who deposited it. Around 600,000 accounts were affected, and the Earn assets had been worth about $4.2 billion shortly before the filing.

The judge’s reasoning was about contract law. The terms customers had accepted transferred ownership of the deposits to the company. Those customers did not stop being owed money. They became unsecured creditors, standing in line with everyone else the company owed.

A custodial trading bot rests on the same basic principle. If you send funds to a platform’s wallet so its bot can trade them, the question of whose coins they are gets decided by documents you probably skimmed. A non-custodial bot never receives your funds, so nothing of yours sits in its wallets waiting for a court to decide. We compared the two models in more depth in our guide to non-custodial vs custodial trading bots, and the short version holds here.

Ownership is not a feature you notice on a good day. It is the only feature that matters on a bad one.

The Risk That Stays With You: Open Positions

Open positions are the part of a shutdown that non-custodial design does not solve. It protects your balance from the company. It does not protect your positions from the market, and most marketing pages skip this point, so it is worth being blunt.

A perpetual futures position does not close by itself because the software that opened it went quiet. If the position uses leverage, it keeps its leverage. If the price moves far enough against it, the exchange can liquidate it, and on a leveraged account that can mean losing a large part of your margin or all of it. Funding payments also keep flowing between longs and shorts on the exchange’s own schedule, whether anyone is watching or not.

At AI Crypto Secrets these jobs are deliberately split, as the overview of how our system works describes. One layer makes trading decisions on a fixed schedule. A separate monitor watches open positions around the clock purely for margin and liquidation safety. When a trading bot shuts down, both layers stop together, so the positions lose their decision-maker and their safety watcher in the same moment.

There is a second honest detail. Our exits live inside the rule set rather than in orders parked at the exchange, which is explained in our article on managing risk without resting exit orders. That design has real advantages while the system runs. It also means that if the system ever stopped, no instruction would be waiting at the exchange to close anything on your behalf.

A bot that stops is not neutral. It leaves a position exactly as exposed as it was, minus the rules that were managing it.

Is Non-Custodial Trading Bot Risk Really Lower?

Yes in the way that matters most, and no in a few ways that still matter. Non-custodial trading bot risk is narrower than custodial risk, but it is not zero, and pretending otherwise would be its own kind of marketing.

The narrower part is real. A company that never holds your funds cannot lose them in a hack of its own wallets, cannot lend them out, and cannot pull them into its insolvency. Your balance survives even when a trading bot shuts down without any warning. That removes the failure mode that hurt Celsius customers most.

What remains is operational. A trade-only key can still place bad trades if someone steals it, which is what happened to some 3Commas users in 2022, a case covered in our look at whether 3Commas is safe. Leveraged positions can still be liquidated. And a shutdown can still leave you holding exposure you did not choose to hold at that moment.

So the honest framing is this. Non-custodial trading bot risk is mostly about what happens to your positions, not about whether your money still exists tomorrow. That is a much better problem to have, and it is still a problem.

Narrower risk is not small risk. It is risk you can actually see and act on.

Your API Key Outlives the Company

The API key you created usually survives the company that used it. When a trading bot shuts down, its servers go dark, but the credential they relied on stays valid on the exchange until you or the exchange removes it.

That matters because nobody can promise where a closed company’s data ends up. Servers get sold, databases get archived, and old backups get forgotten in storage. A key without withdrawal permission limits what anyone could do with it, but a valid key still allows trading on your account.

The fix takes a couple of minutes. Log in to the exchange, open API management, and delete the key the bot used. If you plan to reconnect later, you can revoke the API key’s trading permission instead. Both KuCoin and Bybit let you manage keys from the account’s API settings, and we walked through the KuCoin side in our step-by-step guide to a trade-only KuCoin API key.

Exchanges sometimes clean up on their own. KuCoin’s API guide states that keys enabled for spot, margin or futures trading but not linked to an IP address will be deleted or have trade permissions disabled after 30 days of inactivity. That is a useful safety net, not a plan. You should not wait a month to learn whether a forgotten key still works.

An API key is a door you opened for someone. When they leave, close it yourself.

What If the Exchange Is the One That Fails?

If the exchange fails, a non-custodial bot cannot help you, because it moved the custody question rather than removing it. Your money sits at the exchange, so the exchange’s health becomes the question that matters.

FTX made this scenario famous when it filed for bankruptcy in November 2022. FTX was an exchange, not a bot, and its customers’ problem had nothing to do with which software placed their trades. When the custodian failed, every tool connected to it failed with it.

So when a trading bot shuts down, your own exchange account is a far better place to be stranded than a bot provider’s wallet, provided the exchange itself is sound. AI Crypto Secrets runs on KuCoin and Bybit and holds nothing on top of them. Your exposure is to the exchange you chose, not to us. That is a cleaner risk, but still one worth weighing, and our KuCoin vs Bybit comparison covers what matters when a bot does the trading.

Removing one middleman does not remove the last one. Choose the exchange as carefully as the bot.

How to Prepare Before a Trading Bot Shuts Down

The best time to prepare is while everything works. None of this requires suspicion of any particular company. It is the same habit as knowing where the fire exit is in a building you trust.

Start by knowing where your open positions live. Log in to the exchange directly every so often, not only to the bot’s dashboard, and look at what is open, how much leverage it carries, and how close it sits to liquidation. If the bot’s interface is your only window into the account, a shutdown blinds you at the worst moment.

Next, keep your exposure at a level you could manage by hand. A position you could not calmly close yourself on a bad Sunday is a position sized for the software, not for you. Pro subscribers can choose between the Essential, Balanced and Aggressive risk profiles listed on our pricing page, and picking the one that matches what you could handle alone is part of the same decision.

Then make sure you can revoke the API key without help. Find the API management page on KuCoin or Bybit today, while nothing is urgent, so the steps feel familiar if you ever need them in a hurry. The permission side of the setup is covered in our guide to automating Bybit and KuCoin futures without giving up custody.

Finally, learn how a bot exits, not only how it enters. If a bot’s exits depend entirely on its own servers, as ours do by design, then the day a trading bot shuts down is the day those exits become yours. Knowing that in advance turns a crisis into a chore.

A shutdown you have rehearsed is an inconvenience. One you have not rehearsed is an emergency.

What Should You Do If Your Trading Bot Shuts Down Tomorrow?

Start with the exchange, not the company. Log in directly, look at every open position, and note its size, leverage and liquidation price. That one screen tells you how much time you have to think.

Then decide, calmly, whether you want to keep each position. There is no universal right answer, and we will not pretend to offer one. Some traders close everything to remove the exposure, while others hold a position they understand. What matters is that it becomes a choice you make rather than one the market makes for you.

Once the positions are settled, delete the key the bot used. Take screenshots of your balances and the bot’s last visible state, because records help with any dispute over unused subscription time. If the company enters a formal insolvency process, a non-custodial user usually has much less at stake in it than a custodial one.

Be wary of anyone who contacts you offering to recover funds or restart the bot for a fee. Shutdowns attract opportunists, and their pitches look a lot like the patterns in our guide to crypto trading bot scam red flags.

The first hour is not about saving the strategy. It is about taking the controls back.

Why a Good Bot Should Be Easy to Walk Away From

A good bot is one you could leave on any given day without losing anything except the service itself. That sounds like an odd thing for a bot company to say, but it is the most useful test we know.

Ask what you would lose if the provider vanished tonight. With a custodial product, the honest answer can be your deposit, decided later by a court. With a non-custodial product, the answer is the strategy, the monitoring and the convenience, while the funds and the decisions return to you. That is still a real cost, especially with leveraged positions open, and trading crypto futures with leverage can lose part or all of the capital you commit, bot or no bot.

Every company eventually changes, merges or closes, and no provider can promise you otherwise. The design choice that matters is whether a trading bot shuts down into an inconvenience for you or into a claim against an estate.

Trust a bot most when leaving it would cost you least.

Frequently Asked Questions

What happens to my money if a trading bot shuts down?

If the bot is non-custodial, your money stays in your own exchange account when a trading bot shuts down, because the provider never held it. The bot simply stops placing orders. If the bot is custodial and holds your funds in its own wallets, your deposit can become part of the company’s insolvency, as happened to Celsius Earn customers in 2023.

Do open futures positions close automatically when a bot stops working?

No. Open futures positions stay open on the exchange when the bot that opened them stops. They keep their leverage, keep paying or receiving funding, and can still be liquidated if the price moves far enough against them. You need to log in to the exchange and decide yourself whether to keep or close each one.

Should I revoke the API key after a bot company closes?

Yes. Revoke the API key, or delete it entirely, as soon as you learn the company has closed. The key stays valid on the exchange even after the company’s servers go dark, and nobody can guarantee what happens to its stored credentials. A trade-only key cannot withdraw funds, but it can still place trades on your account.

Is non-custodial trading bot risk lower than custodial risk?

Non-custodial trading bot risk is narrower, because the provider never holds your funds and cannot lose them in its own hack or bankruptcy. It is not zero. A stolen trade-only key can still place bad trades, leveraged positions can still be liquidated, and a sudden shutdown can leave you holding exposure you did not plan to manage alone.

Can a non-custodial bot protect me if the exchange itself fails?

No. A non-custodial bot keeps your funds out of the bot provider’s hands, but the money still sits at the exchange, so the exchange’s own solvency remains your risk. The FTX bankruptcy in November 2022 showed that every tool connected to a failed custodian fails with it. Choosing a sound exchange matters as much as choosing the bot.

This article is for educational purposes only and is not investment, financial or trading advice. Trading crypto perpetual futures with leverage carries a significant risk of loss, including the total loss of invested funds. Please read our Risk Disclosure before using any trading service.

Share X Telegram

•Free to join

Register free and see the bot’s real, live statistics.

Keep reading

All articles