diff options
author | luxagraf <sng@luxagraf.net> | 2021-07-14 16:01:53 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-07-14 16:01:53 -0400 |
commit | b54394f01539472fe80624da3c58216936d98456 (patch) | |
tree | fa4cc6aea4d037ec9f2218e9cb02802889e163b8 /app/trading/templates | |
parent | a7d89d654048ce6d6651f842e2b2389c575dfb1d (diff) |
trad: fixed a couple bugs
Diffstat (limited to 'app/trading/templates')
-rw-r--r-- | app/trading/templates/trading/list.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index 83ccef2..fc3f1c5 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -15,11 +15,12 @@ <th>$ Goal</th> <th>% Goal</th> <th>Risk/Reward</th> + <th>Price Calc</th> </tr> </thead> {% for object in open_trades %} <tr> - <td><a href="">{{object.symbol}}</a></td> + <td><a href="https://www.tradingview.com/chart/?symbol={{object.symbol}}" target="_blank">{{object.symbol}}</a></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> @@ -30,7 +31,7 @@ <td>${{object.goal_dollars}}</td> <td>{{object.goal_percent}}</td> <td>{{object.risk_reward}}</td> - <td><input id="id_close_price"> <span id=profit"></span></td> + <td><input class="close_price_calc" id="id_close_price_{{forloop.counter}}"> <span id=profit"></span></td> </tr> {% endfor %} </table> |