alphavantage icon indicating copy to clipboard operation
alphavantage copied to clipboard

Adjusted

Open aheschl1 opened this issue 10 months ago • 2 comments

I have added the capacity to query for "adjusted" tim series data.

For the client, this includes:

  1. get_time_series_monthly_adjusted_full
  2. get_time_series_weekly_adjusted_full
  3. get_time_series_daily_adjusted_full
  4. get_time_series_daily_adjusted

Only daily has the compact data.

Other changes that have occured include some visibility changes insode of TimeSeries that I have found useful. This is just changes from pub(crate) to pub in some places.

The addition of adjusted time series includes some major changes to parsing, and a little bit of repetitive code, which I am not sure how to avoid.

Test cases

Entry now has three extra Option fields. By default, these will be None if querying for a "non adjusted" time series.

aheschl1 avatar Jan 14 '25 04:01 aheschl1

does the failed "Test" check mean test cases didn't pass?? if so I must have messed up the merge

aheschl1 avatar Jan 14 '25 05:01 aheschl1

Tests are passing but there are other checks to ensure cargo clippy does not generate any warnings and cargo fmt --check passes.

asmarques avatar Jan 25 '25 11:01 asmarques