mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
* quick econ fix * black * keys and feature flags * terminal name 👀 * some more replacements * some more replacements * edit pyproject * gst -> openbb * add example portfolios back to git * Update api from gst * sorry. skipping some tests * another round of names * another round of test edits * Missed some .gst refs and update timezone * water mark stuff * Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS * fix more GST to OpenBB Terminal * Logging : merge conflicts with main * Revert wrong files Co-authored-by: Andrew <andrew.kenreich@gmail.com> Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt> Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
29 lines
1014 B
Python
29 lines
1014 B
Python
"""ETF context API."""
|
|
import os
|
|
from openbb_terminal.helper_classes import ModelsNamespace as _models
|
|
|
|
# flake8: noqa
|
|
# pylint: disable=unused-import
|
|
|
|
# Context menus
|
|
from openbb_terminal.stocks.stocks_helper import display_candle as candle
|
|
from openbb_terminal.common.newsapi_view import display_news
|
|
from openbb_terminal.common.newsapi_model import get_news
|
|
from .financedatabase_view import display_etf_by_name as ln
|
|
from .financedatabase_view import display_etf_by_description as ld
|
|
from .stockanalysis_view import view_overview as overview
|
|
from .stockanalysis_view import view_holdings as holdings
|
|
from .yfinance_view import display_etf_weightings as weights
|
|
from .yfinance_view import display_etf_description as summary
|
|
from .technical_analysis import ta_api as ta
|
|
from .screener import screener_api as scr
|
|
from .discovery import disc_api as disc
|
|
|
|
try:
|
|
from .prediction_techniques import pred_api as pred
|
|
except Exception:
|
|
pass
|
|
|
|
# Models
|
|
models = _models(os.path.abspath(os.path.dirname(__file__)))
|