{% extends "base.html" %} {% block title %}Portfolio{% endblock %} {% block content %}
Gabungan seluruh aset crypto dan saham ALL ASSETS
Total Positions
{{ summary.count }}
Total Invested
Rp {{ summary.total_invested|idr }}
IDR (gabungan)
Current Value
Rp {{ summary.total_current|idr }}
Unrealized P&L
Rp {{ summary.total_unrealized|sidr }} ({{ summary.total_pnl_pct|spct2 }})
Realized P&L
Rp {{ summary.total_realized|sidr }}
Rp {{ subtotals.crypto.invested|idr }}
Rp {{ subtotals.crypto.current|idr }}
Rp {{ subtotals.crypto.unrealized|sidr }} ({{ subtotals.crypto.pnl_pct|spct2 }})
Rp {{ subtotals.stock.invested|idr }}
Rp {{ subtotals.stock.current|idr }}
Rp {{ subtotals.stock.unrealized|sidr }} ({{ subtotals.stock.pnl_pct|spct2 }})
$ {{ subtotals.stock_us.invested_usd|idr2 if subtotals.stock_us.invested_usd else subtotals.stock_us.invested|idr }}
$ {{ subtotals.stock_us.current_usd|idr2 if subtotals.stock_us.current_usd else subtotals.stock_us.current|idr }}
$ {{ subtotals.stock_us.unrealized_usd|idr2 if subtotals.stock_us.unrealized_usd else '0' }} ({{ subtotals.stock_us.pnl_pct|spct2 }})
~Rp {{ subtotals.stock_us.current|idr }} (IDR equiv.)
| {{ item_label }} | Qty | Avg Buy | Current | Value | Unrealized P&L | Realized P&L | Actions |
|---|---|---|---|---|---|---|---|
|
{% set _ic = coin_icon(item.coin) if item.coin else None %}
{% if _ic %}
|
{{ item.quantity|idr8 }} | {% set cs = '$ ' if item.asset_type == 'stock_us' else 'Rp ' %}{{ cs }}{{ item.avg_buy_price|price }} | {{ cs }}{{ item.current_price|price }} | {{ cs }}{{ item.current_value|idr }} | {{ cs }}{{ item.unrealized_pnl|sidr }} ({{ item.pnl_pct|spct2 }}) | {{ cs }}{{ item.realized_pnl|sidr }} | Analyze Timeline |
Belum ada posisi di portofolio
Tambah trade manual di atas, atau generate timeline lalu eksekusi.
Go to Timeline{{ entry.reason }}
{% endif %}| Time | {{ item_label }} | Side | Price | Qty | Value | Fee | P&L | |
|---|---|---|---|---|---|---|---|---|
| {{ t.executed_at|wib_short }} |
{% set _ic3 = coin_icon(tc) if tc else None %}
{% if _ic3 %}
|
{{ t.side }} | {% set tcs = '$ ' if tc and tc.asset_type == 'stock_us' else 'Rp ' %}{{ tcs }}{{ t.price|price }} | {{ t.quantity|idr8 }} | {{ tcs }}{{ t.total_value_idr|idr }} | {{ tcs }}{{ t.fee_idr|idr }} | {% if t.pnl_idr %}{{ tcs }}{{ t.pnl_idr|sidr }}{% else %}-{% endif %} |