summaryrefslogtreecommitdiffstats
path: root/openbb_platform/openbb/package/crypto_price.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/openbb/package/crypto_price.py')
-rw-r--r--openbb_platform/openbb/package/crypto_price.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/openbb_platform/openbb/package/crypto_price.py b/openbb_platform/openbb/package/crypto_price.py
index bbd332f8d18..d60ec9119d6 100644
--- a/openbb_platform/openbb/package/crypto_price.py
+++ b/openbb_platform/openbb/package/crypto_price.py
@@ -40,7 +40,7 @@ class ROUTER_crypto_price(Container):
provider: Annotated[
Optional[Literal["fmp", "polygon", "tiingo", "yfinance"]],
OpenBBField(
- description="The provider to use for the query, by default None.\n If None, the provider specified in defaults is selected or 'fmp' if there is\n no default."
+ description="The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, polygon, tiingo, yfinance."
),
] = None,
**kwargs
@@ -56,9 +56,7 @@ class ROUTER_crypto_price(Container):
end_date : Union[datetime.date, None, str]
End date of the data, in YYYY-MM-DD format.
provider : Optional[Literal['fmp', 'polygon', 'tiingo', 'yfinance']]
- The provider to use for the query, by default None.
- If None, the provider specified in defaults is selected or 'fmp' if there is
- no default.
+ The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, polygon, tiingo, yfinance.
interval : Union[Literal['1m', '5m', '15m', '30m', '1h', '4h', '1d'], str, Literal['1m', '2m', '5m', '15m', '30m', '60m', '90m', '1h', '1d', '5d', '1W', '1M', '1Q']]
Time interval of the data to return. (provider: fmp, polygon, tiingo, yfinance)
sort : Literal['asc', 'desc']
@@ -125,7 +123,7 @@ class ROUTER_crypto_price(Container):
provider_choices={
"provider": self._get_provider(
provider,
- "/crypto/price/historical",
+ "crypto.price.historical",
("fmp", "polygon", "tiingo", "yfinance"),
)
},