check_constraint_live
Fetch live quotes and fees to check whether related prediction-market contracts violate a chosen relation, returning price bounds, net edge after fees, and the best no-arbitrage basket.
Instructions
Fetch live quotes and fees, then calculate price bounds conditional on the supplied relation.
This is the main research call: find related contracts with search_markets,
confirm with get_market that their resolution rules really satisfy the
relation, then pass them here. Read-only: it calls the venues' public APIs
and places no orders. Returns the check_constraint result (violated,
profitable_after_fees, best basket with net edge) plus the quotes it used;
to simulate the trade, call paper_order for each leg of the best basket.
Live quotes do not verify resolution rules, order-book depth or full fills:
assessment.relation_verified and assessment.execution_verified remain false.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"relation": "<relation>",
"markets": "<markets>"
},
"name": "check_constraint_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maker | No | Price fees as resting maker orders instead of taker orders (default false). Maker fees are lower or zero, but a resting order may not fill. | |
| markets | Yes | Markets to check, each {venue, market_id}, in the order the relation expects: two for implication (A then B), complement and same_event; every outcome for exclusivity and event_sum. Venues may be mixed. | |
| relation | Yes | Bound to test: implication (A implies B, so P(A) <= P(B)), exclusivity (at most one outcome happens), complement (exactly one of two), same_event (one event quoted on two venues) or event_sum (exactly one of n). See list_relation_types. | |
| contracts | No | Finite, positive contracts bought on every leg (default 1). Fees scale with size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||