Home / Blog / Non-custodial automation

Pillar guide

Non-Custodial Automated Trading on DEXs: a 3Commas-Style Bot for DeFi

Updated June 25, 2026·10 min read· Core concept

For years, traders on centralized exchanges have used bots like 3Commas to run their strategy 24/7. The catch on a DEX is different: there's no exchange holding your coins. So how do you automate trading without handing custody to anyone? This is exactly the problem OX-ENGINE is built to solve.

OX Non-custodial · CEX bot → DEX
On this page
  1. What "automated trading" actually means
  2. The custody problem (CEX bots vs DEX bots)
  3. How a non-custodial DEX bot works
  4. OX-ENGINE vs a CEX bot like 3Commas
  5. The security model: what the bot can and can't do
  6. Which DEXs OX-ENGINE supports
  7. More than execution: the tools around it
  8. FAQ

What "automated trading" actually means

Automated trading is simply letting software execute your plan for you. You define the rules — entries, exits, position size, risk per trade — and a bot watches the market and acts the moment your conditions are met. No emotions, no missed candles at 3 a.m., no fat-finger mistakes.

This is what tools like 3Commas, Cryptohopper or Pionex made popular on centralized exchanges (CEX). OX-ENGINE brings that same idea to decentralized exchanges (DEX) — with one crucial upgrade: you never give up custody of your funds.

The custody problem (CEX bots vs DEX bots)

On a centralized exchange, your coins sit in the exchange's wallet. A CEX bot connects with an exchange API key. Even when that key is "trade-only", your assets still live with a third party — the exchange itself. Not your keys, not your coins.

On a DEX, there is no middleman holding your balance. Your funds stay in your wallet or your on-chain account. That's strictly safer for custody — but it raises a question: if no exchange holds an API for you, how can a bot trade on your behalf? The answer is a trade-only delegated key.

🔑 The core idea

You delegate a key that is allowed to place trades only. It can open and close positions or swap tokens — but it is cryptographically incapable of withdrawing or transferring your funds out. Withdrawals stay reserved to you, the fund owner.

How a non-custodial DEX bot works

The exact mechanism depends on the DEX, but the pattern is always the same:

The result: the worst case if anything ever went wrong is bounded by trading risk on your own account. Nobody — not even us — can pull your money out.

OX-ENGINE vs a CEX bot like 3Commas

 CEX bot (e.g. 3Commas)OX-ENGINE (DEX)
Where funds liveOn the exchangeIn your own wallet / account
CustodyCustodial (exchange holds assets)Non-custodial (you hold assets)
ConnectionExchange API keyTrade-only signer / agent wallet
WithdrawalsExchange-controlledOwner-only — bot can't withdraw
Counterparty riskExchange solvency & freezesSmart-contract / on-chain only
What the bot doesAutomates your strategyAutomates your strategy

Notice the last row: the job is identical. OX-ENGINE is purely an automation utility — a way to run your strategy. The difference is everything around the execution: on a DEX, you stay self-custodial.

The security model: what the bot can and can't do

Can open / close positions Can place protective stops Can size positions to your rules Cannot withdraw funds Cannot transfer to external addresses Cannot change your withdrawal address

Withdrawal rights are the line we never cross. The fund owner — you — is the only party who can move money off the account. We also apply least-privilege defaults: the bot is granted the narrowest permission set that still lets it trade, and nothing more.

⚠️ Be honest about the real risk

Non-custodial removes custody risk, not market risk. A bot still trades real money on volatile markets. That's why OX-ENGINE ships with stop-loss protection, auto break-even and backtesting — to manage risk, never to promise profit. This is not financial advice.

Which DEXs OX-ENGINE supports

We're rolling this out one venue at a time, starting with the one that fits the model best:

More than execution: the tools around it

Automating an entry is the easy part. Surviving the market is the hard part. OX-ENGINE is built as a toolkit, so the bot also gives you:

FAQ

Is a non-custodial trading bot safe?

For custody, yes — it trades with a key that can't withdraw, so your funds never leave your control. The remaining risk is ordinary market risk from trading.

How is OX-ENGINE different from 3Commas?

3Commas automates trading on centralized exchanges via exchange API keys. OX-ENGINE does the same for DEXs with trade-only signer/agent wallets, so you keep self-custody.

Can the bot withdraw my money?

No. The bot has trade-only permissions. Only the fund owner can withdraw, and that requires your own master wallet.

Automate your strategy — keep your keys

Start on Aster DEX today, or join the channel to follow Hyperliquid & PancakeSwap.