Open Portfolio can be used to manage and monitor the returns and risks of a portfolio of investments such as listed equities and fixed income securities.
7 | 8 |Investment | 14 |Latest Price | 15 |Price Date | 16 |17 | |
---|---|---|---|
{{i.name}} | 24 |{{i.latest_price}} | 25 |{{i.latest_price_date}} | 26 |Edit | Report | 27 |
Date | 8 |Price | 9 |Return | 10 | 11 |
---|---|---|
{{p.date|date:"M-Y"}} | 16 |{% pyformat p.price "{0:.2f}" %} | 17 |{% pyformat p.return format %} | 18 |
Your username and password didn't match. Please try again.
8 | {% endif %} 9 | 10 | 26 | 27 | {% endblock %} -------------------------------------------------------------------------------- /openportfolioapp/templates/logout.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Open Portfolio{% endblock %} 4 | {% block content %} 5 | 6 | 7 | You have been successfully logged out. 8 | 9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /openportfolioapp/templates/portfolio/holdings_table.html: -------------------------------------------------------------------------------- 1 | {% load openportfolioapp_extras %} 2 | {% load pyformat %} 3 | 4 |Name | 7 | {% for f in fields %} 8 | {% if f.format == 'rc' %} 9 |{{f.label}} ({{report_currency.code}}) | 10 | {%else%} 11 |{{f.label}} | 12 | {%endif%} 13 | {% endfor %} 14 | 15 | 16 | 17 | {% for i in df.index %} 18 | {% dataframe_xs df,i as xs %} 19 | 20 ||
---|---|---|---|
{{i.name}} | 22 | {% for f in fields %} 23 | 24 | {% if f.format == 'lc' %} 25 |{{xs|hash:f.key|currency:i.currency.locale_code}} | 26 | {%else%} 27 | {% if f.format == 'rc' %} 28 |{{xs|hash:f.key|currency:report_currency.locale_code}} | 29 | {%else%} 30 |{% pyformat xs|hash:f.key f.format %} | 31 | {%endif%} 32 | {%endif%} 33 | {% endfor %} 34 |
TOTAL | 40 | {% for f in fields %} 41 | {% if f.total == None %} 42 |43 | {%else%} 44 | {% if f.format == 'rc' %} 45 | | {{df|hash:f.key|call:f.total|currency:report_currency.locale_code}} | 46 | {%else%} 47 |{% pyformat df|hash:f.key|call:f.total f.format %} | 48 | {%endif%} 49 | {%endif%} 50 | {% endfor %} 51 | 52 |
Portfolio | 12 |13 | |
---|---|
{{p.full_name}} | 20 |Edit | Report | 21 |
Date | 8 |Portfolio | 9 |Return | 10 |Benchmark | 11 |Return | 12 |Active Return | 13 |
---|---|---|---|---|---|
{{p.date|date:"M-Y"}} | 18 |{% pyformat p.MVp "{0:.2f}" %} | 19 |{% pyformat p.Rp format %} | 20 |{% pyformat p.MVb "{0:.2f}" %} | 21 |{% pyformat p.Rb format %} | 22 |{% pyformat p.Ra format %} | 23 |