mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
* first round of removing spaces * remove more print statemnts * remove more spaces * bullbear color * spacc color * improve stalker readability * delete more spaces * reddit colors * rever hood * flake8 * forgot this one * fix econometrics tests * fix econometrics tests * fix more tests Co-authored-by: James Maslek <jmaslek11@gmail.com>
26 lines
644 B
Python
26 lines
644 B
Python
"""Finbrain view"""
|
|
__docformat__ = "numpy"
|
|
|
|
import logging
|
|
|
|
from openbb_terminal.decorators import log_start_end
|
|
from openbb_terminal.rich_config import console
|
|
from openbb_terminal.stocks.technical_analysis import finbrain_model
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
@log_start_end(log=logger)
|
|
def technical_summary_report(symbol: str):
|
|
"""Print technical summary report provided by FinBrain's API
|
|
|
|
Parameters
|
|
----------
|
|
symbol: str
|
|
Ticker symbol to get the technical summary
|
|
"""
|
|
|
|
report = finbrain_model.get_technical_summary_report(symbol)
|
|
if report:
|
|
console.print(report.replace(". ", ".\n"))
|