diff options
Diffstat (limited to 'app/trading/views.py')
-rw-r--r-- | app/trading/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/trading/views.py b/app/trading/views.py index 4f2c1d6..9922bd5 100644 --- a/app/trading/views.py +++ b/app/trading/views.py @@ -15,6 +15,7 @@ class LuxTradeListView(PaginatedListView): context['open_trades'] = LuxTrade.objects.filter(status=0) context['watch_trades'] = LuxTrade.objects.filter(status=2) context['options_trades'] = LuxOptionsTrade.objects.filter(status__in=[0,2]) + context['options_trades_closed'] = LuxOptionsTrade.objects.filter(status=1) context['monthly_pl'] = LuxTrade.stats.get_month_pl() context['month'] = datetime.now().strftime('%h') return context |