Skip to content

Problems with free api #20

Open
Open
@ReDChicagOTypewriteR

Description

@ReDChicagOTypewriteR

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.

Activity

johnsu262

johnsu262 commented on Dec 23, 2023

@johnsu262

you can change the download from yahoo finance.

imolitor

imolitor commented on Mar 27, 2024

@imolitor

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

imolitor commented on Mar 27, 2024

@imolitor

I showed a code-fix in #21

ofenloch

ofenloch commented on Dec 31, 2024

@ofenloch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Problems with free api · Issue #20 · jinglescode/time-series-forecasting-pytorch