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

Error in Share object creation #18

Open
manishtoons opened this issue Jul 17, 2018 · 2 comments
Open

Error in Share object creation #18

manishtoons opened this issue Jul 17, 2018 · 2 comments

Comments

@manishtoons
Copy link

manishtoons commented Jul 17, 2018

Hi, Im getting this eror, I installed all the requirements, tensorflow. Installed form latest master as instructed in docs

In [1]: import bulbea as bb

In [2]: share = bb.Share(source = 'YAHOO', ticker = 'GOOGL')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-bcc4c21f9124> in <module>()
----> 1 share = bb.Share(source = 'YAHOO', ticker = 'GOOGL')

/home/mahendra/workspace/dev/envs/bulbea/bulbea/bulbea/entity/share.py in __init__(self, source, ticker, start, end, latest, cache)
    164 
    165         if not _check_environment_variable_set(envvar):
--> 166             message = Color.warn("Environment variable {envvar} for Quandl hasn't been set. A maximum of {max_calls} calls per day can be made. Visit {url} to get your API key.".format(envvar = envvar, max_calls = QUANDL_MAX_DAILY_CALLS, url = ABSURL_QUANDL))
    167 
    168             warnings.warn(message)

TypeError: unbound method warn() must be called with Color instance as first argument (got str instance instead)

In [3]: 

@MattacusPrime
Copy link

If you look up color.warn, you are missing a param before the first quotation.

@wulixin
Copy link

wulixin commented Feb 9, 2019

hello , you need import quandl , building quandl enviroment! bulbea include many other finance packages!!

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

3 participants