Swap Settings
ℹ️ Overview
This section will explain how to set up which mint you want to use to begin your swaps and arbitrage. You can set up multiple swap mints if you want.
[[swap]]
(At least one required)
[[swap]]
(At least one required)[[swap]]
enabled = true # Enable or disable this swap configuration
mint = "So11111111111111111111111111111111111111112" # Base mint to trade (e.g., SOL, USDC)
[swap.strategy_defaults]
wrap_unwrap_sol = false
jito_enabled = true
cooldown = "3s"
[[swap.strategy]]
min_spend = 0.0001
max_spend = 0.01
jito_static_tip_lamports = 5000
[[swap.strategy]]
min_spend = 0.5
max_spend = 1
jito_dynamic_tip_percent = 40
enabled
: Toggle this swap configuration.mint
: Base token to trade.strategy_defaults
: Default settings for strategies.strategy
: Specific strategy parameters.
Strategy Fields
Fields Affecting Jupiter Quotes
wrap_unwrap_sol
: Automatically wrap/unwrap SOL.min_spend
: Minimum amount per swap.max_spend
: Maximum amount per swap.min_priority_fee_lamports
: Minimum priority fee.max_priority_fee_lamports
: Maximum priority fee.total_max_accounts
: Total max accounts for swaps. Can use this in lieu of using both entry and exit max accounts
Entry Specific
entry_only_direct_routes
: Restrict to direct routes.entry_restrict_intermediate_tokens
: Limit intermediate tokens.entry_max_accounts
: Max accounts for entry swaps.entry_dexes
: Allowed DEXes for entry.entry_exclude_dexes
: Excluded DEXes for entry.
Exit Specific
Similar to entry-specific fields but for exit swaps.
Fields Determining Transaction Skipping
cooldown
: Wait time before retrying the same token.min_swap_routes
: Minimum swap routes required.max_swap_routes
: Maximum swap routes allowed.max_price_impact
: Maximum allowed price impact.
Gain Requirements
min_gain_bps
: Minimum gain in basis points.min_gain_percent
: Minimum gain percentage.min_gain_lamports
: Minimum gain in lamports.min_gain_sol
: Minimum gain in SOL.
Fields Affecting Transaction Building
cu_limit
: Compute unit limit per transaction.
Jito Specific Fields
jito_enabled
: Toggle Jito sending.jito_unwrap_tip
: Unwrap WSOL for Jito tips.jito_dynamic_tip_percent
: Dynamic tip based on profit.jito_static_tip_percent
: Static tip based on profit.jito_max_tip_lamports
: Maximum tip in lamports.jito_static_tip_lamports
: Predefined static tip in lamports.
jito_tip_percent
has been removed and is no longer deprecated past v0.1.84-alpha
Spam Specific Fields
spam_senders
: List of spam transaction senders.spam_max_opportunity_age_ms
: Max age of an opportunity.
Last updated