aboutsummaryrefslogtreecommitdiffstats
path: root/python/markit_cds.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/markit_cds.py')
-rw-r--r--python/markit_cds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/markit_cds.py b/python/markit_cds.py
index 20958eff..01a13532 100644
--- a/python/markit_cds.py
+++ b/python/markit_cds.py
@@ -16,8 +16,8 @@ def convertToNone(v):
def download_data(workdate):
r = requests.get('https://www.markit.com/export.jsp?user={0}&password={1}&date={2}&format=csv&report=FIXED_COUPON&type=CDS&version=5'.format(user, password, workdate))
- marks_filename = os.path.join(root, "data", "CDS", "eod {0}.zip".format(workdate))
- f2 = open(os.path.join(root, "data", "CDS", "cds eod {0}.csv".format(workdate)), "wb")
+ marks_filename = os.path.join(root, "Tranche_data", "CDS", "eod {0}.zip".format(workdate))
+ f2 = open(os.path.join(root, "Tranche_data", "CDS", "cds eod {0}.csv".format(workdate)), "wb")
with zipfile.ZipFile(io.BytesIO(r.content)) as z:
for f in z.namelist():
if "csv" in f: