بنقرة واحدة
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 المهني
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-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.