بنقرة واحدة
context-trade-place-order
Place a single limit or market order on a prediction market
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Place a single limit or market order on a prediction market
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create, cancel, or manage multiple orders in a single batch
Place and manage prediction market orders on Context Markets
Build an embeddable single-market prediction widget with buy/sell buttons
Build a portfolio dashboard showing positions, P&L, balances, and claimable winnings
Build prediction market frontends with the Context React SDK
Scaffold a full prediction market trading UI with market list, orders, and portfolio
| name | context-trade-place-order |
| description | Place a single limit or market order on a prediction market |
Buy or sell outcome shares on a prediction market with a limit or market order.
The user wants to buy or sell YES or NO shares on a specific market.
context_get_quotes (MCP) or ctx.markets.quotes(marketId) to see bid/ask/last.context_simulate_trade (MCP) or ctx.markets.simulate(marketId, { side, amount, amountType: "usd" }) to preview fill price, cost, and slippage.context_place_order({ marketId, outcome: "yes", side: "buy", size: 10, price: 45 }) — omit price for a market orderctx.orders.create({ marketId, outcome: "yes", side: "buy", priceCents: 45, size: 10 })ctx.orders.createMarket({ marketId, outcome: "yes", side: "buy", maxPriceCents: 99, maxSize: 10 })context orders create --market <id> --outcome yes --side buy --price 45 --size 10context_my_orders or ctx.orders.mine(marketId) to confirm the order is open.context_account_setup or ctx.account.status(). If not ready, run setup and deposit before placing orders.maxPriceCents and maxSize, not priceCents and size. This caps your worst-case fill price.makerRoleConstraint: 1 (MAKER_ONLY). This causes InvalidRoleConstraint reverts that block the entire market. Always use the default (0 = ANY).context_my_orders or ctx.orders.mine(marketId) — your order should appear with status "open".order object — status, percentFilled, and remainingSize should reflect immediate execution.