Databundle Default Directory

52 views
Skip to first unread message

Tariq Khan

unread,
Sep 17, 2016, 8:54:53 AM9/17/16
to Zipline Python Opensource Backtester
Hi, I'm just getting started with zipline. How do I change the default directory for the data bundles?

I want to set it to a mounted drive somewhere besides the default at ~/.zipline/data as mentioned in the documentation here (http://www.zipline.io/bundles) where I will have tons more space.

I guess I need to set the $ZIPLINE_HOME variable. Where do I do that?

Thanks,

Tariq

Mike Ellertson

unread,
Jun 10, 2017, 8:53:05 PM6/10/17
to Zipline Python Opensource Backtester
Assuming you're on Linux, you can add the following line to the file ~/.bashrc:

export ZIPLINE_HOME=/your/new/directory

Mike
Reply all
Reply to author
Forward
0 new messages