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>
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
"""Crypto context API."""
|
|
import os
|
|
from openbb_terminal.helper_classes import ModelsNamespace as _models
|
|
|
|
# flake8: noqa
|
|
# pylint: disable=unused-import
|
|
|
|
# Context root level functions
|
|
from .cryptocurrency_helpers import display_all_coins as coins
|
|
from .cryptocurrency_helpers import load
|
|
from .cryptocurrency_helpers import find
|
|
from .cryptocurrency_helpers import plot_chart as chart
|
|
from .cryptocurrency_helpers import plot_candles as candles
|
|
|
|
# Context menus
|
|
from .defi import defi_api as defi
|
|
from .discovery import discovery_api as disc
|
|
from .due_diligence import due_diligence_api as dd
|
|
from .nft import nft_api as nft
|
|
from .onchain import onchain_api as onchain
|
|
from .overview import overview_api as ov
|
|
from .technical_analysis import ta_api as ta
|
|
from .due_diligence.finbrain_crypto_view import (
|
|
display_crypto_sentiment_analysis as headlines,
|
|
)
|
|
|
|
try:
|
|
from .prediction_techniques import pred_api as pred
|
|
except Exception:
|
|
# print("Prediction API is not available.")
|
|
pass
|
|
|
|
# Models
|
|
models = _models(os.path.abspath(os.path.dirname(__file__)))
|