원클릭으로
context-trade-manage-positions
Monitor, cancel, replace orders and check portfolio positions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Monitor, cancel, replace orders and check portfolio positions
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-manage-positions |
| description | Monitor, cancel, replace orders and check portfolio positions |
Cancel or replace open orders, check your portfolio, and manage account balances.
The user wants to check open orders, cancel or replace an order, view their portfolio and P&L, or deposit/withdraw funds.
context_my_orders (MCP) or ctx.orders.mine(marketId) (SDK) or context orders mine (CLI).nonce field.context_cancel_order({ nonce: "0x..." })ctx.orders.cancel("0x..." as Hex)context orders cancel --nonce 0x...ctx.orders.cancelReplace(nonce, newOrder) for atomic cancel + new order. CLI: context orders cancel-replace --nonce 0x... --market <id> --outcome yes --side buy --price 50 --size 10context_my_orders.context_get_portfolio with optional kind filter: all, active, won, lost, claimable.
ctx.portfolio.get(undefined, { kind: "active" })context portfolio get --kind activecontext_get_balance for USDC balance breakdown.
ctx.portfolio.balance()context portfolio balancectx.portfolio.stats() or context portfolio stats.kind: "claimable" to find resolved markets with unclaimed positions.context_get_balance or ctx.portfolio.balance().ctx.account.deposit(amount) (chain-aware: gasless on testnet, on-chain on mainnet).context_mint_test_usdc or ctx.account.mintTestUsdc(1000).ctx.account.withdraw(amount) moves USDC from settlement back to wallet.context_get_portfolio for position changes, not just order status.cancelReplace is atomic. If the cancel fails (order already fully filled), the new order is NOT placed. This prevents accidental double-positioning.kind: "claimable" shows positions on resolved markets where you can claim winnings. Don't forget to claim.allMine() auto-paginates; mine() returns first page only. For markets with many orders, use allMine() to get the complete list.context_my_orders.context_get_balance shows increased settlement balance.context_get_balance shows decreased settlement, increased wallet balance.