summaryrefslogtreecommitdiffstats
path: root/openbb_platform/openbb/package/equity_fundamental.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/openbb/package/equity_fundamental.py')
-rw-r--r--openbb_platform/openbb/package/equity_fundamental.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/openbb_platform/openbb/package/equity_fundamental.py b/openbb_platform/openbb/package/equity_fundamental.py
index 4ac6cd64daa..ff337f1c256 100644
--- a/openbb_platform/openbb/package/equity_fundamental.py
+++ b/openbb_platform/openbb/package/equity_fundamental.py
@@ -3636,9 +3636,17 @@ class ROUTER_equity_fundamental(Container):
@validate
def transcript(
self,
- symbol: Annotated[str, OpenBBField(description="Symbol to get data for.")],
+ symbol: Annotated[
+ Union[str, List[str]],
+ OpenBBField(
+ description="Symbol to get data for. Multiple comma separated items allowed for provider(s): fmp."
+ ),
+ ],
year: Annotated[
- int, OpenBBField(description="Year of the earnings call transcript.")
+ Union[int, str, List[Union[int, str]]],
+ OpenBBField(
+ description="Year of the earnings call transcript. Multiple comma separated items allowed for provider(s): fmp."
+ ),
],
provider: Annotated[
Optional[Literal["fmp"]],
@@ -3652,10 +3660,10 @@ class ROUTER_equity_fundamental(Container):
Parameters
----------
- symbol : str
- Symbol to get data for.
- year : int
- Year of the earnings call transcript.
+ symbol : Union[str, List[str]]
+ Symbol to get data for. Multiple comma separated items allowed for provider(s): fmp.
+ year : Union[int, str, List[Union[int, str]]]
+ Year of the earnings call transcript. Multiple comma separated items allowed for provider(s): fmp.
provider : Optional[Literal['fmp']]
The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp.
@@ -3689,7 +3697,7 @@ class ROUTER_equity_fundamental(Container):
Examples
--------
>>> from openbb import obb
- >>> obb.equity.fundamental.transcript(symbol='AAPL', year=2020, provider='fmp')
+ >>> obb.equity.fundamental.transcript(symbol='AAPL', year='2020', provider='fmp')
""" # noqa: E501
return self._run(
@@ -3707,5 +3715,9 @@ class ROUTER_equity_fundamental(Container):
"year": year,
},
extra_params=kwargs,
+ info={
+ "symbol": {"fmp": {"multiple_items_allowed": True}},
+ "year": {"fmp": {"multiple_items_allowed": True}},
+ },
)
)