OpenBB-finance/OpenBB · error · EmptyDataError

No data found for given symbols.

Error message

No data found for given symbols.

What it means

Error "No data found for given symbols." thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py:474

                ttm_result["fiscal_period"] = "TTM"
                ttm_result["fiscal_year"] = datetime.today().year
                if currency:
                    ttm_result["reportedCurrency"] = currency
                result.insert(0, ttm_result)

            if not result:
                warnings.warn(f"Symbol Error: No data found for {symbol}.")

            if not result:
                warnings.warn(f"Symbol Error: No data found for {symbol}.")

            if result:
                results.extend(result)

        await asyncio.gather(*[get_one(symbol) for symbol in symbols])

        if not results:
            raise EmptyDataError("No data found for given symbols.")

        return results

    @staticmethod
    def transform_data(
        query: FMPFinancialRatiosQueryParams, data: list, **kwargs: Any
    ) -> list[FMPFinancialRatiosData]:
        """Return the transformed data."""
        return [
            FMPFinancialRatiosData.model_validate(d)
            for d in sorted(data, key=lambda x: x["date"], reverse=True)
        ]

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Verify the symbols are valid tickers supported by FMP.
  2. Check your FMP API key and subscription for financial ratios access.
  3. Try different symbols or a different period.

When it happens

Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py:474 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of OpenBB-finance/OpenBB@3e071fcc2c (2026-08-14). Data as JSON: /api/errors/46e1d660b73429e8. Report an issue: GitHub.