Skip to content

Presets

QuantFin Bot offers preset configurations to quickly set up the bot with predefined settings. You can apply presets using the frontend to adjust parameters like grid levels, exposure limits, and take-profit distance.

Accessing Presets

  1. Visit the Frontend: Open quantfin.dexalgo.org and connect your wallet.
  2. Select a Symbol: In the Trading Symbols panel, click on a symbol card (e.g., SUI-PERP) to select it. Or, use the Trading Symbol dropdown in the sidebar and click Apply.
  3. Find Preset Configuration:
  4. In the sidebar, under Preset Configuration, locate the preset dropdown.
  5. Alternatively, in the Update Config panel, find the Preset Config dropdown at the bottom.

Available Presets

The bot supports four presets: Safu, Moderate, Aggressive, and YachtToday. Each preset adjusts settings to match a specific risk level. You can view detailed preset settings in the Preset Details panel on the dashboard.

Safu

Conservative settings for minimal risk: - Dynamic Distribution: Enabled - Wallet Exposure Limit (Long/Short): 0.1 / 0.1 (10%) - Distribution Strength: 1.5 - Distribution Levels: 8 - Quantity Precision: 0.001 - Grid Levels: 8 - Level Step: 0.01 (1%) - Order Quantity: 1 - Take-Profit Distance: 0.0065 (0.65%) - Chase Offset (BPS): 0.5 (0.05%) - Always Full Grid: Enabled

Moderate

Balanced settings for moderate risk: - Dynamic Distribution: Enabled - Wallet Exposure Limit (Long/Short): 0.5 / 0.4 (50% / 40%) - Distribution Strength: 1.2 - Distribution Levels: 8 - Quantity Precision: 0.001 - Grid Levels: 8 - Level Step: 0.008 (0.8%) - Order Quantity: 1 - Take-Profit Distance: 0.0055 (0.55%) - Chase Offset (BPS): 0.5 (0.05%) - Always Full Grid: Enabled

Aggressive

Higher risk for potentially higher returns: - Dynamic Distribution: Enabled - Wallet Exposure Limit (Long/Short): 0.8 / 0.8 (80%) - Distribution Strength: 1.5 - Distribution Levels: 10 - Quantity Precision: 0.001 - Grid Levels: 10 - Level Step: 0.005 (0.5%) - Order Quantity: 2 - Take-Profit Distance: 0.007 (0.7%) - Chase Offset (BPS): 0.8 (0.08%) - Always Full Grid: Enabled

YachtToday

Maximum risk for aggressive trading: - Dynamic Distribution: Enabled - Wallet Exposure Limit (Long/Short): 1.0 / 1.0 (100%) - Distribution Strength: 2.0 - Distribution Levels: 12 - Quantity Precision: 0.001 - Grid Levels: 12 - Level Step: 0.004 (0.4%) - Order Quantity: 3 - Take-Profit Distance: 0.01 (1%) - Chase Offset (BPS): 1.0 (0.1%) - Always Full Grid: Enabled

Applying a Preset

  1. Select a Preset:
  2. In the sidebar under Preset Configuration, or in the Update Config panel under Preset Config, choose a preset from the dropdown (e.g., Moderate).
  3. Apply the Preset:
  4. Click the Apply Preset button next to the dropdown.
  5. This calls the /set_preset endpoint, applying the preset’s settings to the selected symbol.
  6. You’ll see a confirmation message like "Preset applied successfully."
  7. Verify Changes:
  8. Check the Current Config panel to see the updated settings in JSON format.
  9. In the Bot Status panel, badges like Dynamic Dist will update to reflect the preset’s settings.

Tip

If the bot is running, stop it (sidebar > Stop Bot) before applying a new preset, then restart it (sidebar > Start Bot) to ensure the settings take effect.

Next Steps

  • Bot Configuration: Fine-tune settings manually in the Update Config panel.
  • API Endpoints: Learn about the backend API endpoints called by the frontend.
  • Quick Start: Set up the bot if you haven’t already.