Skip to content

Import dividends via market-data providers; update for Wealthfolio 3.5.1#4

Open
afadil wants to merge 1 commit into
kwaich:mainfrom
afadil:update/dividends-importer-3.5.1
Open

Import dividends via market-data providers; update for Wealthfolio 3.5.1#4
afadil wants to merge 1 commit into
kwaich:mainfrom
afadil:update/dividends-importer-3.5.1

Conversation

@afadil

@afadil afadil commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces the Yahoo Finance dividend scraper with Wealthfolio's provider-neutral
market data API and brings the addon up to date with Wealthfolio 3.5.x.

  • Fetches dividends through market.fetchDividends, passing symbol, exchange,
    instrument type, and quote currency context instead of scraping Yahoo Finance.
  • Resolves asset metadata via assets.getProfile, now declared under the
    correct assets permission category (previously grouped under market-data).
  • Fetches up to 5 years of dividend history using the Wealthfolio 3.5.0 default
    lookback.
  • Updates to addon SDK / UI / dev-tools 3.5.1 and uses the SDK-native
    dividend types (DividendEvent, FetchDividendsOptions).
  • Bumps the addon to 1.1.1; requires Wealthfolio 3.5.0 or newer.
  • Renames the dividend modules yahoo-dividendsmarket-dividends.
  • Refreshes the README with light and dark screenshots; updates tests and docs.

Compatibility

Before After
Addon version 1.0.4 1.1.1
SDK version 3.3.0 3.5.1
Min Wealthfolio 3.5.0

Testing

  • pnpm type-check — passes
  • pnpm test — 69 tests across 14 files pass

…lio 3.5.1

Replace the Yahoo Finance dividend scraper with Wealthfolio's provider-neutral
market data API and bring the addon up to date with Wealthfolio 3.5.x.

- Fetch dividends through `market.fetchDividends`, passing symbol, exchange,
  instrument type, and quote currency context instead of scraping Yahoo Finance
- Resolve asset metadata via `assets.getProfile` (declared under the correct
  `assets` permission category)
- Fetch up to 5 years of dividend history using the Wealthfolio 3.5.0 default
  lookback
- Update to addon SDK / UI / dev-tools 3.5.1 and use the SDK-native dividend
  types (`DividendEvent`, `FetchDividendsOptions`)
- Bump to 1.1.1; require Wealthfolio 3.5.0 or newer
- Refresh README with light and dark screenshots; update tests and docs

Rename the dividend modules from `yahoo-dividends` to `market-dividends`.
@afadil

afadil commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

The addon is now live in the store https://wealthfolio.app/addons

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

Successfully merging this pull request may close these issues.

1 participant