mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 10:42:58 +00:00
rewrite python interface
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
||||
|
||||
|
||||
|
||||
from openbb_core.app.static.container import Container
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."""
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user