OpenBB-finance/OpenBB · error · EmptyDataError
No data returned for the given symbols.
Error message
No data returned for the given symbols.
What it means
Error "No data returned for the given symbols." thrown in OpenBB-finance/OpenBB.
Source
Thrown at openbb_platform/providers/fmp/openbb_fmp/models/forward_eps_estimates.py:106
api_key = credentials.get("fmp_api_key") if credentials else ""
symbols = query.symbol.split(",") # type: ignore
results: list[dict] = []
base_url = "https://financialmodelingprep.com/stable/analyst-estimates?"
limit = query.limit if query.limit else 1000
async def get_one(symbol):
"""Get data for one symbol."""
url = f"{base_url}symbol={symbol}&period={query.fiscal_period}&limit={limit}&apikey={api_key}"
result = await get_data_many(url, **kwargs)
if not result or len(result) == 0:
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 returned for the given symbols.")
return results
@staticmethod
def transform_data(
query: FMPForwardEpsEstimatesQueryParams, data: list[dict], **kwargs: Any
) -> list[FMPForwardEpsEstimatesData]:
"""Return the transformed data."""
symbols = query.symbol.split(",") if query.symbol else []
cols = [
"symbol",
"date",
"epsAvg",
"epsHigh",
"epsLow",
"numberAnalystsEps",
]
year = datetime.now().yearView on GitHub (pinned to 3e071fcc2c)
Solutions
- Verify the symbols are valid tickers covered by FMP analyst estimates.
- Check that your FMP subscription includes forward EPS estimates.
- Try large-cap symbols; estimates coverage is limited for small companies.
When it happens
Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/forward_eps_estimates.py:106 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/a358d7ce85d8db94.
Report an issue: GitHub.