get_portfolio_performance
Retrieve portfolio performance statistics (total return, CAGR, max drawdown, Sharpe ratio, volatility, win rate) and benchmark comparison curves against TAIEX, S&P500, and retail investor index.
Instructions
取得投資組合的完整績效曲線與統計指標:總報酬率、CAGR、最大回撤、夏普比率、波動度、勝率;並附上與台股大盤(TWII)、S&P500、散戶指數的比較曲線及每筆交易標記。適合回答「我的整體投資績效如何」「跑贏大盤了嗎」。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 回顧天數,252=1年 / 504=2年 / 1008=4年 / 2520=10年 / 5000=全部;預設 2520 | |
| benchmark | No | 是否附上基準比較曲線,預設 true |