Back to Community
Question from Research Environment

Dear sir,
I tried using the this code, 'get_pricing' in my jupyter notebook environment, but it failed. See the error message:
NameError Traceback (most recent call last)
in ()
----> 1 data = get_pricing('MSFT', start_date='2012-01-01', end_date='2015-6-1')

NameError: name 'get_pricing' is not defined

Please assist

1 response

Did you import the function first?

from quantopian.research import get_pricing