Open gabrielfior opened 1 month ago
@kongzii says "Some long-range markets are being created, but not getting betted on at all by our agents, until they are near closing"
In https://github.com/gnosis/prediction-market-agent-tooling/pull/533 I've just exposed the get_markets
args as class variables, which means the behaviour is now configurable per agent.
So now we have 3 variables:
n_markets_to_fetch: int = MAX_AVAILABLE_MARKETS
trade_on_markets_created_after: DatetimeUTC | None = None
get_markets_sort_by: SortBy = SortBy.CLOSING_SOONEST
@gabrielfior if we add many more, then refactoring to encapsulate some of these in classes (e.g. MarketPickingStrategy
) makes more sense.
Similar structure to
BettingStrategy
.With this, we could have following strategies:
verify_market
)Also, strategy 2 above should be deployed as a new agent.