summaryrefslogtreecommitdiff
path: root/app/trading
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-01-06 10:06:46 -0500
committerlxf <sng@luxagraf.net>2022-01-06 10:06:46 -0500
commit66b01525e454369aacaa5bd42c791aa261878562 (patch)
tree40e1a3d2dc97d9227d1069702d7fa6bbb60a7fb9 /app/trading
parentc2acb9c93081956725e33808764e35c61cc7b90b (diff)
trad: fixed a template bug
Diffstat (limited to 'app/trading')
-rw-r--r--app/trading/templates/trading/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html
index be9b527..a8a0a01 100644
--- a/app/trading/templates/trading/list.html
+++ b/app/trading/templates/trading/list.html
@@ -19,11 +19,11 @@
</thead>
{% for object in luxoptions_purchases %}
<tr>
- <td><a href="https://www.tradingview.com/chart/?symbol={{object.symbol}}" target="_blank">{{object.symbol}}</a></td>
+ <td><a href="https://www.tradingview.com/chart/?symbol={{object.symbol}}" target="_blank">{{object.symbol|upper}}</a></td>
<td><a href="{{object.get_absolute_url}}">{{object.open_date|date:"Y-m-d"}}</a></td>
<td>
<div class="data_calc">
- {% for contract in object.luxoptioncontact_set.all %}{% if forloop.first%}
+ {% for contract in object.luxoptioncontract_set.all %}{% if forloop.first%}
<span id="contract" data-num-contracts="{{object.get_contract_count}}">{{object.get_contract_count}}</span>
<span>{{contract.expiration_date|date:"Mj"}}</span>
<span>${{contract.strike_price|floatformat:0}} {{contract.get_call_put_display|title}}</span>