一键导入
context-research-portfolio-analysis
Review current positions, P&L, balances, and claimable winnings
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review current positions, P&L, balances, and claimable winnings
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | context-research-portfolio-analysis |
| description | Review current positions, P&L, balances, and claimable winnings |
Check your current positions, unrealized P&L, balances, and claimable winnings from resolved markets.
The user wants to review their trading positions, check their balance, or find resolved markets with unclaimed winnings.
Requires API key + private key (portfolio data is per-account, not public).
Get positions — context_get_portfolio with optional kind filter:
"all" — everything"active" — open positions on active markets"won" — positions on markets that resolved in your favor"lost" — positions on markets that resolved against you"claimable" — resolved markets with unclaimed winningsctx.portfolio.get(undefined, { kind: "active" })context portfolio get --kind activeFor each active position, check current market state:
context_get_market — is the market still active, or approaching resolution?context_get_quotes — what's the current price? Compare to your entry price for unrealized P&L.context_get_oracle — does the oracle support your position or contradict it?Check balances — context_get_balance shows:
ctx.portfolio.balance()context portfolio balanceGet P&L stats — ctx.portfolio.stats() or context portfolio stats for aggregate performance.
Claim winnings — if kind: "claimable" returns results, those are resolved markets where you won. The winnings need to be claimed to appear in your balance.
kind: "claimable" periodically and claim winnings, or they'll sit there.context_get_portfolio is paginated. Use cursor for markets with many positions.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