Why Analyze with wiiiv
Portfolio reviews always need the same things — returns, volatility, sector concentration, benchmark comparison. Yet every time, you either fire up pandas and write code, settle for the limited charts in your brokerage app, or wrestle with VLOOKUP in a spreadsheet.
With wiiiv, just say "Show me a pie chart of sector allocation". The AI generates pandas + matplotlib code, executes it in an isolated Python sandbox, and displays charts and tables right in the chat. You focus only on what to look at.
Preparation: 3 CSVs
Drop 3 CSV files into your mounted folder, and you're ready to analyze.
| Stock Code | Stock Name | Sector | Shares | Buy Price | Buy Date |
|---|---|---|---|---|---|
| 005930 | Samsung Electronics | Semiconductor | 30 | 71,000 | 2025-12-02 |
| 000660 | SK Hynix | Semiconductor | 10 | 178,000 | 2026-01-06 |
| 035420 | Naver | Platform | 15 | 210,000 | 2025-11-03 |
| 035720 | Kakao | Platform | 40 | 42,000 | 2025-11-03 |
| 373220 | LG Energy Solution | EV Battery | 5 | 380,000 | 2026-02-03 |
| Date | Stock Code | Stock Name | Open | High | Low | Close | Volume |
|---|---|---|---|---|---|---|---|
| 2025-11-03 | 005930 | Samsung Electronics | 70,423 | 70,423 | 70,323 | 70,362 | 6,439,167 |
| 2025-11-03 | 000660 | SK Hynix | 179,041 | 179,041 | 176,783 | 177,763 | 19,569,018 |
| ... 750 rows ... | |||||||
| Date | Close |
|---|---|
| 2025-11-03 | 2,536.35 |
| 2025-11-04 | 2,546.35 |
| ... ~150 rows ... | |
Full Analysis Flow in 10 Turns
Below is the actual conversation in order. At each turn, the user makes a request, the AI generates and runs Python code, then presents results as tables and charts.
& Return
Pie Chart
Trend
Heatmap
Benchmark
MDD
(docx)

1. portfolio_holdings.csv — Rows: 5, Columns: 6
2. stock_daily_prices.csv — Rows: 750, Columns: 8

| Stock Name | Shares | Buy Price | Current Price | Cost Basis | Market Value | Return |
|---|---|---|---|---|---|---|
| Samsung Electronics | 30 | 71,000 | 65,600 | 2,130,000 | 1,968,000 | -7.61% |
| SK Hynix | 10 | 178,000 | 258,700 | 1,780,000 | 2,587,000 | +45.34% |
| Naver | 15 | 210,000 | 165,258 | 3,150,000 | 2,478,870 | -21.31% |
| Kakao | 40 | 42,000 | 34,292 | 1,680,000 | 1,371,680 | -18.35% |
| LG Energy Solution | 5 | 380,000 | 396,823 | 1,900,000 | 1,984,115 | +4.43% |
| Total Cost | Total Value | Total P&L | Overall Return |
|---|---|---|---|
| 10,640,000 | 10,389,665 | -250,335 | -2.35% |

| Sector | Shares | Weight |
|---|---|---|
| Platform (Naver + Kakao) | 55 | 55% |
| Semiconductor (Samsung Electronics + SK Hynix) | 40 | 40% |
| EV Battery (LG Energy Solution) | 5 | 5% |

| Date | LG Energy Solution | SK Hynix | Naver | Samsung Electronics | Kakao |
|---|---|---|---|---|---|
| 2025-11-03 | -1.26 | -0.13 | -0.97 | -0.90 | 0.05 |
| 2025-11-04 | -1.44 | -2.84 | 0.89 | -2.27 | -1.61 |
| 2025-11-05 | -3.73 | -2.80 | -2.31 | -1.37 | -3.74 |

• Strongest negative correlation: SK Hynix ↔ Naver (-0.8285)
• Relatively weak positive correlation: LG Energy Solution ↔ SK Hynix (0.1553)
• Samsung Electronics and LG Energy Solution show a notable negative correlation (-0.4248)

| Date | Portfolio Cumulative Return | KOSPI Cumulative Return |
|---|---|---|
| 2025-11-03 | -0.71 | 0.00 |
| 2025-11-04 | -1.18 | 0.39 |
| 2025-11-05 | -2.68 | 0.74 |
| 2025-11-06 | -2.07 | 1.44 |
| 2025-11-07 | -1.10 | 1.50 |

| Avg Daily Return(%) | Daily Std Dev(%) | Annualized Volatility(%) | Max Drawdown MDD(%) |
|---|---|---|---|
| -1.4067 | 2.0069 | 31.8580 | -9.9751 |
• Average daily return is -1.4067%, negative
• Annualized volatility of 31.86% indicates considerable daily fluctuation
• Maximum drawdown (MDD) of -9.97% means a roughly 10% decline from peak occurred

| Stock Name | Avg Daily Return(%) | Daily Std Dev(%) | Annualized Sharpe Ratio |
|---|---|---|---|
| SK Hynix | 19.81 | 15.55 | 20.21 |
| LG Energy Solution | 5.81 | 6.56 | 14.03 |
| Naver | -2.73 | 7.94 | -5.48 |
| Samsung Electronics | -3.16 | 3.38 | -14.88 |
| Kakao | -27.36 | 9.24 | -47.00 |

| Sector | Stocks | Total Cost | Total Value | Current Weight |
|---|---|---|---|---|
| Semiconductor | 2 | 3,910,000 | 4,555,000 | 43.84% |
| Platform | 2 | 4,830,000 | 3,850,550 | 37.06% |
| EV Battery | 1 | 1,900,000 | 1,984,115 | 19.10% |
| Sector | Target Weight | Adjustment Amount | Action |
|---|---|---|---|
| Semiconductor | 33.33% | -1,091,778 | Reduce |
| Platform | 33.33% | -387,328 | Reduce |
| EV Battery | 33.33% | +1,479,107 | Increase |

2. Sector Overview — Number of stocks, cost basis, market value, P&L
3. Stock Performance — SK Hynix +45.34%, LG Energy Solution +4.43%, others negative
4. Risk Metrics — Annualized volatility 31.86%, MDD -9.97%
5. Sharpe Ratio Comparison — Only SK Hynix (20.21) and LG Energy Solution (14.03) positive
6. Rebalancing Suggestion — Trim semiconductor, reduce platform, increase EV battery
7. Conclusion — Clear sector concentration with wide performance gaps between stocks
Tips for Effective Analysis
1. Be specific in your requests
"Show me a pie chart of sector allocation" works better than "analyze this." Specify the chart type (pie/line/heatmap/bar), reference values (risk-free rate 3.5%), and time period to get exactly what you want.
2. Reference previous turns
Say things like "From the above analysis, pull out only the stocks with a negative Sharpe ratio." Variables remain in memory, so follow-up analysis runs instantly without recalculation.
3. Wrap up with a report
When your analysis is done, say "Write a summary report" to compile everything. A docx file is generated and ready for download, and you can even send it via email.
4. Works with any structured data
This guide uses a stock portfolio as an example, but the same approach works for household budgets, server logs, sales data, survey results, or any structured data in CSV format.