Size-aware pre-trade gate
Stop a Polymarket bot when the requested size does not fit the public book.
Pass side, notional_usd, max_slippage_bps and policy context before trade(). Do Not Act compares the requested action to live public-book capacity and returns a stop/go verdict with reason codes.
01
Example check
curl -fsS "https://donotact.com/v1/preflight/polymarket/540817?intent=enter&side=buy_yes¬ional_usd=100&max_slippage_bps=150&policy=conservative" \ -H "X-API-Key: demo"
The response includes decision, component_scores, safe_operating_limits, liquidity_confidence_score, and blocking/warning reason codes.
02
Where to place it
Put the gate after your signal chooses a market and intended size, but before order construction, FOK submission, quote publication or wallet/capital release.
03
What it is not
It is not position sizing, alpha, profit prediction, or execution guarantee. It is a maintained fail-closed guard-clause for capital-moving agents.