Overview
TheMaxExpectedValueBettingStrategy is a betting strategy that focuses on maximizing expected value (EV) rather than using the Kelly criterion. This strategy is ideal when you want to maximize expected returns per bet, especially for high-confidence predictions.
Expected Value (EV) represents the average return you expect from a bet over many repetitions. Positive EV means profitable over time.
When to Use
ChooseMaxExpectedValueBettingStrategy when:
- You have high-confidence predictions with clear edges
- You prefer simpler bet sizing than Kelly
- You’re optimizing for total expected returns rather than growth rate
- You want consistent bet sizes regardless of odds
MaxExpectedValueBettingStrategy
Import
Usage
Parameters
Maximum amount to bet on a single position.Recommended values:
USD(0.5)toUSD(1.0)- Conservative, for testing or uncertain edgesUSD(2.0)toUSD(5.0)- Moderate, for validated positive EV strategiesUSD(10.0)+- Aggressive, only for high-confidence strategies
How It Works
Expected Value Calculation
Expected value is calculated as:Bet Sizing Logic
The strategy bets up tomax_position_amount when:
- The predicted probability differs from market odds (edge exists)
- Expected value is positive
- Position size doesn’t exceed maximum
Real-World Example
DeployablePredictionProphetGPTo3mini
This agent uses MaxExpectedValue with small bets for the o3-mini model:prediction_market_agent/agents/prophet_agent/deploy.py:730
Use case: Small position sizing for a reasoning model (o3-mini) where the goal is to accumulate small positive EV bets rather than maximize growth rate.
Expected Value vs Kelly
MaxExpectedValue
MaxExpectedValue
Pros:
- Simpler to understand and implement
- Maximizes expected monetary returns per bet
- Consistent bet sizing
- Good for tournaments and leaderboards
- No inherent bankroll protection
- Can be more aggressive than optimal
- Doesn’t account for variance
- Risk of ruin if edges are overestimated
- High-confidence predictions
- Small bet sizes relative to bankroll
- When you want predictable position sizes
Kelly Criterion
Kelly Criterion
Pros:
- Mathematically optimal for long-term growth
- Inherent bankroll protection
- Scales bets with edge and odds
- Minimizes risk of ruin
- More complex calculation
- Can recommend very large bets with big edges
- Sensitive to probability estimates
- Higher variance
- Long-term capital growth
- Variable confidence levels
- Risk-managed betting
Integration Example
Combine MaxExpectedValue with answer generation:Comparison with Market Odds
MaxExpectedValue strategy identifies profitable opportunities by comparing:The strategy automatically identifies these opportunities - you just provide the probability via
ProbabilisticAnswer.Risk Management
Conservative Approach
Moderate Approach
Aggressive Approach
Use Cases
High-Confidence Predictions
When you have strong evidence and clear edges, MaxExpectedValue maximizes returns without complex Kelly calculations.
Small Position Sizing
Making many small bets to accumulate EV, similar to the o3-mini agent example.
Tournament Play
Optimizing for total expected returns in competitions rather than growth rate.
Testing New Models
Starting with MaxExpectedValue and small bets when validating a new prediction model.
Best Practices
Track Performance
Monitor your realized returns vs expected value. If actual returns significantly underperform EV calculations, your probability estimates may be off.
Limitations
No Variance Consideration
No Variance Consideration
MaxExpectedValue focuses on average returns and doesn’t account for variance or drawdown risk. Long losing streaks are possible even with positive EV.
Aggressive by Default
Aggressive by Default
The strategy tends to bet near maximum whenever positive EV is detected, which can be too aggressive if your edge is small or uncertain.
Bankroll Management Required
Bankroll Management Required
Unlike Kelly, this strategy doesn’t automatically scale with your bankroll. You must implement position sizing limits yourself.
Edge Estimation Errors
Edge Estimation Errors
If you overestimate your edge (probability accuracy), you’ll consistently bet too much and can deplete your bankroll despite positive expected value.
Migration Path
From MaxExpectedValue to Kelly
Once you’ve validated positive EV, migrate to Kelly for better risk management:- Scale bets based on edge size
- Protect against overbetting
- Optimize for long-term growth
- Reduce position sizes for uncertain predictions
See Also
Kelly Betting Strategies
Optimal growth strategies with built-in risk management
Max Accuracy Strategies
Optimize for prediction accuracy over returns
Betting Strategies Concept
Learn fundamental betting strategy concepts
Risk Management
Best practices for managing risk in production