rewrite python interface

This commit is contained in:
Diogo Sousa
2023-07-31 19:03:17 +01:00
parent cca1c50fd4
commit 34131e9d04
4 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
from openbb_core.app.static.container import Container

View File

@@ -18,7 +18,7 @@ class CLASS_fixedincome(Container):
def treasury(
self,
start_date: Optional[str] = None,
end_date: Optional[str] = "2023-07-29",
end_date: Optional[str] = "2023-07-31",
chart: bool = False,
provider: Optional[Literal["fmp"]] = None,
**kwargs

View File

@@ -45,7 +45,7 @@ class CLASS_forex(Container):
start_date: Union[datetime.date, None, str] = None,
end_date: Union[datetime.date, None, str] = None,
chart: bool = False,
provider: Optional[Literal["polygon"]] = None,
provider: Optional[Literal["fmp", "polygon"]] = None,
**kwargs
) -> CommandOutput[typing.List]:
"""Forex Intraday Price."""

View File

@@ -87,7 +87,7 @@ class CLASS_stocks(Container):
start_date: Union[datetime.date, None, str] = None,
end_date: Union[datetime.date, None, str] = None,
chart: bool = False,
provider: Optional[Literal["polygon"]] = None,
provider: Optional[Literal["fmp", "polygon"]] = None,
**kwargs
) -> CommandOutput[typing.List]:
"""Load stock data for a specific ticker."""