diff options
Diffstat (limited to 'app/trading')
-rw-r--r-- | app/trading/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/trading/views.py b/app/trading/views.py index 82904ca..95f531d 100644 --- a/app/trading/views.py +++ b/app/trading/views.py @@ -31,7 +31,7 @@ class LuxTradeListView(PaginatedListView): context['options_monthly_pl'] = LuxOptionPurchase.stats.get_month_pl() context['options_year_pl'] = LuxOptionPurchase.stats.get_year_pl() context['month'] = timezone.now().strftime('%h') - context['luxoptions_purchases'] = LuxOptionPurchase.objects.filter(close_date__range=(start_date, end_date)) + context['luxoptions_purchases'] = LuxOptionPurchase.objects.filter(open_date__range=(start_date, end_date)) return context def get_queryset(self): |