mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 21:42:22 +00:00
static files
This commit is contained in:
@@ -1,46 +1,17 @@
|
||||
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
||||
|
||||
|
||||
|
||||
from openbb_core.app.static.container import Container
|
||||
|
||||
|
||||
class Extensions(Container):
|
||||
@property
|
||||
def forex(self): # route = "/forex"
|
||||
from openbb_core.app.static.package import forex
|
||||
|
||||
return forex.CLASS_forex(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def qa(self): # route = "/qa"
|
||||
from openbb_core.app.static.package import qa
|
||||
|
||||
return qa.CLASS_qa(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def crypto(self): # route = "/crypto"
|
||||
from openbb_core.app.static.package import crypto
|
||||
|
||||
return crypto.CLASS_crypto(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def news(self): # route = "/news"
|
||||
from openbb_core.app.static.package import news
|
||||
|
||||
return news.CLASS_news(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def stocks(self): # route = "/stocks"
|
||||
from openbb_core.app.static.package import stocks
|
||||
|
||||
return stocks.CLASS_stocks(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def ta(self): # route = "/ta"
|
||||
from openbb_core.app.static.package import ta
|
||||
|
||||
return ta.CLASS_ta(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def economy(self): # route = "/economy"
|
||||
from openbb_core.app.static.package import economy
|
||||
@@ -56,3 +27,33 @@ class Extensions(Container):
|
||||
return fixedincome.CLASS_fixedincome(
|
||||
command_runner_session=self._command_runner_session
|
||||
)
|
||||
|
||||
@property
|
||||
def forex(self): # route = "/forex"
|
||||
from openbb_core.app.static.package import forex
|
||||
|
||||
return forex.CLASS_forex(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def news(self): # route = "/news"
|
||||
from openbb_core.app.static.package import news
|
||||
|
||||
return news.CLASS_news(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def qa(self): # route = "/qa"
|
||||
from openbb_core.app.static.package import qa
|
||||
|
||||
return qa.CLASS_qa(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def stocks(self): # route = "/stocks"
|
||||
from openbb_core.app.static.package import stocks
|
||||
|
||||
return stocks.CLASS_stocks(command_runner_session=self._command_runner_session)
|
||||
|
||||
@property
|
||||
def ta(self): # route = "/ta"
|
||||
from openbb_core.app.static.package import ta
|
||||
|
||||
return ta.CLASS_ta(command_runner_session=self._command_runner_session)
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
||||
|
||||
import datetime
|
||||
from typing import Annotated, List, Literal, Optional, Union
|
||||
import typing
|
||||
from typing import Annotated, Literal, Optional, Union
|
||||
|
||||
from pydantic import validate_arguments
|
||||
from pydantic import BaseModel, validate_arguments
|
||||
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
@@ -16,7 +17,7 @@ class CLASS_crypto(Container):
|
||||
@validate_arguments
|
||||
def load(
|
||||
self,
|
||||
symbol: Annotated[
|
||||
symbol: typing.Annotated[
|
||||
str, OpenBBCustomParameter(description="Symbol to get data for.")
|
||||
],
|
||||
start_date: Annotated[
|
||||
@@ -102,11 +103,48 @@ class CLASS_crypto(Container):
|
||||
change : float
|
||||
Change in the price of the symbol from the previous day.
|
||||
changePercent : float
|
||||
Change \% in the price of the symbol.
|
||||
Change \\% in the price of the symbol.
|
||||
label : str
|
||||
Human readable format of the date.
|
||||
changeOverTime : float
|
||||
Change \% in the price of the symbol over a period of time."""
|
||||
Change \\% in the price of the symbol over a period of time.
|
||||
|
||||
polygon
|
||||
=======
|
||||
|
||||
Parameters
|
||||
----------
|
||||
timespan : Literal['minute', 'hour', 'day', 'week', 'month', 'quarter', 'year']
|
||||
The timespan of the data.
|
||||
sort : Literal['asc', 'desc']
|
||||
Sort order of the data.
|
||||
limit : PositiveInt
|
||||
The number of data entries to return.
|
||||
adjusted : bool
|
||||
Whether the data is adjusted.
|
||||
multiplier : PositiveInt
|
||||
The multiplier of the timespan.
|
||||
|
||||
|
||||
CryptoEOD
|
||||
---------
|
||||
n : PositiveInt
|
||||
The number of transactions for the symbol in the time period.
|
||||
|
||||
yfinance
|
||||
========
|
||||
|
||||
Parameters
|
||||
----------
|
||||
interval : Optional[Literal['1m', '2m', '5m', '15m', '30m', '60m', '90m', '1h', '1d', '5d', '1wk', '1mo', '3mo']]
|
||||
Data granularity.
|
||||
period : Optional[Literal['1d', '5d', '1mo', '3mo', '6mo', '1y', '2y', '5y', '10y', 'ytd', 'max']]
|
||||
Period of the data to return (quarterly or annually).
|
||||
|
||||
|
||||
CryptoEOD
|
||||
---------
|
||||
All fields are standardized.""" # noqa: E501
|
||||
inputs = filter_inputs(
|
||||
provider_choices={
|
||||
"provider": provider,
|
||||
|
||||
@@ -8,8 +8,8 @@ from pydantic import BaseModel, validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
@@ -459,22 +459,7 @@ class CLASS_economy(Container):
|
||||
|
||||
MajorIndicesEOD
|
||||
---------------
|
||||
date : datetime
|
||||
The date of the data.
|
||||
adjClose : float
|
||||
Adjusted Close Price of the symbol.
|
||||
unadjustedVolume : float
|
||||
Unadjusted volume of the symbol.
|
||||
change : float
|
||||
Change in the price of the symbol from the previous day.
|
||||
changePercent : float
|
||||
Change \% in the price of the symbol.
|
||||
vwap : float
|
||||
Volume Weighted Average Price of the symbol.
|
||||
label : str
|
||||
Human readable format of the date.
|
||||
changeOverTime : float
|
||||
Change \% in the price of the symbol over a period of time."""
|
||||
All fields are standardized.""" # noqa: E501
|
||||
inputs = filter_inputs(
|
||||
provider_choices={
|
||||
"provider": provider,
|
||||
|
||||
@@ -8,8 +8,8 @@ from pydantic import validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@ import datetime
|
||||
import typing
|
||||
from typing import Annotated, Literal, Optional, Union
|
||||
|
||||
from pydantic import validate_arguments
|
||||
from pydantic import BaseModel, validate_arguments
|
||||
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
@@ -257,18 +257,7 @@ class CLASS_forex(Container):
|
||||
|
||||
ForexEOD
|
||||
--------
|
||||
adjClose : float
|
||||
Adjusted Close Price of the symbol.
|
||||
unadjustedVolume : float
|
||||
Unadjusted volume of the symbol.
|
||||
change : float
|
||||
Change in the price of the symbol from the previous day.
|
||||
changePercent : float
|
||||
Change \% in the price of the symbol.
|
||||
label : str
|
||||
Human readable format of the date.
|
||||
changeOverTime : float
|
||||
Change \% in the price of the symbol over a period of time."""
|
||||
All fields are standardized.""" # noqa: E501
|
||||
inputs = filter_inputs(
|
||||
provider_choices={
|
||||
"provider": provider,
|
||||
|
||||
@@ -1,8 +1,51 @@
|
||||
{
|
||||
"forex_pairs": "/forex/pairs",
|
||||
"crypto_load": "/crypto/load",
|
||||
"__extensions__": "",
|
||||
"crypto": "/crypto",
|
||||
"economy_corecpi": "/economy/corecpi",
|
||||
"economy": "/economy",
|
||||
"economy_const": "/economy/const",
|
||||
"economy_cpi": "/economy/cpi",
|
||||
"economy_cpi_options": "/economy/cpi_options",
|
||||
"economy_index": "/economy/index",
|
||||
"economy_available_indices": "/economy/available_indices",
|
||||
"economy_risk": "/economy/risk",
|
||||
"economy_macro": "/economy/macro",
|
||||
"economy_macro_countries": "/economy/macro_countries",
|
||||
"economy_macro_parameters": "/economy/macro_parameters",
|
||||
"economy_balance": "/economy/balance",
|
||||
"economy_bigmac": "/economy/bigmac",
|
||||
"economy_country_codes": "/economy/country_codes",
|
||||
"economy_currencies": "/economy/currencies",
|
||||
"economy_debt": "/economy/debt",
|
||||
"economy_events": "/economy/events",
|
||||
"economy_fgdp": "/economy/fgdp",
|
||||
"economy_fred": "/economy/fred",
|
||||
"economy_fred_search": "/economy/fred_search",
|
||||
"economy_futures": "/economy/futures",
|
||||
"economy_gdp": "/economy/gdp",
|
||||
"economy_glbonds": "/economy/glbonds",
|
||||
"economy_indices": "/economy/indices",
|
||||
"economy_overview": "/economy/overview",
|
||||
"economy_perfmap": "/economy/perfmap",
|
||||
"economy_performance": "/economy/performance",
|
||||
"economy_revenue": "/economy/revenue",
|
||||
"economy_rgdp": "/economy/rgdp",
|
||||
"economy_rtps": "/economy/rtps",
|
||||
"economy_search_index": "/economy/search_index",
|
||||
"economy_spending": "/economy/spending",
|
||||
"economy_trust": "/economy/trust",
|
||||
"economy_usbonds": "/economy/usbonds",
|
||||
"economy_valuation": "/economy/valuation",
|
||||
"fixedincome_treasury": "/fixedincome/treasury",
|
||||
"fixedincome": "/fixedincome",
|
||||
"fixedincome_ycrv": "/fixedincome/ycrv",
|
||||
"forex_pairs": "/forex/pairs",
|
||||
"forex": "/forex",
|
||||
"forex_load": "/forex/load",
|
||||
"news_globalnews": "/news/globalnews",
|
||||
"news": "/news",
|
||||
"news_sectornews": "/news/sectornews",
|
||||
"qa_normality": "/qa/normality",
|
||||
"qa": "/qa",
|
||||
"qa_capm": "/qa/capm",
|
||||
@@ -29,11 +72,6 @@
|
||||
"qa_es": "/qa/es",
|
||||
"qa_acf": "/qa/acf",
|
||||
"qa_summary": "/qa/summary",
|
||||
"crypto_load": "/crypto/load",
|
||||
"crypto": "/crypto",
|
||||
"news_globalnews": "/news/globalnews",
|
||||
"news": "/news",
|
||||
"news_sectornews": "/news/sectornews",
|
||||
"stocks_fa_analysis": "/stocks/fa/analysis",
|
||||
"stocks": "/stocks",
|
||||
"stocks_fa": "/stocks/fa",
|
||||
@@ -171,6 +209,8 @@
|
||||
"stocks_multiples": "/stocks/multiples",
|
||||
"stocks_tob": "/stocks/tob",
|
||||
"stocks_search": "/stocks/search",
|
||||
"stocks_quote": "/stocks/quote",
|
||||
"stocks_info": "/stocks/info",
|
||||
"ta_atr": "/ta/atr",
|
||||
"ta": "/ta",
|
||||
"ta_fib": "/ta/fib",
|
||||
@@ -202,43 +242,5 @@
|
||||
"ta_kc": "/ta/kc",
|
||||
"ta_cg": "/ta/cg",
|
||||
"ta_cones": "/ta/cones",
|
||||
"ta_ema": "/ta/ema",
|
||||
"economy_corecpi": "/economy/corecpi",
|
||||
"economy": "/economy",
|
||||
"economy_const": "/economy/const",
|
||||
"economy_cpi": "/economy/cpi",
|
||||
"economy_cpi_options": "/economy/cpi_options",
|
||||
"economy_index": "/economy/index",
|
||||
"economy_available_indices": "/economy/available_indices",
|
||||
"economy_risk": "/economy/risk",
|
||||
"economy_macro": "/economy/macro",
|
||||
"economy_macro_countries": "/economy/macro_countries",
|
||||
"economy_macro_parameters": "/economy/macro_parameters",
|
||||
"economy_balance": "/economy/balance",
|
||||
"economy_bigmac": "/economy/bigmac",
|
||||
"economy_country_codes": "/economy/country_codes",
|
||||
"economy_currencies": "/economy/currencies",
|
||||
"economy_debt": "/economy/debt",
|
||||
"economy_events": "/economy/events",
|
||||
"economy_fgdp": "/economy/fgdp",
|
||||
"economy_fred": "/economy/fred",
|
||||
"economy_fred_search": "/economy/fred_search",
|
||||
"economy_futures": "/economy/futures",
|
||||
"economy_gdp": "/economy/gdp",
|
||||
"economy_glbonds": "/economy/glbonds",
|
||||
"economy_indices": "/economy/indices",
|
||||
"economy_overview": "/economy/overview",
|
||||
"economy_perfmap": "/economy/perfmap",
|
||||
"economy_performance": "/economy/performance",
|
||||
"economy_revenue": "/economy/revenue",
|
||||
"economy_rgdp": "/economy/rgdp",
|
||||
"economy_rtps": "/economy/rtps",
|
||||
"economy_search_index": "/economy/search_index",
|
||||
"economy_spending": "/economy/spending",
|
||||
"economy_trust": "/economy/trust",
|
||||
"economy_usbonds": "/economy/usbonds",
|
||||
"economy_valuation": "/economy/valuation",
|
||||
"fixedincome_treasury": "/fixedincome/treasury",
|
||||
"fixedincome": "/fixedincome",
|
||||
"fixedincome_ycrv": "/fixedincome/ycrv"
|
||||
}
|
||||
"ta_ema": "/ta/ema"
|
||||
}
|
||||
@@ -8,8 +8,8 @@ from pydantic import validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ from pydantic import BaseModel, validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
@@ -226,18 +226,7 @@ class CLASS_stocks(Container):
|
||||
|
||||
StockEOD
|
||||
--------
|
||||
adjClose : float
|
||||
Adjusted Close Price of the symbol.
|
||||
unadjustedVolume : float
|
||||
Unadjusted volume of the symbol.
|
||||
change : float
|
||||
Change in the price of the symbol from the previous day.
|
||||
changePercent : float
|
||||
Change \% in the price of the symbol.
|
||||
label : str
|
||||
Human readable format of the date.
|
||||
changeOverTime : float
|
||||
Change \% in the price of the symbol over a period of time."""
|
||||
All fields are standardized.""" # noqa: E501
|
||||
inputs = filter_inputs(
|
||||
provider_choices={
|
||||
"provider": provider,
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
||||
|
||||
import typing
|
||||
from typing import Literal, Optional
|
||||
|
||||
from pydantic import BaseModel, validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ from typing import Annotated, Literal, Optional
|
||||
|
||||
from pydantic import validate_arguments
|
||||
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ from pydantic import BaseModel, validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
||||
|
||||
import typing
|
||||
from typing import Literal, Optional
|
||||
|
||||
from pydantic import BaseModel, validate_arguments
|
||||
|
||||
import openbb_core.app.model.command_context
|
||||
import openbb_core.app.model.results.empty
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.model.custom_parameter import OpenBBCustomParameter
|
||||
from openbb_core.app.model.obbject import Obbject
|
||||
from openbb_core.app.static.container import Container
|
||||
from openbb_core.app.static.filters import filter_call, filter_inputs, filter_output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user