restore qa

This commit is contained in:
Diogo Sousa
2023-08-22 11:40:29 +01:00
parent eece8ca3d4
commit a3b2a087e0
3 changed files with 34 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ class Extensions(Container):
/forex
/futures
/news
/qa
/stocks
/ta
"""
@@ -56,6 +57,12 @@ class Extensions(Container):
return news.CLASS_news(command_runner=self._command_runner)
@property
def qa(self): # route = "/qa"
from openbb_core.app.static.package import qa
return qa.CLASS_qa(command_runner=self._command_runner)
@property
def stocks(self): # route = "/stocks"
from openbb_core.app.static.package import stocks

View File

@@ -3,6 +3,32 @@
"__extensions__": "",
"forex": "/forex",
"forex_load": "/forex/load",
"qa_normality": "/qa/normality",
"qa": "/qa",
"qa_capm": "/qa/capm",
"qa_qqplot": "/qa/qqplot",
"qa_om": "/qa/om",
"qa_kurtosis": "/qa/kurtosis",
"qa_pick": "/qa/pick",
"qa_spread": "/qa/spread",
"qa_rolling": "/qa/rolling",
"qa_var": "/qa/var",
"qa_line": "/qa/line",
"qa_hist": "/qa/hist",
"qa_unitroot": "/qa/unitroot",
"qa_beta": "/qa/beta",
"qa_sh": "/qa/sh",
"qa_so": "/qa/so",
"qa_cusum": "/qa/cusum",
"qa_raw": "/qa/raw",
"qa_cdf": "/qa/cdf",
"qa_decompose": "/qa/decompose",
"qa_skew": "/qa/skew",
"qa_quantile": "/qa/quantile",
"qa_bw": "/qa/bw",
"qa_es": "/qa/es",
"qa_acf": "/qa/acf",
"qa_summary": "/qa/summary",
"crypto_load": "/crypto/load",
"crypto": "/crypto",
"news_globalnews": "/news/globalnews",

View File

@@ -582,7 +582,7 @@ class CLASS_qa(Container):
self,
data: Union[List[openbb_provider.abstract.data.Data], pandas.DataFrame],
target: str,
fuller_reg: Literal["c", "ct", "ctt", "nc"] = "c",
fuller_reg: Literal["c", "ct", "ctt", "nc", "c"] = "c",
kpss_reg: Literal["c", "ct"] = "c",
chart: bool = False,
) -> OBBject[openbb_qa.qa_models.UnitRootModel]: