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

Share price - issue #22

Open
ghost opened this issue Feb 17, 2019 · 2 comments
Open

Share price - issue #22

ghost opened this issue Feb 17, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2019

I receive the below issue when running

import bulbea as bb
share = bb.Share('YAHOO', 'GOOGL')
share.data

module 'bulbea' has no attribute 'Share'

@moon-home
Copy link

@John19m have you figured it out? I have same problem

@GrahamboJangles
Copy link

GrahamboJangles commented Jul 25, 2019

Same problem.

@sailormoon2016 @John19m EDIT: Fixed it by editing

import bulbea as bb
share = bb.Share('YAHOO', 'GOOGL')
share.data
# Open        High         Low       Close      Volume  \
# Date                                                                     
# 2004-08-19   99.999999  104.059999   95.959998  100.339998  44659000.0   
# 2004-08-20  101.010005  109.079998  100.500002  108.310002  22834300.0   
# 2004-08-23  110.750003  113.479998  109.049999  109.399998  18256100.0   
# 2004-08-24  111.239999  111.599998  103.570003  104.870002  15247300.0   
# 2004-08-25  104.960000  108.000002  103.880003  106.000005   9188600.0

to be

os.environ["BULBEA_QUANDL_API_KEY"] = '<PUT API KEY HERE>'
import bulbea as bb
share = bb.Share('WIKI', 'GOOGL')
share.data
# Open        High         Low       Close      Volume  \
# Date                                                                     
# 2004-08-19   99.999999  104.059999   95.959998  100.339998  44659000.0   
# 2004-08-20  101.010005  109.079998  100.500002  108.310002  22834300.0   
# 2004-08-23  110.750003  113.479998  109.049999  109.399998  18256100.0   
# 2004-08-24  111.239999  111.599998  103.570003  104.870002  15247300.0   
# 2004-08-25  104.960000  108.000002  103.880003  106.000005   9188600.0

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

2 participants