Trading Strategies

This section covers the various execution strategies available in arb-assist, including spam mode, Jito bundles, and other advanced trading configurations.

Strategy Levels Overview

arb-assist supports multiple trading strategies that activate based on market conditions:

# Each strategy maps to filter threshold levels
spam_levels = [...]      # Standard fast execution
jito_levels = [...]      # MEV-protected bundles
fast_levels = [...]      # Premium fast lanes
nextblock_levels = [...]  # Next block inclusion

Each level corresponds to a filter threshold tier, allowing different strategies for different market conditions.

Spam Strategy

Configuration

spam_levels = [
  {
    filter_level = 0,                    # Maps to filter_thresholds[0]
    bundle_groups = [1],                 # Which mint groups to use
    process_delay = 400,                 # Delay between attempts (ms)
    min_cu_percentile = 25,              # Minimum fee percentile
    max_cu_percentile = 50,              # Maximum fee percentile
    min_cu_price = 1_000,               # Minimum compute unit price
    max_cu_price = 10_000,              # Maximum compute unit price
    tx_count = 1,                       # Transactions per burst
    fee_strategy = "Random"             # Fee selection strategy
  },
  {
    filter_level = 1,                    # Higher tier
    bundle_groups = [1, 2],             # More groups
    process_delay = 300,                # Faster retry
    min_cu_percentile = 50,
    max_cu_percentile = 75,
    min_cu_price = 10_000,
    max_cu_price = 50_000,
    tx_count = 3,                       # More aggressive
    fee_strategy = "Linear"
  }
]

Fee Strategies

Random

  • Randomly selects fee within range

  • Good for avoiding detection

  • Unpredictable cost

Linear

  • Gradually increases fees

  • Predictable escalation

  • Good for testing limits

Exponential

  • Rapidly increasing fees

  • For highly competitive situations

  • Can get expensive quickly

Priority Fee Sources

When helius_key is configured:

  • Uses real-time network fee data

  • Percentiles based on recent blocks

  • More accurate pricing

Without Helius:

  • Learns from parsed transactions

  • Less accurate but functional

  • May overpay or underpay

Jito Bundle Strategy

Basic Configuration

Jito-Specific Settings

no_failure_mode

  • true: Safer but consumes tip always

  • false: Risk of wasted tips

sending_strategy

Dynamic Jito Tips

Parsed Mode

  • Analyzes successful bundles

  • Learns optimal tip amounts

  • Self-adjusting

Tipstream Mode

  • Real-time tip floor data

  • Most accurate pricing

  • Requires API access

Jito Configuration (SMB)

Jito Configuration (NotArb)

Advanced Trading Strategies

Fast Lane Services

NextBlock Strategy

Multi-Strategy Coordination

Cascading Strategies

Configure multiple strategies for different market conditions:

Bundle Group Strategy

Assign different groups to different strategies:

Timing Configuration

Process Delays

Recommendations:

  • 200-400ms: Aggressive, may fail more

  • 400-600ms: Balanced approach

  • 600-1000ms: Conservative, higher success

Update Intervals

Balance between:

  • Fresh data (lower interval)

  • System resources (higher interval)

  • Market volatility (adjust accordingly)

Risk Management

Minimum Profit Requirements

Always set minimum profit thresholds:

Transaction Limits

Control exposure with transaction counts:

Compute Unit Limits

Prevent excessive fees:

Strategy Selection Guide

For New Users

Start conservative:

For Competitive Markets

Use Jito with dynamic tips:

For High-Value Opportunities

Combine multiple strategies:

Performance Optimization

Fee Optimization

Monitor and adjust:

  1. Track success rates by fee level

  2. Find optimal fee ranges

  3. Adjust percentiles based on results

  4. Use Helius for better estimates

Bundle Optimization

For Jito bundles:

  1. Group similar value mints

  2. Keep bundles small (1-3 txs)

  3. Monitor tip efficiency

  4. Adjust based on competition

Latency Optimization

Reduce delays:

  1. Colocate with RPC nodes

  2. Use multiple sending RPCs

  3. Optimize process_delay

  4. Monitor network conditions

Common Issues

High Failure Rate

Symptoms:

  • Many failed transactions

  • Wasted fees

  • Low profitability

Solutions:

  • Increase process_delay

  • Raise priority fees

  • Switch to Jito bundles

  • Check RPC performance

Overpaying Fees

Symptoms:

  • High gas costs

  • Low ROI

  • Profitable trades become losses

Solutions:

  • Lower fee percentiles

  • Use dynamic fee estimation

  • Set tighter fee ranges

  • Monitor competitor fees

Missing Opportunities

Symptoms:

  • Seeing arbs on-chain you didn't catch

  • Low transaction count

  • Competitors winning

Solutions:

  • Reduce process_delay

  • Increase fee ranges

  • Add more strategies

  • Use faster RPCs

Last updated