Safety and guards
Your keys and funds
- Your funds stay in your account on each DEX. DZERO never withdraws. On Lighter and Nado, the DEX's key format can withdraw, but only back to your own wallet.
- Each DEX gets a trading key your wallet approves. It's stored encrypted on the DZERO server so bots keep running with your browser closed. Your wallet's private key is never sent.
- To remove a key: Accounts → Manage, or revoke it on the DEX. DZERO won't remove a key while a bot has a trade open there.
Guards on every open trade
- Lost leg: both legs are read every 10 seconds. If one drops below 80% of its size, the other is closed.
- Margin guard: if a leg gets 60% of the way to liquidation (6% at 10x, 12% at 5x), both legs close. The bot re-enters later with fresh margin.
- Watchdog: every 30 seconds it checks every market you trade is still hedged across your DEXs. After 60 seconds unhedged, you get an alert. After 3 minutes, it opens the opposite position on another working DEX. The hedge shows inside the bot it covers and closes on its own once it isn't needed: as soon as the bot's legs are hedged again, or together with the stuck leg once that DEX responds.
- Fast markets: no new entries if price moved more than 1.5% in 5 minutes or 3% in 15.
- Repeated closes: three protective closes within 10 minutes pause new entries for an hour.
What can still go wrong
A hedge removes most price risk, not all of it. One leg can fill without the other, a DEX can go down mid-trade, a sharp move can hit a leg before it closes, and funding can turn. DZERO never acts on a DEX that isn't responding, so until it responds, that leg stays as it is.
Start small and keep free margin on every DEX.