diff --git a/prediction_market_agent/agents/specialized_agent/deploy.py b/prediction_market_agent/agents/specialized_agent/deploy.py index 68987249..5271488f 100644 --- a/prediction_market_agent/agents/specialized_agent/deploy.py +++ b/prediction_market_agent/agents/specialized_agent/deploy.py @@ -6,6 +6,10 @@ FilterBy, SortBy, ) +from prediction_market_agent_tooling.deploy.trade_interval import ( + FixedInterval, + TradeInterval, +) from prediction_market_agent_tooling.gtypes import ChecksumAddress from prediction_market_agent_tooling.markets.markets import MarketType from prediction_market_agent_tooling.markets.omen.omen import OmenAgentMarket @@ -30,7 +34,7 @@ class GetMarketCreatorsStalkerMarkets: bet_on_n_markets_per_run = MAX_AVAILABLE_MARKETS n_markets_to_fetch: int = MAX_AVAILABLE_MARKETS # These tends to be long-running markets, it's not interesting to bet on them too much. - same_market_bet_interval = timedelta(days=7) + same_market_trade_interval: TradeInterval = FixedInterval(timedelta(days=7)) supported_markets: t.Sequence[MarketType] = [MarketType.OMEN] def get_markets(