Zodial
Launch App
Back to blog

How Auto Mode Chooses the Right Trade Path

Understand how Zodial’s Auto mode evaluates wallet balances, collateral, and market constraints to select deposit, borrow, swap, and loop workflows.

TradingProductRisk Management
Mode selector with auto routing options for trading modes

Auto mode is a routing preference, not a separate execution engine.

When you select Auto as the mode, the interface evaluates your pair setup and wallet context in this order:

  1. Is there a direct on-protocol loop setup available?
  2. Is a swap route valid and funded by your wallet?
  3. Can a simple deposit or borrow be executed under current limits?

Auto mode always keeps the same hard constraints as explicit modes; it only chooses the first valid mode that fits the current state.

What Auto mode requires

To make an execution decision, Auto mode checks:

  • Both selected assets are valid (where possible) and map to wallet or market context.
  • Short-side spendability for swap mode (wallet token balance).
  • Protocol pair data for loop modes.
  • Protocol and risk constraints for borrow/deposit limits.

If multiple modes are valid, Auto mode picks the one with highest execution priority according to the resolver logic.

Restrictions and edge cases in Auto mode

  • If your selected short side is not in market listings, Auto may only route when a direct wallet-funded swap is available.
  • If no collateral exists and pair looping is not possible, Auto avoids loop modes even if pair math would allow them later.
  • Protocol pauses, borrow/deposit limits, and health constraints are respected before any execution.