region_blocked, or allows only closing positions with region_close_only.
Set up and fund the account
1
Check the account
2
Create the account
3
Deposit
status later. Don’t deposit again while one is pending.Find a market
<ref> is a market’s conditionId, its slug, or an event slug. The outcome is yes, no, or an outcome’s name. For an event with several outcomes, name the entry, and add no for its no side, such as "Bob no".
Place a prediction
Preview the buy, then set--max-price a little above the preview’s estimatedPrice:
--max-price, nothing is posted (price_guard).
To rest a limit order instead, pass --price, and optionally --expires <minutes> (at least 3):
Close a position
sell takes a number of shares or all. cancel takes an order ID, --all, or --market <ref>.
Collect winnings and withdraw
withdraw sends them to the agent wallet as USDC on Polygon. The minimum is $2.