check_constraint_live
Fetch live quotes and fee schedules for related markets to test whether prices violate a no-arbitrage relation after fees. Returns violation status, profitable basket, and net edge.
Instructions
Fetch live quotes and fee schedules for related markets, then check whether their prices violate a no-arbitrage relation after fees.
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.
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 | Contracts bought on every leg (default 1). Fees scale with size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||