-
Notifications
You must be signed in to change notification settings - Fork 0
/
history.njk
32 lines (31 loc) · 866 Bytes
/
history.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: History
layout: default
---
<div class="container">
{% for fund in funds %}
<h2>{{ fund.name }} Fund</h2>
<table class="table">
<thead>
<tr>
<th>Date</th>
<th>10-month End Price</th>
<th>10-month SMA</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for position in positions | reverse %}
{% if position.fund == fund.name %}
<tr>
<td>{{ position.date | formatDate("MMM D, YYYY") }}</td>
<td>{{ position.tenthMonthPrice | formatCurrency }}</td>
<td>{{ position.tenMonthAverage | formatCurrency }}</td>
<td>{% if position.invested %}Invested{% else %}Moved to G{% endif %}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
{% endfor %}
</div>