-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Right now, we check if some market's outcome is tradeable in
prediction-market-agent-tooling/prediction_market_agent_tooling/markets/seer/seer.py
Line 673 in 3dad902
| if not self.has_liquidity(): |
This checks if all outcomes have some liquidity.
In there, we consider both buying and selling:
prediction-market-agent-tooling/prediction_market_agent_tooling/markets/seer/seer.py
Line 566 in 3dad902
| for token_address in [pool.token0.id, pool.token1.id]: |
However, we should check only liquidity for the type of trade we are going to do. E.g. if we are going to be buying, we need to check liquidity for buying. Otherwise it will error out, as it just happened with market https://app.seer.pm/markets/100/will-elon-musk-be-ceo-of-tesla-on-1-september-2025/?outcome=Yes
(credits for graphics to @gabrielfior 😄 )