Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to the Alpha Vantage Documentation `time_series_intraday_extended` queries have now been folded into `time_series_intraday` queries via an added optional month parameter. I tried to incorporate the optional parameters `month`, `extended_hours`, and `adjusted` by making the following changes. 1) Adding the above parameters to the `time_series_intraday` function and defaulting the boolean parameters `extended_hours` and `adjusted` to `true` as per the API documentation. 2) Adding an argcheck for the non boolean `month` parameter to ensure that months are entered in the required (YYYY-MM) format starting from 2000-01 which is when data is first available. 3) Adding the new parameters to the `params`dictionary. No other alterations were made to the `time_series_intraday` function. I removed the `time_series_intraday_extended` function as it appears to have been deprecated. It no longer appears in the Alpha Vantage API documentation and did not appear to work when I tested it. Thanks for reviewing the matter.
- Loading branch information