diff --git a/openbb_sdk/providers/fmp/openbb_fmp/models/stock_eod.py b/openbb_sdk/providers/fmp/openbb_fmp/models/stock_eod.py index f72601b4736..4398dd112e2 100644 --- a/openbb_sdk/providers/fmp/openbb_fmp/models/stock_eod.py +++ b/openbb_sdk/providers/fmp/openbb_fmp/models/stock_eod.py @@ -1,13 +1,12 @@ """FMP Stocks end of day fetcher.""" from datetime import datetime, timedelta -from typing import Any, Dict, List, Optional +from typing import Any, Dict, List, Literal, Optional from openbb_provider.abstract.fetcher import Fetcher from openbb_provider.models.stock_eod import StockEODData, StockEODQueryParams from openbb_provider.utils.helpers import get_querystring from pydantic import Field, NonNegativeInt, validator -from typing_extensions import Literal from openbb_fmp.utils.helpers import get_data_many diff --git a/openbb_sdk/providers/fred/openbb_fred/utils/fred_base.py b/openbb_sdk/providers/fred/openbb_fred/utils/fred_base.py index a5fbbdcbcce..f9c8098d10e 100644 --- a/openbb_sdk/providers/fred/openbb_fred/utils/fred_base.py +++ b/openbb_sdk/providers/fred/openbb_fred/utils/fred_base.py @@ -2,9 +2,10 @@ from datetime import date from typing import Any, Optional from urllib.parse import urlencode -root_url = "https://api.stlouisfed.org/fred" from openbb_provider import helpers +root_url = "https://api.stlouisfed.org/fred" + class Fred: def __init__(self, api_key: Optional[str]): diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py index 6444a121a51..be2360703d4 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py @@ -116,7 +116,7 @@ class CLASS_crypto(Container): CryptoEOD --------- n : PositiveInt - The number of transactions for the symbol in the time period.""" + The number of transactions for the symbol in the time period.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py index 5c35b79dbbf..a8d1116f2d3 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py @@ -21,7 +21,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """CORECPI.""" + """CORECPI.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -102,7 +102,7 @@ class CLASS_economy(Container): MajorIndicesConstituents ------------------------ - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -246,7 +246,7 @@ class CLASS_economy(Container): CPI --- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -277,7 +277,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Get the options for v3 cpi(options=True)""" + """Get the options for v3 cpi(options=True)""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -398,7 +398,7 @@ class CLASS_economy(Container): MajorIndicesEOD --------------- n : PositiveInt - The number of transactions for the symbol in the time period.""" + The number of transactions for the symbol in the time period.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -474,7 +474,7 @@ class CLASS_economy(Container): AvailableIndices ---------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -544,7 +544,7 @@ class CLASS_economy(Container): RiskPremium ----------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -568,7 +568,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Query EconDB for macro data.""" + """Query EconDB for macro data.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -590,7 +590,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """MACRO_COUNTRIES.""" + """MACRO_COUNTRIES.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -612,7 +612,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """MACRO_PARAMETERS.""" + """MACRO_PARAMETERS.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -634,7 +634,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """BALANCE.""" + """BALANCE.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -656,7 +656,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """BIGMAC.""" + """BIGMAC.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -678,7 +678,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """COUNTRY_CODES.""" + """COUNTRY_CODES.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -700,7 +700,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """CURRENCIES.""" + """CURRENCIES.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -722,7 +722,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """DEBT.""" + """DEBT.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -744,7 +744,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """EVENTS.""" + """EVENTS.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -766,7 +766,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """FGDP.""" + """FGDP.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -788,7 +788,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """FRED.""" + """FRED.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -810,7 +810,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """FRED Search (was fred_notes).""" + """FRED Search (was fred_notes).""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -832,7 +832,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """FUTURES. 2 sources""" + """FUTURES. 2 sources""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -854,7 +854,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """GDP.""" + """GDP.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -876,7 +876,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """GLBONDS.""" + """GLBONDS.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -898,7 +898,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """INDICES.""" + """INDICES.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -920,7 +920,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """OVERVIEW.""" + """OVERVIEW.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -942,7 +942,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """PERFMAP.""" + """PERFMAP.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -964,7 +964,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """PERFORMANCE.""" + """PERFORMANCE.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -986,7 +986,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """REVENUE.""" + """REVENUE.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1008,7 +1008,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """RGDP.""" + """RGDP.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1030,7 +1030,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """RTPS.""" + """RTPS.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1052,7 +1052,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """SEARCH_INDEX.""" + """SEARCH_INDEX.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1074,7 +1074,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """SPENDING.""" + """SPENDING.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1096,7 +1096,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """TRUST.""" + """TRUST.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1118,7 +1118,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """USBONDS.""" + """USBONDS.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1140,7 +1140,7 @@ class CLASS_economy(Container): chart: bool = False, provider: Optional[Literal["benzinga", "fmp", "fred", "polygon"]] = None, ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """VALUATION.""" + """VALUATION.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/fixedincome.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/fixedincome.py index c9abd5a9169..f7a319c5e29 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/fixedincome.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/fixedincome.py @@ -93,7 +93,7 @@ class CLASS_fixedincome(Container): TreasuryRates ------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -118,7 +118,7 @@ class CLASS_fixedincome(Container): def ycrv( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Yield curve.""" + """Yield curve.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py index 1e1e4196224..f77c65ff330 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py @@ -109,7 +109,7 @@ class CLASS_forex(Container): last_updated_utc : datetime The last updated timestamp in UTC. delisted_utc : Optional[datetime] - The delisted timestamp in UTC.""" + The delisted timestamp in UTC.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -229,7 +229,7 @@ class CLASS_forex(Container): ForexEOD -------- n : PositiveInt - The number of transactions for the symbol in the time period.""" + The number of transactions for the symbol in the time period.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/news.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/news.py index c396611690d..d83ca59d4d0 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/news.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/news.py @@ -123,7 +123,7 @@ class CLASS_news(Container): GlobalNews ---------- site : str - The site of the news.""" + The site of the news.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -147,7 +147,7 @@ class CLASS_news(Container): def sectornews( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Sector news.""" + """Sector news.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/qa.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/qa.py index fd6710974cc..be668203538 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/qa.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/qa.py @@ -45,7 +45,7 @@ class CLASS_qa(Container): ------- CommandOutput[NormalityModel] Normality tests summary. See qa_models.NormalityModel for details. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -67,7 +67,7 @@ class CLASS_qa(Container): target: str, chart: bool = False, ) -> CommandOutput[openbb_qa.qa_models.CAPMModel]: - """Capital Asset Pricing Model.""" + """Capital Asset Pricing Model.""" # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -86,7 +86,7 @@ class CLASS_qa(Container): def qqplot( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """QQ Plot.""" + """QQ Plot.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -125,7 +125,7 @@ class CLASS_qa(Container): ------- CommandOutput[List[OmegaModel]] Omega ratios. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -165,7 +165,7 @@ class CLASS_qa(Container): ------- CommandOutput[List[Data]] Kurtosis. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -185,7 +185,7 @@ class CLASS_qa(Container): def pick( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Pick.""" + """Pick.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -202,7 +202,7 @@ class CLASS_qa(Container): def spread( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Spread.""" + """Spread.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -219,7 +219,7 @@ class CLASS_qa(Container): def rolling( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Rolling.""" + """Rolling.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -236,7 +236,7 @@ class CLASS_qa(Container): def var( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Value at Risk.""" + """Value at Risk.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -253,7 +253,7 @@ class CLASS_qa(Container): def line( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Line.""" + """Line.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -270,7 +270,7 @@ class CLASS_qa(Container): def hist( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Histogram.""" + """Histogram.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -312,7 +312,7 @@ class CLASS_qa(Container): ------- CommandOutput[UnitRootModel] Unit root tests summary. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -333,7 +333,7 @@ class CLASS_qa(Container): def beta( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Beta.""" + """Beta.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -372,7 +372,7 @@ class CLASS_qa(Container): ------- CommandOutput[List[Data]] Sharpe ratio. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -420,7 +420,7 @@ class CLASS_qa(Container): ------- CommandOutput[List[Data]] Sortino ratio. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -442,7 +442,7 @@ class CLASS_qa(Container): def cusum( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Cumulative Sum.""" + """Cumulative Sum.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -459,7 +459,7 @@ class CLASS_qa(Container): def raw( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Raw.""" + """Raw.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -476,7 +476,7 @@ class CLASS_qa(Container): def cdf( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Cumulative Distribution Function.""" + """Cumulative Distribution Function.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -493,7 +493,7 @@ class CLASS_qa(Container): def decompose( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Decompose.""" + """Decompose.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -529,7 +529,7 @@ class CLASS_qa(Container): ------- CommandOutput[List[Data]] Skewness. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -554,7 +554,7 @@ class CLASS_qa(Container): quantile_pct: pydantic.types.NonNegativeFloat = 0.5, chart: bool = False, ) -> CommandOutput[typing.List]: - """Quantile.""" + """Quantile.""" # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -575,7 +575,7 @@ class CLASS_qa(Container): def bw( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Bandwidth.""" + """Bandwidth.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -592,7 +592,7 @@ class CLASS_qa(Container): def es( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Expected Shortfall.""" + """Expected Shortfall.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -609,7 +609,7 @@ class CLASS_qa(Container): def acf( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Autocorrelation Function.""" + """Autocorrelation Function.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -642,7 +642,7 @@ class CLASS_qa(Container): ------- CommandOutput[SummaryModel] Summary table. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py index 921df0adca0..f682fe161cc 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py @@ -185,7 +185,7 @@ class CLASS_stocks(Container): StockEOD -------- n : Optional[PositiveInt] - The number of transactions for the symbol in the time period.""" + The number of transactions for the symbol in the time period.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -375,7 +375,7 @@ class CLASS_stocks(Container): publisher : PolygonPublisher None tickers : List[str] - None""" + None""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -569,7 +569,7 @@ class CLASS_stocks(Container): StockMultiples -------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -594,7 +594,7 @@ class CLASS_stocks(Container): def tob( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """View top of book for loaded ticker (US exchanges only).""" + """View top of book for loaded ticker (US exchanges only).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -700,7 +700,7 @@ class CLASS_stocks(Container): StockQuote ---------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -724,7 +724,7 @@ class CLASS_stocks(Container): def search( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Search a specific stock ticker for analysis.""" + """Search a specific stock ticker for analysis.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ca.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ca.py index ef086971c31..354d1912748 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ca.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ca.py @@ -67,7 +67,7 @@ class CLASS_stocks_ca(Container): StockPeers ---------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -91,7 +91,7 @@ class CLASS_stocks_ca(Container): def balance( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company balance sheet.""" + """Company balance sheet.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -108,7 +108,7 @@ class CLASS_stocks_ca(Container): def cashflow( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company cashflow.""" + """Company cashflow.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -125,7 +125,7 @@ class CLASS_stocks_ca(Container): def hcorr( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company historical correlation.""" + """Company historical correlation.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -142,7 +142,7 @@ class CLASS_stocks_ca(Container): def hist( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company historical prices.""" + """Company historical prices.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -159,7 +159,7 @@ class CLASS_stocks_ca(Container): def income( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company income statement.""" + """Company income statement.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -176,7 +176,7 @@ class CLASS_stocks_ca(Container): def scorr( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company sector correlation.""" + """Company sector correlation.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -193,7 +193,7 @@ class CLASS_stocks_ca(Container): def screener( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company screener.""" + """Company screener.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -210,7 +210,7 @@ class CLASS_stocks_ca(Container): def sentiment( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company sentiment.""" + """Company sentiment.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -227,7 +227,7 @@ class CLASS_stocks_ca(Container): def similar( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company similar.""" + """Company similar.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -244,7 +244,7 @@ class CLASS_stocks_ca(Container): def volume( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Company volume.""" + """Company volume.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dd.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dd.py index 3e694b04843..9fa117f2f25 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dd.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dd.py @@ -185,7 +185,7 @@ class CLASS_stocks_dd(Container): SECFilings ---------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_disc.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_disc.py index 102a31df05e..9a73d6e7b79 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_disc.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_disc.py @@ -15,7 +15,7 @@ class CLASS_stocks_disc(Container): def active( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Most active stocks by intraday trade volumes.""" + """Most active stocks by intraday trade volumes.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -32,7 +32,7 @@ class CLASS_stocks_disc(Container): def arkord( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Order by ARK INvestment Management LLC.""" + """Order by ARK INvestment Management LLC.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -49,7 +49,7 @@ class CLASS_stocks_disc(Container): def asc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Small cap stocks with revenue and earnings growth more than 25%.""" + """Small cap stocks with revenue and earnings growth more than 25%.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -82,7 +82,7 @@ class CLASS_stocks_disc(Container): def filings( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """The most-recent form submissions to the SEC.""" + """The most-recent form submissions to the SEC.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -99,7 +99,7 @@ class CLASS_stocks_disc(Container): def fipo( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Future IPOs dates.""" + """Future IPOs dates.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -116,7 +116,7 @@ class CLASS_stocks_disc(Container): def gainers( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show latest top gainers.""" + """Show latest top gainers.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -133,7 +133,7 @@ class CLASS_stocks_disc(Container): def gtech( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Tech stocks with revenue and earnings growth more than 25%.""" + """Tech stocks with revenue and earnings growth more than 25%.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -150,7 +150,7 @@ class CLASS_stocks_disc(Container): def hotpenny( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Today's hot penny stocks.""" + """Today's hot penny stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -183,7 +183,7 @@ class CLASS_stocks_disc(Container): def losers( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show latest top losers.""" + """Show latest top losers.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -200,7 +200,7 @@ class CLASS_stocks_disc(Container): def lowfloat( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Low float stocks under 10M shares float.""" + """Low float stocks under 10M shares float.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -217,7 +217,7 @@ class CLASS_stocks_disc(Container): def pipo( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Past IPOs dates.""" + """Past IPOs dates.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -234,7 +234,7 @@ class CLASS_stocks_disc(Container): def rtat( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Top 10 retail traded stocks per day.""" + """Top 10 retail traded stocks per day.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -251,7 +251,7 @@ class CLASS_stocks_disc(Container): def trending( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Trending news.""" + """Trending news.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -268,7 +268,7 @@ class CLASS_stocks_disc(Container): def ugs( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Undervalued stocks with revenue and earnings growth above 25%.""" + """Undervalued stocks with revenue and earnings growth above 25%.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -285,7 +285,7 @@ class CLASS_stocks_disc(Container): def ulc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Potentially undervalued large cap stocks.""" + """Potentially undervalued large cap stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -302,7 +302,7 @@ class CLASS_stocks_disc(Container): def upcoming( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Upcoming earnings release dates.""" + """Upcoming earnings release dates.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dps.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dps.py index 2c003020af9..a067d8ba87f 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dps.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_dps.py @@ -15,7 +15,7 @@ class CLASS_stocks_dps(Container): def psi( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Price vs short interest volume""" + """Price vs short interest volume""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -32,7 +32,7 @@ class CLASS_stocks_dps(Container): def ctb( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Cost to borrow of stocks.""" + """Cost to borrow of stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -49,7 +49,7 @@ class CLASS_stocks_dps(Container): def dpotc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Dark pools (ATS) vs OTC data.""" + """Dark pools (ATS) vs OTC data.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -66,7 +66,7 @@ class CLASS_stocks_dps(Container): def ftd( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Fails-to-deliver data.""" + """Fails-to-deliver data.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -83,7 +83,7 @@ class CLASS_stocks_dps(Container): def hsi( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show top high short interest stocks of over 20% ratio.""" + """Show top high short interest stocks of over 20% ratio.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -100,7 +100,7 @@ class CLASS_stocks_dps(Container): def pos( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Dark pool short position.""" + """Dark pool short position.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -117,7 +117,7 @@ class CLASS_stocks_dps(Container): def prom( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Promising tickers based on dark pool shares regression.""" + """Promising tickers based on dark pool shares regression.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -166,7 +166,7 @@ class CLASS_stocks_dps(Container): def shorted( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Most shorted stocks.""" + """Most shorted stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -183,7 +183,7 @@ class CLASS_stocks_dps(Container): def sidtc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Short interest and days to cover.""" + """Short interest and days to cover.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -200,7 +200,7 @@ class CLASS_stocks_dps(Container): def spos( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Net short vs position.""" + """Net short vs position.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py index 69651ea16f5..97cacc17cd8 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py @@ -20,7 +20,7 @@ class CLASS_stocks_fa(Container): def analysis( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Analyse SEC filings with the help of machine learning.""" + """Analyse SEC filings with the help of machine learning.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -241,7 +241,7 @@ class CLASS_stocks_fa(Container): BalanceSheet ------------ - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -399,7 +399,7 @@ class CLASS_stocks_fa(Container): BalanceSheetGrowth ------------------ - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -488,7 +488,7 @@ class CLASS_stocks_fa(Container): DividendCalendar ---------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -679,7 +679,7 @@ class CLASS_stocks_fa(Container): CashFlowStatement ----------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -819,7 +819,7 @@ class CLASS_stocks_fa(Container): CashFlowStatementGrowth ----------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -915,7 +915,7 @@ class CLASS_stocks_fa(Container): ExecutiveCompensation --------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -997,7 +997,7 @@ class CLASS_stocks_fa(Container): StockSplitCalendar ------------------ - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1022,7 +1022,7 @@ class CLASS_stocks_fa(Container): def customer( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """List of customers of the company.""" + """List of customers of the company.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1039,7 +1039,7 @@ class CLASS_stocks_fa(Container): def dcfc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Determine the (historical) discounted cash flow.""" + """Determine the (historical) discounted cash flow.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1115,7 +1115,7 @@ class CLASS_stocks_fa(Container): HistoricalDividends ------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1139,7 +1139,7 @@ class CLASS_stocks_fa(Container): def dupont( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Detailed breakdown for Return on Equity (RoE).""" + """Detailed breakdown for Return on Equity (RoE).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1222,7 +1222,7 @@ class CLASS_stocks_fa(Container): EarningsCalendar ---------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1310,7 +1310,7 @@ class CLASS_stocks_fa(Container): HistoricalEmployees ------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1334,7 +1334,7 @@ class CLASS_stocks_fa(Container): def enterprise( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Enterprise value.""" + """Enterprise value.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1351,7 +1351,7 @@ class CLASS_stocks_fa(Container): def epsfc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Earnings Estimate by Analysts - EPS.""" + """Earnings Estimate by Analysts - EPS.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1463,7 +1463,7 @@ class CLASS_stocks_fa(Container): AnalystEstimates ---------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1489,7 +1489,7 @@ class CLASS_stocks_fa(Container): def fama_coe( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Fama French 3 Factor Model - Coefficient of Earnings.""" + """Fama French 3 Factor Model - Coefficient of Earnings.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1506,7 +1506,7 @@ class CLASS_stocks_fa(Container): def fama_raw( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Fama French 3 Factor Model - Raw Data.""" + """Fama French 3 Factor Model - Raw Data.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1523,7 +1523,7 @@ class CLASS_stocks_fa(Container): def fraud( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Key fraud ratios including M-score, Z-score and McKee.""" + """Key fraud ratios including M-score, Z-score and McKee.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1540,7 +1540,7 @@ class CLASS_stocks_fa(Container): def growth( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Growth of financial statement items and ratios.""" + """Growth of financial statement items and ratios.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1757,7 +1757,7 @@ class CLASS_stocks_fa(Container): participating_securities_distributed_and_undistributed_earnings_loss_basic : Optional[float] None preferred_stock_dividends_and_other_adjustments : Optional[float] - None""" + None""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -1892,7 +1892,7 @@ class CLASS_stocks_fa(Container): IncomeStatementGrowth --------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2028,7 +2028,7 @@ class CLASS_stocks_fa(Container): StockInsiderTrading ------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2179,7 +2179,7 @@ class CLASS_stocks_fa(Container): InstitutionalOwnership ---------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2392,7 +2392,7 @@ class CLASS_stocks_fa(Container): KeyMetrics ---------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2477,7 +2477,7 @@ class CLASS_stocks_fa(Container): KeyExecutives ------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2501,7 +2501,7 @@ class CLASS_stocks_fa(Container): def mktcap( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Obtain the market capitalization or enterprise value.""" + """Obtain the market capitalization or enterprise value.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -2651,7 +2651,7 @@ class CLASS_stocks_fa(Container): CompanyOverview --------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2804,7 +2804,7 @@ class CLASS_stocks_fa(Container): StockOwnership -------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2885,7 +2885,7 @@ class CLASS_stocks_fa(Container): PriceTargetConsensus -------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -2977,7 +2977,7 @@ class CLASS_stocks_fa(Container): PriceTarget ----------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -3001,7 +3001,7 @@ class CLASS_stocks_fa(Container): def rating( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Analyst prices and ratings over time of the company.""" + """Analyst prices and ratings over time of the company.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3018,7 +3018,7 @@ class CLASS_stocks_fa(Container): def ratios( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Extensive set of ratios over time.""" + """Extensive set of ratios over time.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3035,7 +3035,7 @@ class CLASS_stocks_fa(Container): def revfc( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Earning Estimate by Analysts - Revenue.""" + """Earning Estimate by Analysts - Revenue.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3117,7 +3117,7 @@ class CLASS_stocks_fa(Container): RevenueGeographic ----------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -3198,7 +3198,7 @@ class CLASS_stocks_fa(Container): RevenueBusinessLine ------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -3224,7 +3224,7 @@ class CLASS_stocks_fa(Container): def rot( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Number of analyst ratings over time on a monthly basis.""" + """Number of analyst ratings over time on a monthly basis.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3241,7 +3241,7 @@ class CLASS_stocks_fa(Container): def score( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Value investing scores for any time period.""" + """Value investing scores for any time period.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3347,7 +3347,7 @@ class CLASS_stocks_fa(Container): ShareStatistics --------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -3424,7 +3424,7 @@ class CLASS_stocks_fa(Container): HistoricalStockSplits --------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, @@ -3448,7 +3448,7 @@ class CLASS_stocks_fa(Container): def supplier( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """List of suppliers of the company.""" + """List of suppliers of the company.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -3526,7 +3526,7 @@ class CLASS_stocks_fa(Container): EarningsCallTranscript ---------------------- - All fields are standardized.""" + All fields are standardized.""" # noqa: E501 inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_gov.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_gov.py index dd8dcd12eb0..5440790adb1 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_gov.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_gov.py @@ -15,7 +15,7 @@ class CLASS_stocks_gov(Container): def contracts( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return government contracts.""" + """Return government contracts.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -32,7 +32,7 @@ class CLASS_stocks_gov(Container): def government_trading( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return government trading.""" + """Return government trading.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -49,7 +49,7 @@ class CLASS_stocks_gov(Container): def gtrades( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return government trades.""" + """Return government trades.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -66,7 +66,7 @@ class CLASS_stocks_gov(Container): def histcont( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Historical quarterly government contracts.""" + """Historical quarterly government contracts.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -83,7 +83,7 @@ class CLASS_stocks_gov(Container): def lastcontracts( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return last government contracts given out.""" + """Return last government contracts given out.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -100,7 +100,7 @@ class CLASS_stocks_gov(Container): def lasttrades( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Last trades.""" + """Last trades.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -117,7 +117,7 @@ class CLASS_stocks_gov(Container): def lobbying( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Corporate lobbying details.""" + """Corporate lobbying details.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -134,7 +134,7 @@ class CLASS_stocks_gov(Container): def qtrcontracts( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Quarterly government contracts analysis.""" + """Quarterly government contracts analysis.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -151,7 +151,7 @@ class CLASS_stocks_gov(Container): def topbuys( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show most purchased stocks.""" + """Show most purchased stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -168,7 +168,7 @@ class CLASS_stocks_gov(Container): def toplobbying( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Top corporate lobbying tickers.""" + """Top corporate lobbying tickers.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -185,7 +185,7 @@ class CLASS_stocks_gov(Container): def topsells( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show most sold stocks.""" + """Show most sold stocks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ins.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ins.py index 7626488acd4..34abdfd2467 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ins.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_ins.py @@ -15,7 +15,7 @@ class CLASS_stocks_ins(Container): def act( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Insider activity over time.""" + """Insider activity over time.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -32,7 +32,7 @@ class CLASS_stocks_ins(Container): def blcp( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest CEO/CFO purchaces ($25k+).""" + """Big latest CEO/CFO purchaces ($25k+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -49,7 +49,7 @@ class CLASS_stocks_ins(Container): def blcs( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest CEO/CFO sales ($100k+).""" + """Big latest CEO/CFO sales ($100k+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -66,7 +66,7 @@ class CLASS_stocks_ins(Container): def blip( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest insider purchaces ($25+).""" + """Big latest insider purchaces ($25+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -83,7 +83,7 @@ class CLASS_stocks_ins(Container): def blis( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest insider sales ($100k+).""" + """Big latest insider sales ($100k+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -100,7 +100,7 @@ class CLASS_stocks_ins(Container): def blop( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest officer purchaces ($25k+).""" + """Big latest officer purchaces ($25k+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -117,7 +117,7 @@ class CLASS_stocks_ins(Container): def blos( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Big latest officer sales ($100k+).""" + """Big latest officer sales ($100k+).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -134,7 +134,7 @@ class CLASS_stocks_ins(Container): def filt( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Filter insiders based on preset.""" + """Filter insiders based on preset.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -151,7 +151,7 @@ class CLASS_stocks_ins(Container): def lcb( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Latest cluster buys.""" + """Latest cluster buys.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -168,7 +168,7 @@ class CLASS_stocks_ins(Container): def lins( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Last insider trading of the company.""" + """Last insider trading of the company.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -185,7 +185,7 @@ class CLASS_stocks_ins(Container): def lip( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Latest insider purchaces.""" + """Latest insider purchaces.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -202,7 +202,7 @@ class CLASS_stocks_ins(Container): def lis( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Latest insider sales.""" + """Latest insider sales.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -219,7 +219,7 @@ class CLASS_stocks_ins(Container): def lit( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Latest insider trading (all filings).""" + """Latest insider trading (all filings).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -236,7 +236,7 @@ class CLASS_stocks_ins(Container): def lpsb( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Latest penny stock buys.""" + """Latest penny stock buys.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -253,7 +253,7 @@ class CLASS_stocks_ins(Container): def print_insider_data( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Print insider data.""" + """Print insider data.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -270,7 +270,7 @@ class CLASS_stocks_ins(Container): def stats( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Insider stats of the company.""" + """Insider stats of the company.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_options.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_options.py index 3af5f2e87e8..214b4134b93 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_options.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_options.py @@ -15,7 +15,7 @@ class CLASS_stocks_options(Container): def chains( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return options chains with greeks.""" + """Return options chains with greeks.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -48,7 +48,7 @@ class CLASS_stocks_options(Container): def eodchain( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Gets option chain at a specific date.""" + """Gets option chain at a specific date.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -65,7 +65,7 @@ class CLASS_stocks_options(Container): def expirations( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return options expirations.""" + """Return options expirations.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -82,7 +82,7 @@ class CLASS_stocks_options(Container): def grhist( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot option greek history.""" + """Plot option greek history.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -99,7 +99,7 @@ class CLASS_stocks_options(Container): def hist( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot option history.""" + """Plot option history.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -116,7 +116,7 @@ class CLASS_stocks_options(Container): def info( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Display option information (volatility, IV rank, etc.).""" + """Display option information (volatility, IV rank, etc.).""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -133,7 +133,7 @@ class CLASS_stocks_options(Container): def last_price( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Return last price of an option.""" + """Return last price of an option.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -150,7 +150,7 @@ class CLASS_stocks_options(Container): def oi( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot option open interest.""" + """Plot option open interest.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -167,7 +167,7 @@ class CLASS_stocks_options(Container): def pcr( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Display put/call ratio for ticker.""" + """Display put/call ratio for ticker.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -200,7 +200,7 @@ class CLASS_stocks_options(Container): def unu( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show unusual options activity.""" + """Show unusual options activity.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -217,7 +217,7 @@ class CLASS_stocks_options(Container): def voi( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot volume and open interest.""" + """Plot volume and open interest.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -234,7 +234,7 @@ class CLASS_stocks_options(Container): def vol( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot volume.""" + """Plot volume.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -251,7 +251,7 @@ class CLASS_stocks_options(Container): def vsurf( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Show 3D volatility surface.""" + """Show 3D volatility surface.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/ta.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/ta.py index 1e82589462e..48e9d9db9d8 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/ta.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/ta.py @@ -57,7 +57,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> atr_data = obb.ta.atr(data=stock_data.results) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -109,7 +109,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> fib_data = obb.ta.fib(data=stock_data.results, period=120) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -166,7 +166,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> obv_data = obb.ta.obv(data=stock_data.results, offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -219,7 +219,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> fisher_data = obb.ta.fisher(data=stock_data.results, length=14, signal=1) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -275,7 +275,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> adosc_data = obb.ta.adosc(data=stock_data.results, fast=3, slow=10, offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -297,7 +297,7 @@ class CLASS_ta(Container): def tv( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """TradingView.""" + """TradingView.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -365,7 +365,7 @@ class CLASS_ta(Container): >>> bbands = obb.ta.bbands( >>> data=stock_data.results, target="close", length=50, std=2, mamode="sma", offset=0 >>> ) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -389,7 +389,7 @@ class CLASS_ta(Container): def multi( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Plot multiple indicators on the same chart.""" + """Plot multiple indicators on the same chart.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -444,7 +444,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> zlma_data = obb.ta.zlma(data=stock_data.results, target="close", length=50, offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -506,7 +506,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> aroon_data = obb.ta.aroon(data=stock_data.results, length=25, scalar=100) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -565,7 +565,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> sma_data = obb.ta.sma(data=stock_data.results,target="close",length=50,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -622,7 +622,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> demark_data = obb.ta.demark(data=stock_data.results,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -677,7 +677,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> vwap_data = obb.ta.vwap(data=stock_data.results,anchor="D",offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -698,7 +698,7 @@ class CLASS_ta(Container): def recom( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Recommendation.""" + """Recommendation.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -758,7 +758,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> macd_data = obb.ta.macd(data=stock_data.results,target="close",fast=12,slow=26,signal=9) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -816,7 +816,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> hma_data = obb.ta.hma(data=stock_data.results,target="close",length=50,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -875,7 +875,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> donchian_data = obb.ta.donchian(data=stock_data.results,lower_length=20,upper_length=20,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -927,7 +927,7 @@ class CLASS_ta(Container): Number of periods for the offset, by default 26. lookahead : bool, optional drops the Chikou Span Column to prevent potential data leak - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -980,7 +980,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> clenow_data = obb.ta.clenow(data=stock_data.results,period=90) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1037,7 +1037,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> ad_data = obb.ta.ad(data=stock_data.results,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1091,7 +1091,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> adx_data = obb.ta.adx(data=stock_data.results,length=50,scalar=100.0,drift=1) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1148,7 +1148,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> wma_data = obb.ta.wma(data=stock_data.results, target="close", length=50, offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -1197,7 +1197,7 @@ class CLASS_ta(Container): ------- CommandOutput[List[Data]] The CCI data. - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1257,7 +1257,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> rsi_data = obb.ta.rsi(data=stock_data.results, target="close", length=14, scalar=100.0, drift=1) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, @@ -1280,7 +1280,7 @@ class CLASS_ta(Container): def summary( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Summary.""" + """Summary.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1334,7 +1334,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> stoch_data = obb.ta.stoch(data=stock_data.results, fast_k_period=14, slow_d_period=3, slow_k_period=3) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1356,7 +1356,7 @@ class CLASS_ta(Container): def rsp( self, chart: bool = False ) -> CommandOutput[openbb_core.app.model.results.empty.Empty]: - """Relative Strength Performance.""" + """Relative Strength Performance.""" # noqa: E501 inputs = filter_inputs( chart=chart, ) @@ -1412,7 +1412,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> kc_data = obb.ta.kc(data=stock_data.results, length=20, scalar=20, ma_mode="ema", offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1465,7 +1465,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> cg_data = obb.ta.cg(data=stock_data.results, length=14) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1548,7 +1548,7 @@ class CLASS_ta(Container): >>> from openbb import obb >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> cones_data = obb.ta.cones(data=stock_data.results, lower_q=0.25, upper_q=0.75, model="STD") - """ + """ # noqa: E501 inputs = filter_inputs( data=data, index=index, @@ -1611,7 +1611,7 @@ class CLASS_ta(Container): >>> stock_data = obb.stocks.load(symbol="TSLA", start_date="2023-01-01", provider="fmp") >>> ema_data = obb.ta.ema(data=stock_data.results,target="close",length=50,offset=0) - """ + """ # noqa: E501 inputs = filter_inputs( data=data, target=target, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package_builder.py b/openbb_sdk/sdk/core/openbb_core/app/static/package_builder.py index dae45405308..a265a492aad 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package_builder.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package_builder.py @@ -556,7 +556,7 @@ class MethodDefinition: @staticmethod def build_command_method_doc(func: Callable): - code = f' """{func.__doc__}"""\n' if func.__doc__ else "" + code = f' """{func.__doc__}""" # noqa: E501\n' if func.__doc__ else "" return code diff --git a/openbb_sdk/sdk/provider/openbb_provider/models/institutional_ownership.py b/openbb_sdk/sdk/provider/openbb_provider/models/institutional_ownership.py index f18f2067634..d7f0060fdcd 100644 --- a/openbb_sdk/sdk/provider/openbb_provider/models/institutional_ownership.py +++ b/openbb_sdk/sdk/provider/openbb_provider/models/institutional_ownership.py @@ -91,7 +91,8 @@ class InstitutionalOwnershipData(Data, BaseSymbol): description="Total number of call options contracts traded for Apple Inc. on the previous reporting date." ) total_calls_change: int = Field( - description="Change in the total number of call options contracts traded between the current and previous reporting dates." + description="Change in the total number of call options contracts " + "traded between the current and previous reporting dates." ) total_puts: int = Field( description="Total number of put options contracts traded for Apple Inc. on the specified date." @@ -100,10 +101,12 @@ class InstitutionalOwnershipData(Data, BaseSymbol): description="Total number of put options contracts traded for Apple Inc. on the previous reporting date." ) total_puts_change: int = Field( - description="Change in the total number of put options contracts traded between the current and previous reporting dates." + description="Change in the total number of put options contracts traded between the current and " + "previous reporting dates." ) put_call_ratio: float = Field( - description="The put-call ratio, which is the ratio of the total number of put options to call options traded on the specified date." + description="The put-call ratio, which is the ratio of the total number of put " + "options to call options traded on the specified date." ) last_put_call_ratio: float = Field( description="The put-call ratio on the previous reporting date."