Skip to content

Chase Entry

Chase Entry allows QuantFin Bot to place orders closer to the best bid/ask prices, increasing the likelihood of fills. You can configure this feature using the frontend.

How It Works

  1. Orderbook Fetch: The bot retrieves the current orderbook to get the best bid and ask prices.
  2. Offset Calculation: The bot applies an offset (in basis points) to place orders closer to the market.
  3. Order Placement:
  4. Buy orders: Placed above the best bid.
  5. Sell orders: Placed below the best ask.

Configuring Chase Entry

  1. Visit the Frontend: Open quantfin.dexalgo.org and connect your wallet.
  2. Select a Symbol: In the Trading Symbols panel, click a symbol card (e.g., SUI-PERP).
  3. Open Update Config: Scroll to the Update Config panel.
  4. Adjust Settings:
  5. In the General tab, set Chase Offset (BPS) (e.g., 0.5 = 0.05%).
  6. In the General tab, set Mode to control which orders are placed (both, longonly, shortonly).
  7. Apply Changes: Click Update Config to save. If the bot is running, stop it (sidebar > Stop Bot), apply changes, and restart (sidebar > Start Bot).

Example

  • Best bid: $1.00
  • Best ask: $1.01
  • Chase Offset (BPS): 0.5 (0.05%)
  • Buy order price: $1.00 * (1 + 0.0005) = $1.0005
  • Sell order price: $1.01 * (1 - 0.0005) = $1.0095

The bot places a buy order at $1.0005 and a sell order at $1.0095, closer to the market than standard grid orders.

Monitoring Chase Entry

  • Console Logs Panel: Look for logs like INFO: Adjusting buy order to 1.0005 with chase offset.
  • Bot Status Panel: Ensure the bot is running (check the Running badge).
  • Strategy Simulator: In the sidebar, click Strategy Simulator to visualize how chase entry affects order placement.

Next Steps