mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
Yahoo Finance's /v1/finance/search endpoint returns OPTION and FUTURE quoteTypes alongside the requested EQUITY/ETF row. yahoo-finance2's SearchQuoteYahoo* schemas don't include those quoteTypes, so AJV rejects the entire payload and the search() call throws. Ghostfolio's YahooFinanceService.search() returns an empty array, breaking symbol lookup in the Add Activity dialog for any US-listed ETF with an active options chain (IXUS, VTI, IVV, VOO, QQQM, SCHF, VIG, etc.). The downstream quoteTypes.includes(quoteType) filter already excludes OPTION rows, so disabling strict response validation here is safe and preserves all existing behavior.pull/6953/head
2 changed files with 28 additions and 35 deletions
Loading…
Reference in new issue