Fix off by one issue in OANDA

This commit is contained in:
2022-11-29 07:20:39 +00:00
parent f240c4b381
commit f7242f4dd8
4 changed files with 6 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
<th>quote</th>
<th>P/L</th>
<th>side</th>
<th>stored</th>
<th>trades</th>
<th>actions</th>
</thead>
{% for item in items %}
@@ -33,7 +33,7 @@
</span>
{% endif %}
</td>
<td>{{ item.trades|length }}</td>
<td>{{ item.trade_ids|length }}</td>
<td>
<div class="buttons">
<button

View File

@@ -1,6 +1,5 @@
{% include 'partials/notify.html' %}
<h1 class="title">Live information</h1>
{{ valid_trade_ids }}
<table class="table is-fullwidth is-hoverable">
<thead>
<th>attribute</th>