Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PolygonCompany.country gives error #26

Open
zukangy opened this issue Jun 18, 2020 · 0 comments
Open

PolygonCompany.country gives error #26

zukangy opened this issue Jun 18, 2020 · 0 comments

Comments

@zukangy
Copy link

zukangy commented Jun 18, 2020

Code:

from pipeline_live.data.polygon.fundamentals import PolygonCompany
from pipeline_live.engine import LivePipelineEngine
from pipeline_live.data.sources.iex import list_symbols
from zipline.pipeline import Pipeline

--- code for API setup

pipe = Pipeline(
columns={'country': PolygonCompany.country.latest
},
screen=country
)

eng = LivePipelineEngine(list_symbols)

eng.run_pipeline(pipe)

error message:

File "zipline/lib/_factorize.pyx", line 187, in zipline.lib._factorize.factorize_strings
File "zipline/lib/_factorize.pyx", line 222, in zipline.lib._factorize.factorize_strings
File "zipline/lib/_factorize.pyx", line 171, in zipline.lib._factorize.factorize_strings_impl
TypeError: '<' not supported between instances of 'str' and 'NoneType'

Is there a fix?

Best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant