fix: форматирование цен с разделителями тысяч в Open Positions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
{{ 'LONG' if p.direction == 1 else 'SHORT' }}
|
||||
</span>
|
||||
</td>
|
||||
<td>${{ "%.2f"|format(p.entry_price) }}</td>
|
||||
<td>${{ "%.2f"|format(p.stop_price) }}</td>
|
||||
<td>${{ "{:,.2f}".format(p.entry_price) }}</td>
|
||||
<td>${{ "{:,.2f}".format(p.stop_price) }}</td>
|
||||
<td>{{ "%.3f"|format(p.correlation or 0) }}</td>
|
||||
<td>{{ p.entry_date }}</td>
|
||||
<td>${{ "%.2f"|format(p.equity) }}</td>
|
||||
<td>${{ "{:,.2f}".format(p.equity) }}</td>
|
||||
<td>
|
||||
<button class="outline secondary"
|
||||
hx-post="/api/close-position/{{ p.id }}"
|
||||
|
||||
Reference in New Issue
Block a user