--
You received this message because you are subscribed to the Google Groups "Zipline Python Opensource Backtester" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipline+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you show your extension.py please?
> created folders daily and monthly in folder csvdir and added the attached file to the hourly foldercsvdir supports only daily and minute time frames.
> The code for csvdir.py was taken from https://github.com/bartosh/zipline/blob/master/zipline/data/bundles/csvdir.pyI'd suggest to take recent version from csvdir branch. It's under review now and hopefully will be merged into zipline codebase soon.
> cannot import name 'csvdir_equities'Can you show me the output of this command: python -c 'from zipline.data.bundles.csvdir import csvdir_equities'
2017-10-30 13:15 GMT+02:00 Apoorv Vishnoi <vishnoi...@gmail.com>:
Requesting help from Ed regarding CSVDIR. Help from anyone else is also more than welcome.I have tried using CSVDIR for several hours, trying different things reading from past posts but nothing seems to work.Here is what I have done:Step 1: Created environment variableCSVDIR=C:\csvdircreated folders daily and monthly in folder csvdir and added the attached file to the hourly folderStep 2: Created the file csvdir.py in the following folder:C:\Users\Apoorv\Miniconda3\envs\35\Lib\site-packages\zipline\data\bundlesThe code for csvdir.py was taken from https://github.com/bartosh/zipline/blob/master/zipline/data/bundles/csvdir.pyStep 3: Added zipline ingest -b csvdir in conda prompt and got the following error:C:\Users\Apoorv\Miniconda3\envs\35\lib\site-packages\zipline\__main__.py:50: UserWarning: Failed to load extension: 'C:\\Users\\Apoorv/.zipline\\extension.py'cannot import name 'csvdir_equities'os.environ,Error: No bundle registered with the name 'csvdir'Looking forward to hear from you.Apoorv
--
You received this message because you are subscribed to the Google Groups "Zipline Python Opensource Backtester" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipline+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--BR,
Ed
from zipline.data.bundles import csvdir_equities, register
it should be:
from zipline.data.bundles import register
To unsubscribe from this group and stop receiving emails from it, send an email to zipline+unsubscribe@googlegroups.com.