From 6292a0cd72489c877806fd3a15b8faef2fc3c823 Mon Sep 17 00:00:00 2001 From: lxf Date: Thu, 13 Jan 2022 10:13:21 -0500 Subject: trad: moved rounding to template --- app/trading/templates/trading/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/trading') diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index 5c0c89e..909d2c4 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -32,8 +32,8 @@ {%endfor%} - ${{object.total_invested}} - ${{object.trade_risk}} + ${{object.total_invested|floatformat:2}} + ${{object.trade_risk|floatformat:2}} {{object.portfolio_risk|floatformat:2}}% ${{object.sell_half_at|floatformat:2}} ${{object.stop_price|floatformat:2}} -- cgit v1.2.3-70-g09d2