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

Problem of API missing. get_intraday_extend #364

Closed
731315163 opened this issue Apr 21, 2024 · 2 comments
Closed

Problem of API missing. get_intraday_extend #364

731315163 opened this issue Apr 21, 2024 · 2 comments

Comments

@731315163
Copy link

Optional: month

By default, this parameter is not set and the API will return intraday data for the most recent days of trading. You can use the month parameter (in YYYY-MM format) to query a specific month in history. For example, month=2009-01. Any month in the last 20+ years since 2000-01 (January 2000) is supported.
Why can the 'ts.get_intraday_extend 'api only obtain data from the last two years of a specified month, while the official support is for 20 years?

@731315163
Copy link
Author

@av._output_format
@av._call_api_on_func
def get_intraday_extended(self, symbol, interval='15min', slice='year1month1'):
""" Return extended intraday time series in one csv_reader object.
It raises ValueError when problems arise

    Keyword Arguments:
        symbol:  the symbol for the equity we want to get its data
        interval:  time interval between two conscutive values,
            supported values are '1min', '5min', '15min', '30min', '60min'
            (default '15min')
        slice: the trailing 2 years of intraday data is evenly divided into
            24 "slices" - year1month1, year1month2, ..., year2month12
    """
    _FUNCTION_KEY = "TIME_SERIES_INTRADAY_EXTENDED"
    return _FUNCTION_KEY, "Time Series ({})".format(interval), 'Meta Data'

@AlphaVantageSupport
Copy link
Collaborator

Temporarily closing this due to lack of activities. Will reopen as needed.

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