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

Problems with free api #20

Open
ReDChicagOTypewriteR opened this issue Sep 12, 2023 · 4 comments
Open

Problems with free api #20

ReDChicagOTypewriteR opened this issue Sep 12, 2023 · 4 comments

Comments

@ReDChicagOTypewriteR
Copy link

I would like to know that I am writing projects according to documentation when using features such as ai to predict prices, but I have a problem with the first stage, as shown in the figure below

@image

According to the error content, if I use the free api, will I not be able to do relevant operations? Is it related to the fact that I have to use the premium subscription.

@johnsu262
Copy link

you can change the download from yahoo finance.

@imolitor
Copy link

what is the point of a demo project if you need to upgrade ....?
from their website: '....and claim your free API key to start exploring our full data portfolio!'.

@imolitor
Copy link

I showed a code-fix in #21

@ofenloch
Copy link

Fortunately, ALPHA VANTAGE uses the IBM data to demonstrate their API. From the example for Daily Adjusted we can get the proper link and do something like

curl "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=IBM&apikey=demo" > IBM_daily_adjusted.json

This will get us about three and half month of data. Instead of using ts.get_daily_adjusted(...) in method download_data we can read the values from the file.

This is not the best solution, but it enables us to run the script and see what it does...

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

4 participants