بنقرة واحدة
context-trade-bulk-operations
Create, cancel, or manage multiple orders in a single batch
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create, cancel, or manage multiple orders in a single batch
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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
Find interesting prediction markets by volume, trend, liquidity, or topic
| name | context-trade-bulk-operations |
| description | Create, cancel, or manage multiple orders in a single batch |
Place, cancel, or atomically update multiple orders in one call. Used for price ladders, cancel-all, and portfolio rebalancing.
The user wants to place or cancel multiple orders at once, build a price ladder, or atomically replace existing orders with new ones.
PlaceOrderRequest objects. Validate that every order has a valid marketId, outcome, side, priceCents (1–99), and size (min 0.01).ctx.orders.bulkCreate(orders) — places all ordersctx.orders.bulkCancel(nonces) — cancels by noncectx.orders.bulk(creates, cancelNonces) — cancels execute first, then createscontext_bulk_create_orders({ orders })context_bulk_cancel_orders({ nonces })context_bulk_orders({ creates, cancelNonces })context orders bulk-create --orders '[...]' / context orders bulk-cancel --nonces '[...]' / context orders bulk --creates '[...]' --cancels '[...]'result.success is true, then inspect result.results for the per-operation items.ctx.orders.mine(marketId) or context_my_orders to confirm all expected orders are open.bulk(), cancels execute before creates. This is by design — use it for atomic rebalancing so you're never exposed with stale quotes.marketId, outcome, side, priceCents, and size.success, then inspect results.ctx.orders.mine(marketId) or context_my_orders — count of open orders should match expected.bulkCancel, verify the cancelled orders no longer appear in context_my_orders.