ワンクリックで
context-trade-market-maker
Quote both sides of a prediction market with spread management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Quote both sides of a prediction market with spread management
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
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
SOC 職業分類に基づく
| name | context-trade-market-maker |
| description | Quote both sides of a prediction market with spread management |
Provide liquidity by quoting both sides of a market. Place buy and sell orders around a fair value, monitor fills, and rebalance.
The user wants to provide liquidity by quoting both YES buy and YES sell (or NO buy and NO sell) on a market.
context_get_orderbook. Use context_get_oracle for the oracle's evidence summary, and if you need a numeric oracle quote use ctx.markets.latestOracleQuote(marketId) from the SDK. The midpoint of the current bid-ask is a starting reference; the latest oracle quote is a separate pricing input.ctx.orders.bulkCreate() with both a buy and sell order, or two separate ctx.orders.create() calls.context orders create --outcome yes --side buy --price <bid> --size 10 and context orders create --outcome yes --side sell --price <ask> --size 10context_place_order({ marketId, outcome, side, size, price })ctx.orders.mine(marketId) or context_my_orders. When one side fills, the other is still open.ctx.orders.bulk() for atomic cancel+create to avoid being temporarily unquoted:
await ctx.orders.bulk(
[newBuyOrder, newSellOrder], // creates
[oldSellNonce], // cancels (execute first)
);
bulk() for atomic rebalancing. Cancelling and placing separately creates a window where you have no quotes — other participants can move the price against you.context_get_oracle for evidence and summary text, not latestOracleQuote().context_get_balance regularly. Ensure your settlement balance can cover the new orders. Insufficient balance will cause orders to be voided.context_get_orderbook.ctx.orders.mine(marketId) or context_my_orders should show two open orders — one buy, one sell — at your desired prices.