Skip to main content

Trading Parameters

BozoBot provides extensive configuration options for trading parameters to suit different strategies and risk appetites. This guide explains how to optimize these settings for your trading style.

Core Trading Parameters

Trade Size and Position Management

# Trades
QUOTE_AMOUNT=0.01
MAX_OPEN_POSITIONS=5

QUOTE_AMOUNT: Sets the amount of SOL used for each trade. This is one of the most important parameters for risk management. You can specify:

  • A fixed amount (e.g., 0.01 for 0.01 SOL per trade)
  • A percentage of your wallet balance (e.g., 10% for 10% of your available SOL per trade)
ValueRisk LevelRecommendation
0.005-0.01 or 1-2%ConservativeGood for beginners or testing new strategies
0.01-0.05 or 3-5%ModerateBalanced approach for experienced users
0.05+ or 5%+AggressiveFor advanced users with higher risk tolerance

MAX_OPEN_POSITIONS: Limits the number of tokens the bot can hold simultaneously.

  • Lower values (1-3) focus your capital on fewer opportunities
  • Higher values (5-10) provide more diversification but require more capital
  • Consider your total trading capital when setting this value (e.g., QUOTE_AMOUNT × MAX_OPEN_POSITIONS should be a reasonable percentage of your total capital)

Price Checking

CHECK_PRICE_INTERVAL_SECONDS=1

How frequently the bot checks prices of held tokens. Lower values provide more responsive trading but increase RPC usage:

  • 1 second: Real-time monitoring (high RPC usage)
  • 5-15 seconds: Balanced approach
  • 30+ seconds: Lower RPC usage but less responsive to rapid price movements

Trading Strategies

Trading Levels

TRADING_LEVELS=-30%:100%,40%:100%

The Trading Levels parameter is extremely powerful, allowing you to define a complete trading strategy in a single line. It uses the format:

[PRICE_CHANGE]%:[ACTION]

Where:

  • PRICE_CHANGE is the percentage change from entry price (negative for decrease, positive for increase)
  • ACTION is either a percentage of your position to sell or an amount of SOL to buy

Example Strategies:

Basic Stop Loss and Take Profit:

TRADING_LEVELS=-30%:100%,40%:100%
  • Sell 100% when price drops 30% (stop loss)
  • Sell 100% when price rises 40% (take profit)

Tiered Take Profit:

TRADING_LEVELS=-30%:100%,20%:50%,40%:50%
  • Sell 100% when price drops 30% (stop loss)
  • Sell 50% when price rises 20% (partial take profit)
  • Sell remaining 50% when price rises 40% (complete exit)

Averaging Down:

TRADING_LEVELS=-30%:100%,40%:100%,-10%:0.01SOL
  • Sell 100% when price drops 30% (stop loss)
  • Sell 100% when price rises 40% (take profit)
  • Buy an additional 0.01 SOL when price drops 10% (averaging down)

Complex Strategy:

TRADING_LEVELS=-40%:100%,-20%:0.02SOL,20%:30%,50%:40%,100%:30%
  • Sell 100% if price drops 40% (stop loss)
  • Buy additional 0.02 SOL if price drops 20% (averaging down)
  • Sell 30% if price rises 20% (first take profit)
  • Sell 40% if price rises 50% (second take profit)
  • Sell remaining 30% if price rises 100% (final exit)

Slippage Settings

# Buy
BUY_SLIPPAGE=20
# Sell
SELL_SLIPPAGE=30

Slippage settings control the maximum acceptable price deviation for transactions:

BUY_SLIPPAGE: Higher values increase the chance of successful buys during volatile markets but may result in worse prices.

SELL_SLIPPAGE: Higher values increase the chance of successful sells but may result in worse prices.

Market ConditionsRecommended Buy SlippageRecommended Sell Slippage
Low volatility5-10%10-15%
Normal10-20%15-30%
High volatility20-30%30-50%

Manual Trading Tools

Scalping Options

# Scalping
SCALPING_SELL_OPTIONS=10,25,50,75,90,100
SCALPING_BUY_OPTIONS=0.01,0.025,0.05,0.1,0.25,0.5

These settings define the quick-access options for manual trading commands:

SCALPING_SELL_OPTIONS: Percentage values for selling portions of your position.

SCALPING_BUY_OPTIONS: SOL amounts for quick buys.

Transaction Optimization

Priority Fees

# Priority fees for all transaction types (in SOL)
# These fees are used both for standard transaction priority
# and for Jito/Bloxroute tips
BUY_PRIORITY_FEE=0.000123
SELL_PRIORITY_FEE=0.000123

These settings help prioritize your transactions during congested network conditions and serve as tips for MEV protection services:

BUY_PRIORITY_FEE/SELL_PRIORITY_FEE: The amount in SOL you're willing to pay for transaction priority.

Network ConditionsRecommended Fee
Low congestion0.000050 - 0.000100 SOL
Medium congestion0.000100 - 0.000250 SOL
High congestion0.000250 - 0.001000+ SOL

For critical transactions (like sniping highly anticipated token launches), consider using higher values.

Risk Management Recommendations

For Beginners

QUOTE_AMOUNT=0.01
MAX_OPEN_POSITIONS=3
TRADING_LEVELS=-30%:100%,40%:100%
BUY_SLIPPAGE=15
SELL_SLIPPAGE=20

This conservative setup limits exposure while you learn how the bot operates.

For Intermediate Users

QUOTE_AMOUNT=0.02
MAX_OPEN_POSITIONS=5
TRADING_LEVELS=-25%:100%,20%:50%,40%:50%
BUY_SLIPPAGE=20
SELL_SLIPPAGE=30

This balanced approach introduces partial profit-taking while maintaining reasonable risk controls.

For Advanced Users

QUOTE_AMOUNT=0.05
MAX_OPEN_POSITIONS=10
TRADING_LEVELS=-40%:100%,-20%:0.02SOL,20%:30%,50%:40%,100%:30%
BUY_SLIPPAGE=25
SELL_SLIPPAGE=40

This aggressive setup maximizes opportunities but requires more capital and risk tolerance.

Tips for Optimizing Your Trading Parameters

  1. Start Small: Begin with conservative settings until you're comfortable with how the bot operates.

  2. Review Performance: Regularly analyze your trading results to identify which settings need adjustment.

  3. Adapt to Market Conditions: More volatile markets may require different settings than stable markets.

  4. Consider Your Time Horizon: Short-term trading strategies generally require different parameters than longer-term approaches.

  5. Balance Risk and Reward: Every parameter adjustment involves a trade-off between potential profits and potential losses.

  6. Test in Simulation: Consider setting SIMULATE_TX_BEFORE_EXECUTE=true when testing new strategies.