paper_order
Simulate buying YES or NO contracts against a live order book with venue fees, filling a local paper ledger without sending real orders. Use it to test basket legs before trading.
Instructions
Simulate buying YES or NO contracts in the local paper ledger, filling against the live order book with venue fees. Never sends an order to a venue.
Walks the displayed asks from the best price up to limit_price and charges
the venue fee on each level. Use it to test the legs of a basket found by
check_constraint_live. Writes ~/.oracle3/mcp_paper_ledger.json (or the path
in ORACLE3_MCP_LEDGER); only buys are supported and positions are held at
cost. Returns status (filled, partially_filled, unfilled, or rejected when
paper cash is short), requested and filled contracts, average price, cost,
fees and the per-level fills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Side of the binary contract to buy: 'yes' or 'no'. | |
| venue | Yes | Venue: 'kalshi' or 'polymarket'. | |
| contracts | Yes | Contracts to buy; must be positive. | |
| market_id | Yes | Kalshi market ticker (e.g. KXFEDDECISION-28JAN-H0) or Polymarket market id (e.g. 2589812), as returned by search_markets. | |
| limit_price | Yes | Highest price per contract to pay, in dollars, strictly between 0 and 1; ask levels above it are skipped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||