portfolio
Review and manage the full trading portfolio -- positions, PnL, balance, and margin health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review and manage the full trading portfolio -- positions, PnL, balance, and margin health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | portfolio |
| description | Review and manage the full trading portfolio -- positions, PnL, balance, and margin health. |
A systematic approach to reviewing and managing all open positions, balance, and overall portfolio health.
Call get_positions to retrieve every open position. For each position, note:
Assess each position:
Calculate total unrealised PnL across all positions.
Call get_balance to get:
Calculate margin utilization:
margin_utilization = used_margin / total_equity * 100
Flag if margin utilization exceeds 70% -- this indicates high risk.
Review positions that may need action:
For any adjustment, use set_tp_sl to update levels or place_order to close.
Present a summary table:
Portfolio Summary
-----------------
Total Equity: $X,XXX.XX
Available Margin: $X,XXX.XX
Used Margin: $X,XXX.XX
Margin Utilization: XX.X%
Open Positions: X
Total Unrealised PnL: +/- $X,XXX.XX
Winning / Losing: X / X
Followed by a per-position breakdown and any recommended actions.