diff options
author | luxagraf <sng@luxagraf.net> | 2021-07-15 09:54:32 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-07-15 09:54:32 -0400 |
commit | 8af402161ed8cf7d67c5e44c36f5bad6e23c5cb2 (patch) | |
tree | 6bf41e0f2b9d399eb22e7aef060aea6fecb5313c /app/trading/templates | |
parent | b54394f01539472fe80624da3c58216936d98456 (diff) |
trad: added some details to closed trades
Diffstat (limited to 'app/trading/templates')
-rw-r--r-- | app/trading/templates/trading/list.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index fc3f1c5..c43a1ff 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -40,8 +40,8 @@ <table> <thead> <tr> - <th>Open Date</th> <th>Symbol</th> + <th>Open Date</th> <th>Entry Price</th> <th>Stop</th> <th>Target</th> @@ -55,8 +55,8 @@ </thead> {% for object in watch_trades %} <tr> - <td>{{object.date|date:"m-d-Y"}}</td> <td>{{object.symbol}}</td> + <td><a href="{{object.get_absolute_url}}">{{object.date|date:"m-d-Y"}}</a></td> <td>${{object.entry_price}}</td> <td>${{object.stop_price}}</td> <td>${{object.target_price}}</td> @@ -82,15 +82,14 @@ <th>Number of Shares</th> <th>Total Invested</th> <th>$ at Risk</th> - <th>% at Risk</th> <th>$ Goal</th> - <th>% Goal</th> - <th>Risk/Reward</th> + <th>Realized $</th> + <th>Realized %</th> </tr> </thead> {% for object in object_list %} <tr> - <td>{{object.date}}</td> + <td><a href="{{object.get_absolute_url}}">{{object.date|date:"m-d-Y"}}</a></td> <td>{{object.symbol}}</td> <td>${{object.entry_price}}</td> <td>${{object.stop_price}}</td> @@ -98,10 +97,9 @@ <td>{{object.shares}}</td> <td>${{object.amount_invested}}</td> <td>${{object.risk_dollars}}</td> - <td>{{object.risk_percent}}</td> <td>${{object.goal_dollars}}</td> - <td>{{object.goal_percent}}</td> - <td>{{object.risk_reward}}</td> + <td>${{object.realized_dollars}}</td> + <td>{{object.realized_percent}}</td> </tr> {% endfor %} </table> |