| {a.ticker} |
{#if isEditing && editing}
{:else}
{a.type}
{/if}
|
{#if isEditing && editing}
{:else}
{a.shares}
{/if}
|
{#if isEditing && editing}
{:else}
{fmt(a.costBasis)}
{/if}
|
{fmt(a.currentPrice != null ? parseFloat(a.currentPrice) : null)} |
{fmt(a.marketValue != null ? parseFloat(a.marketValue) : null)} |
{a.gainLossPct != null ? a.gainLossPct + '%' : '—'} |
{#if a.signal}{:else}—{/if} |
{a.advice} |
{a.reason} |
{#if isEditing}
{:else}
{/if}
|
{/each}