summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2016-11-16 14:25:29 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2016-11-16 14:25:29 -0500
commit646adeb644258a6917906f91aefff8e557dd4a20 (patch)
tree9a9e320313130331c782d1faa310f10856598b7f
parent6e59edd66526004f70a714d2bbc23f424d5deda4 (diff)
downloadpyisda-646adeb644258a6917906f91aefff8e557dd4a20.tar.gz
typos
-rw-r--r--pyisda/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyisda/utils.py b/pyisda/utils.py
index a2b1e5e..b6724ce 100644
--- a/pyisda/utils.py
+++ b/pyisda/utils.py
@@ -87,8 +87,8 @@ def build_yc(trade_date, ql_curve = False):
periods_swaps, rates_swaps = zip(*markit_data['swaps'])
types = 'M' * len(periods) + 'S' * len(periods_swaps)
rates = array.array('d', rates)
- periods += periods_swaps)
- rates += rates_swaps)
+ periods += periods_swaps
+ rates += rates_swaps
yc = YieldCurve(trade_date, types, periods, rates, 'ACT/360', '6M',
'3M', '30/360', 'ACT/360', BadDay.MODIFIED)
return yc