Skip to main content

Overview

Trade intervals determine how often your agent can place bets on the same market. This prevents overtrading, manages capital efficiently, and respects market dynamics.
Without trade intervals, an agent might continuously bet on the same market every time it runs, wasting gas fees and potentially moving the price against itself.

Why Trade Intervals Matter

Capital Efficiency

Avoid locking too much capital in the same market

Gas Optimization

Reduce unnecessary transaction costs

Price Impact

Give markets time to incorporate new information

Risk Management

Prevent over-concentration in single markets

Available Interval Types

The framework provides two main types of trade intervals:

FixedInterval

Wait a fixed amount of time before trading on the same market again.
timedelta
required
Time to wait before trading the same market again

MarketLifetimeProportionalInterval

Trade multiple times based on market lifetime, spacing trades proportionally.
int
required
Maximum number of trades to place over the market’s lifetime
If a market runs for 28 days and max_trades=4, the agent will trade roughly every 7 days (28/4).

Common Patterns

One-Time Trading

Never trade on the same market twice:
This pattern is useful for:
  • Agents that target initial mispricings
  • Strategies that bet on market creation
  • Capital-constrained agents that need to diversify
Example from SkewAgent:

Weekly Rebalancing

Trade on markets once per week:
Use cases:
  • Markets with evolving information
  • Long-running markets (>1 month)
  • Rebalancing based on new data
Example from GPTRHighestLiquidityAgent:

Bi-Weekly Updates

Trade every two weeks:
Example from DeployableCoinFlipAgentByHighestLiquidity:

Proportional to Market Lifetime

Trade multiple times, spaced evenly across market’s life:
How it works:
  • Market open for 8 days → trade every ~2 days
  • Market open for 40 days → trade every ~10 days
  • Market open for 365 days → trade every ~91 days
Example from prophet agents:
Proportional intervals are ideal for agents that want to:
  • Update positions as markets evolve
  • Balance frequent updates with capital efficiency
  • Adapt to both short and long-term markets

Choosing the Right Interval

When to use:
  • Markets with rapidly changing information
  • Scalping strategies
  • Arbitrage opportunities
Example:
Risks:
  • High gas costs
  • Price impact from frequent trading
  • Capital concentration
When to use:
  • General-purpose trading
  • Markets with moderate information flow
  • Balanced approach
Example:
Best for:
  • Most production agents
  • Good balance of updates vs. costs
  • Standard rebalancing frequency
When to use:
  • Long-term markets
  • Lower-frequency strategies
  • Capital preservation
Example:
Best for:
  • Conservative agents
  • High-liquidity focus
  • Cost-conscious strategies
When to use:
  • Initial mispricing capture
  • Maximum diversification
  • Capital-constrained agents
Example:
Best for:
  • New market strategies
  • Wide market coverage
  • Minimal gas usage
When to use:
  • Mixed market durations
  • Adaptive update frequency
  • Long-term position management
Example:
Best for:
  • Markets of varying durations
  • Balanced update strategy
  • Dynamic rebalancing

Combining Intervals with Other Settings

High Volume, One-Time Trading

Focused, Frequent Updates

Adaptive to Market Duration

Real-World Examples

Example 1: Market Creator Stalker

Targets specific market creators with moderate update frequency:

Example 2: GPT Researcher Agent

High-quality research with weekly rebalancing:

Example 3: Statistical Skew Agent

Maximize coverage, never repeat:

Advanced: Custom Interval Logic

For complex scenarios, override interval checking:

Trade Interval Best Practices

1

Start Conservative

Begin with longer intervals (14+ days) when testing new agents:
2

Monitor Gas Costs

Calculate total gas costs vs. potential profit. More trades aren’t always better.
3

Consider Market Dynamics

  • Fast-moving news: Shorter intervals (1-3 days)
  • Long-term forecasts: Longer intervals (14+ days)
  • Fixed events: One-time bets
4

Balance Capital

Default Behavior

If you don’t specify a trade interval, the default is:

Performance Considerations

Gas Optimization: On Gnosis Chain (Omen), gas is cheap (~$0.01/transaction). You can afford more frequent updates.Capital Efficiency: Longer intervals allow capital to work across more markets simultaneously.Information Edge: If your agent incorporates new information, shorter intervals capture more value.

Testing Trade Intervals

Test different intervals to find optimal settings:

Next Steps

Agent Architecture

Understand the full agent lifecycle

Betting Strategies

Optimize bet sizes with Kelly criterion

Supported Markets

Learn about different market platforms