diff options
Diffstat (limited to 'python/Dawn/views.py')
| -rw-r--r-- | python/Dawn/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py index 76482ff1..8d8c806a 100644 --- a/python/Dawn/views.py +++ b/python/Dawn/views.py @@ -131,7 +131,7 @@ def get_form(trade, kind): form = Form(obj=trade) else: today = pd.datetime.today() - if kind == 'cds': + if kind in ['cds', 'swaption']: tomorrow = today + pd.DateOffset(1) form = Form(trade_date=today.date(), effective_date=tomorrow.date(), |
