Open brettelliot opened 5 years ago
Hi zipline devs. Is this a bug you think you'll get to soon-ish or is it low on the priority list? Thanks!
Hi Team, any update on this issue?
got same problem.
Same here
Very similar issue. I can execute
daily_history = data.history(context.asset, 'price', bar_count=**1**, frequency="1d")
But if I do daily_history = data.history(context.asset, 'price', bar_count=**10**, frequency="1d") #any number but 1 fails.
I get the following exception
File "zipline/data/_equities.pyx", line 140, in zipline.data._equities._compute_row_slices ValueError: At least one valid asset id is required.
Same here. Feeling bad that this issue is still not fixed.
Is zipline still an actively maintained repo?
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
data.history
where frequency ==1d
and expected to get data back.KeyError: 0
(full stack trace later).Here is how you can reproduce this issue on your machine:
Reproduction Steps
./iex ./iex/minute ./iex/minute/AAPL.csv
Ingest:
CSVDIR=./iex/ zipline ingest -b my-iex-csvdir
Create a simple algorithm that just calls
data.history
. Mine's callede0011g.py
(rename from .txt)e0011g.py.txt
zipline run -f e0011g.py -s '2018-11-01' -e '2018-11-30' -b my-iex-csvdir --data-frequency minute -o /dev/null
...
What steps have you taken to resolve this already?
I've tried running the algorithm with different start dates so that there's several days of data before the algo runs.
I've searched github and have seen this issue was fixed twice already (so I know it's a supported feature)
https://github.com/quantopian/zipline/issues/1629 https://github.com/quantopian/zipline/issues/1356
...
Anything else?
Here's a complete stack trace:
...
Sincerely,
$ whoami