Closed doctorpangloss closed 9 years ago
@doctorpangloss the failure there is zipline trying to load a cached csv file of treasury rate information. I would look at the tr_filepath
value that's being loaded on 207 of zipline/data/loader.py and verify that that file exists and looks like a CSV representing treasury rates. I'd expect the first few lines to look something like:
,10year,1month,1year,20year,2year,30year,3month,3year,5year,6month,7year,date,tid
1990-01-02 00:00:00+00:00,0.0794,,0.0781,,0.0787,0.08,0.0783,0.079,0.0787,0.0789,0.0798,1990-01-02 00:00:00+00:00,1753
1990-01-03 00:00:00+00:00,0.0799,,0.0785,,0.0794,0.0804,0.0789,0.0796,0.0792,0.0794,0.0804,1990-01-03 00:00:00+00:00,1752
1990-01-04 00:00:00+00:00,0.0798,,0.0782,,0.0792,0.0804,0.0784,0.0793,0.0791,0.079,0.0802,1990-01-04 00:00:00+00:00,1754
If that's not the case, I'm not sure what might have messed up that file, but I believe it should re-download if deleted.
Thanks so much, I'm investigating this now and I'll post a PR if I can have zipline
resolve these sorts of issues automatically.
https://github.com/quantopian/zipline/pull/559
I can also try to write a test for this issue.
I use a simple test for my environment integrity. On Sunday this worked. Today it does not. Nothing has changed.
pip freeze
Test: