Swap Settings
Last updated
Last updated
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)enabled
: Toggle this swap configuration.
mint
: Base token to trade.
strategy_defaults
: Default settings for strategies.
strategy
: Specific strategy parameters.
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_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.
Similar to entry-specific fields but for exit swaps.
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.
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.
cu_limit
: Compute unit limit per transaction.
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_senders
: List of spam transaction senders.
spam_max_opportunity_age_ms
: Max age of an opportunity.