Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Uploading and using partial custom data

I'm uploading a CSV with historic data like this:

2012-01-01,HWM,0.54
2013-01-01,HWM,-6.42
2014-01-01,HWM,0.63
2015-01-01,HWM,-0.93
2016-01-01,HWM,-2.31
2017-01-01,HWM,-0.28
2018-01-01,HWM,1.30
2019-01-01,HWM,1.03

However, when I run a simple pipeline it returns a random value.

from quantopian.pipeline import Pipeline  
from quantopian.research import run_pipeline  
from quantopian.pipeline.data.user_5eec52dd8b9b6d0044373dbe import yearly_eps_10_02_2020_1

pipe = Pipeline(  
    columns={  
        'my_dataset': yearly_eps_10_02_2020_1.eps.latest  
    },  
    screen=yearly_eps_10_02_2020_1.eps.latest.notnull()  
)

df = run_pipeline(pipe, '2005-01-01', '2020-01-01')  
df.head()  

I'm guessing it's because I didn't fill out each specific day. Is there a way around it?

1 response

The problem is that I was looking at HWM, where the ticker changed. The documentation is clear about this situation, I just didn't know there was a change as I picked a random one.