Skip to content

Commit

Permalink
Hotfix trading interval on special agents (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Nov 9, 2024
1 parent 1f992ff commit 5f90658
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion prediction_market_agent/agents/specialized_agent/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down

0 comments on commit 5f90658

Please sign in to comment.