diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7c9e1124eac..69cf702caf7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -33,9 +33,9 @@ jobs:
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six
- run: bandit -x ./tests -r . || true
- run: black --diff --check .
- - run: codespell --ignore-words-list=commun,statics,ro,zar,zlot,ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld,shold,ist,varian,datas,ake,creat,vie,hel --quiet-level=2 --skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,./build/pyinstaller
- - run: flake8 . --count --ignore=E203,W503 --max-line-length=122 --show-source --statistics --exclude ./build/pyinstaller
- - run: mypy --ignore-missing-imports --exclude="/setup\.py$" .
+ - run: codespell --ignore-words-list=commun,statics,ro,zar,zlot,ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld,shold,ist,varian,datas,ake,creat,vie,hel --quiet-level=2 --skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,./build/pyinstaller,./website/config.toml
+ - run: flake8 . --count --ignore=E203,W503 --max-line-length=122 --show-source --statistics --exclude ./build/pyinstaller,./website/content
+ - run: mypy --ignore-missing-imports openbb_terminal
- run: shopt -s globstar && pyupgrade --py38-plus **/*.py
- run: safety check
- run: |
diff --git a/.gitignore b/.gitignore
index 11bb5f4b3f5..45631fc70ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,9 +51,6 @@ jupyterlab/*/*.tsbuildinfo
jupyterlab/*/ui-tests/test-results/
jupyterlab/*/ui-tests/tests/*.ts-snapshots/
-# Sphinx documentation build files
-docs/_build
-
# User stylesheets
styles/user
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ba08eb03847..e24f4921727 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,13 +40,13 @@ repos:
[
"--ignore-words-list=commun,ro,zar,vie,hel,zlot,ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld,shold,ist,varian,datas,ake,creat,statics",
"--quiet-level=2",
- "--skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,build/pyinstaller/*",
+ "--skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,build/pyinstaller/*,./website/config.toml",
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.982"
hooks:
- id: mypy
- args: ["--ignore-missing-imports", '--exclude=/setup\.py$']
+ args: ["--ignore-missing-imports", 'openbb_terminal']
additional_dependencies: [types-all]
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
diff --git a/docs/Makefile b/docs/Makefile
deleted file mode 100644
index d4bb2cbb9ed..00000000000
--- a/docs/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Minimal makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line, and also
-# from the environment for the first two.
-SPHINXOPTS ?=
-SPHINXBUILD ?= sphinx-build
-SOURCEDIR = .
-BUILDDIR = _build
-
-# Put it first so that "make" without argument is like "make help".
-help:
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-
-.PHONY: help Makefile
-
-# Catch-all target: route all unknown targets to Sphinx using the new
-# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index 62822c15b6f..00000000000
--- a/docs/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# OpenBB Terminal Code Documentation
-
-## Creating Hugo SDK Documentation
-
-To generate markdown files for the Hugo website do the following:
-
-1. Go to the openbb directory:`cd ~/OpenBBTerminal`
-1. Generate the documentation: `python docs/generate.py`
-1. Change into the website directory: `cd website`
-1. Run the hugo server to confirm changes applied: `hugo server -D`
-
-## Creating Sphinx Documentation
-
-Requirements:
-
-- sphinx
-- myst_parser
-
-The `requirements.txt` file that mentions `myst_parser` is needed for readthedocs.io to build the documentation automatically.
-
-Usage:
-
-In the `docs` folder execute:
-
-```bash
-rm -rf code && sphinx-apidoc ../openbb_terminal/ -o ./code
-make html
-```
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
deleted file mode 100644
index ffb0f622b6f..00000000000
--- a/docs/_templates/layout.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{% extends '!layout.html' %}
-
-{% block footer %}
-
-
-
-{% endblock %}
diff --git a/docs/application mapping.drawio b/docs/application mapping.drawio
deleted file mode 100644
index c36cbda914e..00000000000
--- a/docs/application mapping.drawio
+++ /dev/null
@@ -1,662 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/code/modules.rst b/docs/code/modules.rst
deleted file mode 100644
index 6914a5f9f2a..00000000000
--- a/docs/code/modules.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-openbb_terminal
-===============
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal
diff --git a/docs/code/openbb_terminal.alternative.covid.rst b/docs/code/openbb_terminal.alternative.covid.rst
deleted file mode 100644
index 949163b5700..00000000000
--- a/docs/code/openbb_terminal.alternative.covid.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.alternative.covid package
-==========================================
-
-Submodules
-----------
-
-openbb\_terminal.alternative.covid.covid\_controller module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.alternative.covid.covid_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.alternative.covid.covid\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.alternative.covid.covid_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.alternative.covid.covid\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.alternative.covid.covid_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.alternative.covid
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.alternative.rst b/docs/code/openbb_terminal.alternative.rst
deleted file mode 100644
index d5355d22a27..00000000000
--- a/docs/code/openbb_terminal.alternative.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-openbb\_terminal.alternative package
-====================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.alternative.covid
-
-Submodules
-----------
-
-openbb\_terminal.alternative.alt\_controller module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.alternative.alt_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.alternative
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.common.behavioural_analysis.rst b/docs/code/openbb_terminal.common.behavioural_analysis.rst
deleted file mode 100644
index 652ada56e56..00000000000
--- a/docs/code/openbb_terminal.common.behavioural_analysis.rst
+++ /dev/null
@@ -1,133 +0,0 @@
-openbb\_terminal.common.behavioural\_analysis package
-=====================================================
-
-Submodules
-----------
-
-openbb\_terminal.common.behavioural\_analysis.finbrain\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.finbrain_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.finbrain\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.finbrain_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.finnhub\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.finnhub\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.finnhub_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.google\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.google_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.google\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.google_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.reddit\_helpers module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.reddit_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.reddit\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.reddit_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.reddit\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.reddit_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.sentimentinvestor\_model module
------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.sentimentinvestor_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.sentimentinvestor\_view module
-----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.sentimentinvestor_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.stocktwits\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.stocktwits_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.stocktwits\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.stocktwits_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.twitter\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.twitter_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.behavioural\_analysis.twitter\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis.twitter_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.common.behavioural_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.common.quantitative_analysis.rst b/docs/code/openbb_terminal.common.quantitative_analysis.rst
deleted file mode 100644
index 9808f3ecabc..00000000000
--- a/docs/code/openbb_terminal.common.quantitative_analysis.rst
+++ /dev/null
@@ -1,45 +0,0 @@
-openbb\_terminal.common.quantitative\_analysis package
-======================================================
-
-Submodules
-----------
-
-openbb\_terminal.common.quantitative\_analysis.qa\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.quantitative_analysis.qa_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.quantitative\_analysis.qa\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.quantitative_analysis.qa_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.quantitative\_analysis.rolling\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.quantitative_analysis.rolling_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.quantitative\_analysis.rolling\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.quantitative_analysis.rolling_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.common.quantitative_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.common.rst b/docs/code/openbb_terminal.common.rst
deleted file mode 100644
index acba6e46f62..00000000000
--- a/docs/code/openbb_terminal.common.rst
+++ /dev/null
@@ -1,55 +0,0 @@
-openbb\_terminal.common package
-===============================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.common.behavioural_analysis
- openbb_terminal.common.quantitative_analysis
- openbb_terminal.common.technical_analysis
-
-Submodules
-----------
-
-openbb\_terminal.common.feedparser\_model module
-------------------------------------------------
-
-.. automodule:: openbb_terminal.common.feedparser_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.feedparser\_view module
------------------------------------------------
-
-.. automodule:: openbb_terminal.common.feedparser_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.newsapi\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.common.newsapi_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.newsapi\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.common.newsapi_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.common
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.common.technical_analysis.rst b/docs/code/openbb_terminal.common.technical_analysis.rst
deleted file mode 100644
index e53c962f140..00000000000
--- a/docs/code/openbb_terminal.common.technical_analysis.rst
+++ /dev/null
@@ -1,109 +0,0 @@
-openbb\_terminal.common.technical\_analysis package
-===================================================
-
-Submodules
-----------
-
-openbb\_terminal.common.technical\_analysis.custom\_indicators\_model module
-----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.custom_indicators_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.custom\_indicators\_view module
----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.custom_indicators_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.momentum\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.momentum_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.momentum\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.momentum_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.overlap\_model module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.overlap_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.overlap\_view module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.overlap_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.trend\_indicators\_model module
----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.trend_indicators_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.trend\_indicators\_view module
---------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.trend_indicators_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.volatility\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.volatility_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.volatility\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.volatility_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.volume\_model module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.volume_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.common.technical\_analysis.volume\_view module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.common.technical_analysis.volume_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.common.technical_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.core.config.rst b/docs/code/openbb_terminal.core.config.rst
deleted file mode 100644
index 381a520ce9e..00000000000
--- a/docs/code/openbb_terminal.core.config.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-openbb\_terminal.core.config package
-====================================
-
-Submodules
-----------
-
-openbb\_terminal.core.config.paths module
------------------------------------------
-
-.. automodule:: openbb_terminal.core.config.paths
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.config.paths\_helper module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.core.config.paths_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.core.config
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.core.log.collection.rst b/docs/code/openbb_terminal.core.log.collection.rst
deleted file mode 100644
index 39c68dedffb..00000000000
--- a/docs/code/openbb_terminal.core.log.collection.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.core.log.collection package
-============================================
-
-Submodules
-----------
-
-openbb\_terminal.core.log.collection.log\_sender module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.collection.log_sender
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.collection.logging\_clock module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.collection.logging_clock
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.collection.s3\_sender module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.collection.s3_sender
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.core.log.collection
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.core.log.generation.rst b/docs/code/openbb_terminal.core.log.generation.rst
deleted file mode 100644
index 23120eaa800..00000000000
--- a/docs/code/openbb_terminal.core.log.generation.rst
+++ /dev/null
@@ -1,61 +0,0 @@
-openbb\_terminal.core.log.generation package
-============================================
-
-Submodules
-----------
-
-openbb\_terminal.core.log.generation.directories module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.directories
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.generation.expired\_files module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.expired_files
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.generation.formatter\_with\_exceptions module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.formatter_with_exceptions
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.generation.path\_tracking\_file\_handler module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.path_tracking_file_handler
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.generation.settings module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.settings
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.core.log.generation.settings\_logger module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.generation.settings_logger
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.core.log.generation
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.core.log.rst b/docs/code/openbb_terminal.core.log.rst
deleted file mode 100644
index 01ed100f992..00000000000
--- a/docs/code/openbb_terminal.core.log.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-openbb\_terminal.core.log package
-=================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.core.log.collection
- openbb_terminal.core.log.generation
-
-Submodules
-----------
-
-openbb\_terminal.core.log.constants module
-------------------------------------------
-
-.. automodule:: openbb_terminal.core.log.constants
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.core.log
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.core.rst b/docs/code/openbb_terminal.core.rst
deleted file mode 100644
index 368e1c1d096..00000000000
--- a/docs/code/openbb_terminal.core.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-openbb\_terminal.core package
-=============================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.core.config
- openbb_terminal.core.log
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.core
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.defi.rst b/docs/code/openbb_terminal.cryptocurrency.defi.rst
deleted file mode 100644
index 06ffea44253..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.defi.rst
+++ /dev/null
@@ -1,165 +0,0 @@
-openbb\_terminal.cryptocurrency.defi package
-============================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.defi.coindix\_model module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.coindix_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.coindix\_view module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.coindix_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.cryptosaurio\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.cryptosaurio_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.cryptosaurio\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.cryptosaurio_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.defi\_controller module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.defi_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.defipulse\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.defipulse_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.defipulse\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.defipulse_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.graph\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.graph_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.graph\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.graph_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.llama\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.llama_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.llama\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.llama_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.smartstake\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.smartstake_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.smartstake\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.smartstake_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.substack\_model module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.substack_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.substack\_view module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.substack_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.terraengineer\_model module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.terraengineer_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.terraengineer\_view module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.terraengineer_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.terramoney\_fcd\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.terramoney_fcd_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.defi.terramoney\_fcd\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi.terramoney_fcd_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.defi
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.discovery.rst b/docs/code/openbb_terminal.cryptocurrency.discovery.rst
deleted file mode 100644
index 688bf07d39d..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.discovery.rst
+++ /dev/null
@@ -1,85 +0,0 @@
-openbb\_terminal.cryptocurrency.discovery package
-=================================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.discovery.coinmarketcap\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.coinmarketcap_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.coinmarketcap\_view module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.coinmarketcap_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.coinpaprika\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.coinpaprika_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.coinpaprika\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.coinpaprika_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.dappradar\_model module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.dappradar_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.dappradar\_view module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.dappradar_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.discovery\_controller module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.discovery_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.pycoingecko\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.pycoingecko_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.discovery.pycoingecko\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery.pycoingecko_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.discovery
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.due_diligence.rst b/docs/code/openbb_terminal.cryptocurrency.due_diligence.rst
deleted file mode 100644
index b6bb6fa81d5..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.due_diligence.rst
+++ /dev/null
@@ -1,205 +0,0 @@
-openbb\_terminal.cryptocurrency.due\_diligence package
-======================================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.due\_diligence.binance\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.binance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.binance\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.binance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.ccxt\_model module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.ccxt_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.ccxt\_view module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.ccxt_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinbase\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinbase_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinbase\_view module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinbase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinglass\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinglass_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinglass\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinglass_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinpaprika\_model module
-------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinpaprika_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.coinpaprika\_view module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.coinpaprika_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.cryptopanic\_view module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.cryptopanic_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.dd\_controller module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.dd_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.due\_diligence\_api module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.due_diligence_api
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.finbrain\_crypto\_view module
-----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.finbrain_crypto_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.glassnode\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.glassnode_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.glassnode\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.glassnode_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.messari\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.messari_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.messari\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.messari_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.pycoingecko\_model module
-------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.pycoingecko_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.pycoingecko\_view module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.pycoingecko_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.santiment\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.santiment_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.santiment\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.santiment_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.tokenterminal\_model module
---------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.tokenterminal_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.due\_diligence.tokenterminal\_view module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence.tokenterminal_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.due_diligence
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.nft.rst b/docs/code/openbb_terminal.cryptocurrency.nft.rst
deleted file mode 100644
index 80614858403..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.nft.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-openbb\_terminal.cryptocurrency.nft package
-===========================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.nft.nft\_controller module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft.nft_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.nft.nftpricefloor\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft.nftpricefloor_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.nft.nftpricefloor\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft.nftpricefloor_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.nft.opensea\_model module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft.opensea_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.nft.opensea\_view module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft.opensea_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.nft
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.onchain.rst b/docs/code/openbb_terminal.cryptocurrency.onchain.rst
deleted file mode 100644
index b89e4074551..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.onchain.rst
+++ /dev/null
@@ -1,117 +0,0 @@
-openbb\_terminal.cryptocurrency.onchain package
-===============================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.onchain.bitquery\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.bitquery_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.bitquery\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.bitquery_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.blockchain\_model module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.blockchain_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.blockchain\_view module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.blockchain_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.ethgasstation\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.ethgasstation_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.ethgasstation\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.ethgasstation_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.ethplorer\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.ethplorer_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.ethplorer\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.ethplorer_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.onchain\_controller module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.onchain_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.shroom\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.shroom_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.shroom\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.shroom_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.whale\_alert\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.whale_alert_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.onchain.whale\_alert\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain.whale_alert_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.onchain
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.overview.rst b/docs/code/openbb_terminal.cryptocurrency.overview.rst
deleted file mode 100644
index 49281b7b509..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.overview.rst
+++ /dev/null
@@ -1,173 +0,0 @@
-openbb\_terminal.cryptocurrency.overview package
-================================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.overview.blockchaincenter\_model module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.blockchaincenter_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.blockchaincenter\_view module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.blockchaincenter_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.coinbase\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.coinbase_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.coinbase\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.coinbase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.coinpaprika\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.coinpaprika_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.coinpaprika\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.coinpaprika_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.cryptopanic\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.cryptopanic_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.cryptopanic\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.cryptopanic_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.loanscan\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.loanscan_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.loanscan\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.loanscan_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.overview\_api module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.overview_api
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.overview\_controller module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.overview_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.pycoingecko\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.pycoingecko_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.pycoingecko\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.pycoingecko_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.rekt\_model module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.rekt_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.rekt\_view module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.rekt_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.tokenterminal\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.tokenterminal_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.tokenterminal\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.tokenterminal_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.withdrawalfees\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.withdrawalfees_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.overview.withdrawalfees\_view module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview.withdrawalfees_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.overview
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.quantitative_analysis.rst b/docs/code/openbb_terminal.cryptocurrency.quantitative_analysis.rst
deleted file mode 100644
index e274e0e2e22..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.quantitative_analysis.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.cryptocurrency.quantitative\_analysis package
-==============================================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.quantitative\_analysis.qa\_controller module
-----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.quantitative_analysis.qa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.quantitative_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.rst b/docs/code/openbb_terminal.cryptocurrency.rst
deleted file mode 100644
index 9db55758b25..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.rst
+++ /dev/null
@@ -1,93 +0,0 @@
-openbb\_terminal.cryptocurrency package
-=======================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.cryptocurrency.defi
- openbb_terminal.cryptocurrency.discovery
- openbb_terminal.cryptocurrency.due_diligence
- openbb_terminal.cryptocurrency.nft
- openbb_terminal.cryptocurrency.onchain
- openbb_terminal.cryptocurrency.overview
- openbb_terminal.cryptocurrency.quantitative_analysis
- openbb_terminal.cryptocurrency.technical_analysis
- openbb_terminal.cryptocurrency.tools
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.coinbase\_helpers module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.coinbase_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.coinpaprika\_helpers module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.coinpaprika_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.crypto\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.crypto_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.cryptocurrency\_helpers module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.cryptocurrency_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.dataframe\_helpers module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.dataframe_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.pycoingecko\_helpers module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.pycoingecko_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.pyth\_model module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.pyth_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.pyth\_view module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.pyth_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.technical_analysis.rst b/docs/code/openbb_terminal.cryptocurrency.technical_analysis.rst
deleted file mode 100644
index b5d6cac4e51..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.technical_analysis.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.cryptocurrency.technical\_analysis package
-===========================================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.technical\_analysis.ta\_controller module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.technical_analysis.ta_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.technical_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.cryptocurrency.tools.rst b/docs/code/openbb_terminal.cryptocurrency.tools.rst
deleted file mode 100644
index 9c538113f94..00000000000
--- a/docs/code/openbb_terminal.cryptocurrency.tools.rst
+++ /dev/null
@@ -1,45 +0,0 @@
-openbb\_terminal.cryptocurrency.tools package
-=============================================
-
-Submodules
-----------
-
-openbb\_terminal.cryptocurrency.tools.tools\_controller module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.tools.tools_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.tools.tools\_helpers module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.tools.tools_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.tools.tools\_model module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.tools.tools_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.cryptocurrency.tools.tools\_view module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.cryptocurrency.tools.tools_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.cryptocurrency.tools
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.dashboards.rst b/docs/code/openbb_terminal.dashboards.rst
deleted file mode 100644
index 552ec0863ea..00000000000
--- a/docs/code/openbb_terminal.dashboards.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.dashboards package
-===================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.dashboards.stream
-
-Submodules
-----------
-
-openbb\_terminal.dashboards.dashboards\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.dashboards.dashboards_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.dashboards.widget\_helpers module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.dashboards.widget_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.dashboards
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.dashboards.stream.rst b/docs/code/openbb_terminal.dashboards.stream.rst
deleted file mode 100644
index 7a79d121b7b..00000000000
--- a/docs/code/openbb_terminal.dashboards.stream.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.dashboards.stream package
-==========================================
-
-Submodules
-----------
-
-openbb\_terminal.dashboards.stream.forecast module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.dashboards.stream.forecast
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.dashboards.stream
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.econometrics.rst b/docs/code/openbb_terminal.econometrics.rst
deleted file mode 100644
index 44057df5afe..00000000000
--- a/docs/code/openbb_terminal.econometrics.rst
+++ /dev/null
@@ -1,61 +0,0 @@
-openbb\_terminal.econometrics package
-=====================================
-
-Submodules
-----------
-
-openbb\_terminal.econometrics.econometrics\_controller module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.econometrics_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.econometrics.econometrics\_helpers module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.econometrics_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.econometrics.econometrics\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.econometrics_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.econometrics.econometrics\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.econometrics_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.econometrics.regression\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.regression_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.econometrics.regression\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.econometrics.regression_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.econometrics
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.economy.quantitative_analysis.rst b/docs/code/openbb_terminal.economy.quantitative_analysis.rst
deleted file mode 100644
index 857bfe5bfc3..00000000000
--- a/docs/code/openbb_terminal.economy.quantitative_analysis.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.economy.quantitative\_analysis package
-=======================================================
-
-Submodules
-----------
-
-openbb\_terminal.economy.quantitative\_analysis.qa\_controller module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.quantitative_analysis.qa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.economy.quantitative_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.economy.rst b/docs/code/openbb_terminal.economy.rst
deleted file mode 100644
index 0c496c4ec0a..00000000000
--- a/docs/code/openbb_terminal.economy.rst
+++ /dev/null
@@ -1,213 +0,0 @@
-openbb\_terminal.economy package
-================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.economy.quantitative_analysis
-
-Submodules
-----------
-
-openbb\_terminal.economy.alphavantage\_model module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.alphavantage_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.alphavantage\_view module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.alphavantage_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.commodity\_model module
-------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.commodity_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.commodity\_view module
------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.commodity_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.econ\_data\_helper module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.econ_data_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.econdb\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.econdb_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.econdb\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.economy.econdb_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.economy\_controller module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.economy_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.economy\_helpers module
-------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.economy_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.finnhub\_model module
-----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.finnhub\_view module
----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.finnhub_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.finviz\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.finviz\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.economy.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.fred\_model module
--------------------------------------------
-
-.. automodule:: openbb_terminal.economy.fred_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.fred\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.economy.fred_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.investingcom\_model module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.investingcom_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.investingcom\_view module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.investingcom_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.nasdaq\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.nasdaq_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.nasdaq\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.economy.nasdaq_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.plot\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.economy.plot_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.wsj\_model module
-------------------------------------------
-
-.. automodule:: openbb_terminal.economy.wsj_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.wsj\_view module
------------------------------------------
-
-.. automodule:: openbb_terminal.economy.wsj_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.yfinance\_model module
------------------------------------------------
-
-.. automodule:: openbb_terminal.economy.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.economy.yfinance\_view module
-----------------------------------------------
-
-.. automodule:: openbb_terminal.economy.yfinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.economy
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.etf.rst b/docs/code/openbb_terminal.etf.rst
deleted file mode 100644
index bf67b8e6137..00000000000
--- a/docs/code/openbb_terminal.etf.rst
+++ /dev/null
@@ -1,69 +0,0 @@
-openbb\_terminal.etf package
-============================
-
-Submodules
-----------
-
-openbb\_terminal.etf.etf\_controller module
--------------------------------------------
-
-.. automodule:: openbb_terminal.etf.etf_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.financedatabase\_model module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.etf.financedatabase_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.financedatabase\_view module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.etf.financedatabase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.stockanalysis\_model module
-------------------------------------------------
-
-.. automodule:: openbb_terminal.etf.stockanalysis_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.stockanalysis\_view module
------------------------------------------------
-
-.. automodule:: openbb_terminal.etf.stockanalysis_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.yfinance\_model module
--------------------------------------------
-
-.. automodule:: openbb_terminal.etf.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.etf.yfinance\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.etf.yfinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.etf
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.forecast.rst b/docs/code/openbb_terminal.forecast.rst
deleted file mode 100644
index 7911e3f5d81..00000000000
--- a/docs/code/openbb_terminal.forecast.rst
+++ /dev/null
@@ -1,221 +0,0 @@
-openbb\_terminal.forecast package
-=================================
-
-Submodules
-----------
-
-openbb\_terminal.forecast.brnn\_model module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.brnn_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.brnn\_view module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.brnn_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.expo\_model module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.expo_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.expo\_view module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.expo_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.forecast\_controller module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.forecast_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.forecast\_model module
-------------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.forecast_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.forecast\_view module
------------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.forecast_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.helpers module
-----------------------------------------
-
-.. automodule:: openbb_terminal.forecast.helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.linregr\_model module
------------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.linregr_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.linregr\_view module
-----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.linregr_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.nbeats\_model module
-----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.nbeats_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.nbeats\_view module
----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.nbeats_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.nhits\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.nhits_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.nhits\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.nhits_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.regr\_model module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.regr_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.regr\_view module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.regr_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.rnn\_model module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.rnn_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.rnn\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.rnn_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.tcn\_model module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.tcn_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.tcn\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.tcn_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.tft\_model module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.tft_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.tft\_view module
-------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.tft_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.theta\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.theta_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.theta\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.theta_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.trans\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.trans_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forecast.trans\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forecast.trans_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.forecast
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.forex.quantitative_analysis.rst b/docs/code/openbb_terminal.forex.quantitative_analysis.rst
deleted file mode 100644
index c69cf3de0bb..00000000000
--- a/docs/code/openbb_terminal.forex.quantitative_analysis.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.forex.quantitative\_analysis package
-=====================================================
-
-Submodules
-----------
-
-openbb\_terminal.forex.quantitative\_analysis.qa\_controller module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.forex.quantitative_analysis.qa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.forex.quantitative_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.forex.rst b/docs/code/openbb_terminal.forex.rst
deleted file mode 100644
index 7b2b76cb6c3..00000000000
--- a/docs/code/openbb_terminal.forex.rst
+++ /dev/null
@@ -1,78 +0,0 @@
-openbb\_terminal.forex package
-==============================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.forex.quantitative_analysis
- openbb_terminal.forex.technical_analysis
-
-Submodules
-----------
-
-openbb\_terminal.forex.av\_model module
----------------------------------------
-
-.. automodule:: openbb_terminal.forex.av_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.av\_view module
---------------------------------------
-
-.. automodule:: openbb_terminal.forex.av_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.forex\_controller module
------------------------------------------------
-
-.. automodule:: openbb_terminal.forex.forex_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.forex\_helper module
--------------------------------------------
-
-.. automodule:: openbb_terminal.forex.forex_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.fxempire\_model module
----------------------------------------------
-
-.. automodule:: openbb_terminal.forex.fxempire_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.fxempire\_view module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forex.fxempire_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.forex.polygon\_model module
---------------------------------------------
-
-.. automodule:: openbb_terminal.forex.polygon_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.forex
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.forex.technical_analysis.rst b/docs/code/openbb_terminal.forex.technical_analysis.rst
deleted file mode 100644
index 09dda5ceb3c..00000000000
--- a/docs/code/openbb_terminal.forex.technical_analysis.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.forex.technical\_analysis package
-==================================================
-
-Submodules
-----------
-
-openbb\_terminal.forex.technical\_analysis.ta\_controller module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.forex.technical_analysis.ta_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.forex.technical_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.mutual_funds.rst b/docs/code/openbb_terminal.mutual_funds.rst
deleted file mode 100644
index 1a1d2764e0a..00000000000
--- a/docs/code/openbb_terminal.mutual_funds.rst
+++ /dev/null
@@ -1,69 +0,0 @@
-openbb\_terminal.mutual\_funds package
-======================================
-
-Submodules
-----------
-
-openbb\_terminal.mutual\_funds.avanza\_model module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.avanza_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.avanza\_view module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.avanza_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.investpy\_model module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.investpy_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.investpy\_view module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.investpy_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.mutual\_fund\_controller module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.mutual_fund_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.yfinance\_model module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.mutual\_funds.yfinance\_view module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.mutual_funds.yfinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.mutual_funds
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.brokers.coinbase.rst b/docs/code/openbb_terminal.portfolio.brokers.coinbase.rst
deleted file mode 100644
index b05f91bdd74..00000000000
--- a/docs/code/openbb_terminal.portfolio.brokers.coinbase.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.portfolio.brokers.coinbase package
-===================================================
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.brokers.coinbase.coinbase\_controller module
------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.coinbase.coinbase_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.brokers.coinbase.coinbase\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.coinbase.coinbase_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.brokers.coinbase.coinbase\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.coinbase.coinbase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.coinbase
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.brokers.degiro.rst b/docs/code/openbb_terminal.portfolio.brokers.degiro.rst
deleted file mode 100644
index 2fe94a03d96..00000000000
--- a/docs/code/openbb_terminal.portfolio.brokers.degiro.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.portfolio.brokers.degiro package
-=================================================
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.brokers.degiro.degiro\_controller module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.degiro.degiro_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.brokers.degiro.degiro\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.degiro.degiro_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.brokers.degiro.degiro\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.degiro.degiro_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.degiro
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.brokers.rst b/docs/code/openbb_terminal.portfolio.brokers.rst
deleted file mode 100644
index b32df4acaa1..00000000000
--- a/docs/code/openbb_terminal.portfolio.brokers.rst
+++ /dev/null
@@ -1,38 +0,0 @@
-openbb\_terminal.portfolio.brokers package
-==========================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.portfolio.brokers.coinbase
- openbb_terminal.portfolio.brokers.degiro
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.brokers.bro\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.bro_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.brokers.brokers\_helpers module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.brokers.brokers_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio.brokers
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.portfolio_analysis.rst b/docs/code/openbb_terminal.portfolio.portfolio_analysis.rst
deleted file mode 100644
index 0d206d483f4..00000000000
--- a/docs/code/openbb_terminal.portfolio.portfolio_analysis.rst
+++ /dev/null
@@ -1,45 +0,0 @@
-openbb\_terminal.portfolio.portfolio\_analysis package
-======================================================
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.portfolio\_analysis.pa\_controller module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_analysis.pa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_analysis.portfolio\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_analysis.portfolio_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_analysis.portfolio\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_analysis.portfolio_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_analysis.yfinance\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_analysis.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.portfolio_optimization.rst b/docs/code/openbb_terminal.portfolio.portfolio_optimization.rst
deleted file mode 100644
index 47669778e49..00000000000
--- a/docs/code/openbb_terminal.portfolio.portfolio_optimization.rst
+++ /dev/null
@@ -1,61 +0,0 @@
-openbb\_terminal.portfolio.portfolio\_optimization package
-==========================================================
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.portfolio\_optimization.excel\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.excel_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_optimization.optimizer\_helper module
----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.optimizer_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_optimization.optimizer\_model module
---------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.optimizer_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_optimization.optimizer\_view module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.optimizer_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_optimization.po\_controller module
-------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.po_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_optimization.yahoo\_finance\_model module
--------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization.yahoo_finance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_optimization
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.portfolio.rst b/docs/code/openbb_terminal.portfolio.rst
deleted file mode 100644
index 0d70aa3e2e9..00000000000
--- a/docs/code/openbb_terminal.portfolio.rst
+++ /dev/null
@@ -1,87 +0,0 @@
-openbb\_terminal.portfolio package
-==================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.portfolio.brokers
- openbb_terminal.portfolio.portfolio_analysis
- openbb_terminal.portfolio.portfolio_optimization
-
-Submodules
-----------
-
-openbb\_terminal.portfolio.allocation\_model module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.allocation_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_controller module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_helper module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_model module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.portfolio\_view module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.portfolio_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.reportlab\_helpers module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.reportlab_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.statics module
------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.statics
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.portfolio.yfinance\_model module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.portfolio.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.portfolio
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.reports.rst b/docs/code/openbb_terminal.reports.rst
deleted file mode 100644
index cdac0fa9407..00000000000
--- a/docs/code/openbb_terminal.reports.rst
+++ /dev/null
@@ -1,29 +0,0 @@
-openbb\_terminal.reports package
-================================
-
-Submodules
-----------
-
-openbb\_terminal.reports.reports\_controller module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.reports.reports_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.reports.widget\_helpers module
------------------------------------------------
-
-.. automodule:: openbb_terminal.reports.widget_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.reports
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.rst b/docs/code/openbb_terminal.rst
deleted file mode 100644
index b8ab1c1efd6..00000000000
--- a/docs/code/openbb_terminal.rst
+++ /dev/null
@@ -1,210 +0,0 @@
-openbb\_terminal package
-========================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.alternative
- openbb_terminal.common
- openbb_terminal.core
- openbb_terminal.cryptocurrency
- openbb_terminal.dashboards
- openbb_terminal.econometrics
- openbb_terminal.economy
- openbb_terminal.etf
- openbb_terminal.forecast
- openbb_terminal.forex
- openbb_terminal.mutual_funds
- openbb_terminal.portfolio
- openbb_terminal.reports
- openbb_terminal.stocks
-
-Submodules
-----------
-
-openbb\_terminal.config\_plot module
-------------------------------------
-
-.. automodule:: openbb_terminal.config_plot
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.config\_terminal module
-----------------------------------------
-
-.. automodule:: openbb_terminal.config_terminal
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.custom\_prompt\_toolkit module
------------------------------------------------
-
-.. automodule:: openbb_terminal.custom_prompt_toolkit
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.decorators module
-----------------------------------
-
-.. automodule:: openbb_terminal.decorators
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.featflags\_controller module
----------------------------------------------
-
-.. automodule:: openbb_terminal.featflags_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.feature\_flags module
---------------------------------------
-
-.. automodule:: openbb_terminal.feature_flags
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.helper\_classes module
----------------------------------------
-
-.. automodule:: openbb_terminal.helper_classes
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.helper\_funcs module
--------------------------------------
-
-.. automodule:: openbb_terminal.helper_funcs
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.helpers\_denomination module
----------------------------------------------
-
-.. automodule:: openbb_terminal.helpers_denomination
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.keys\_controller module
-----------------------------------------
-
-.. automodule:: openbb_terminal.keys_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.keys\_model module
------------------------------------
-
-.. automodule:: openbb_terminal.keys_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.keys\_view module
-----------------------------------
-
-.. automodule:: openbb_terminal.keys_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.loggers module
--------------------------------
-
-.. automodule:: openbb_terminal.loggers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.menu module
-----------------------------
-
-.. automodule:: openbb_terminal.menu
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.parent\_classes module
----------------------------------------
-
-.. automodule:: openbb_terminal.parent_classes
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.rich\_config module
-------------------------------------
-
-.. automodule:: openbb_terminal.rich_config
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.sdk module
----------------------------
-
-.. automodule:: openbb_terminal.sdk
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.settings\_controller module
---------------------------------------------
-
-.. automodule:: openbb_terminal.settings_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.sources\_controller module
--------------------------------------------
-
-.. automodule:: openbb_terminal.sources_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.terminal\_controller module
---------------------------------------------
-
-.. automodule:: openbb_terminal.terminal_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.terminal\_helper module
-----------------------------------------
-
-.. automodule:: openbb_terminal.terminal_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.thought\_of\_the\_day module
----------------------------------------------
-
-.. automodule:: openbb_terminal.thought_of_the_day
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.backtesting.rst b/docs/code/openbb_terminal.stocks.backtesting.rst
deleted file mode 100644
index e37b50d06ef..00000000000
--- a/docs/code/openbb_terminal.stocks.backtesting.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.stocks.backtesting package
-===========================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.backtesting.bt\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.backtesting.bt_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.backtesting.bt\_model module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.backtesting.bt_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.backtesting.bt\_view module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.backtesting.bt_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.backtesting
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.behavioural_analysis.rst b/docs/code/openbb_terminal.stocks.behavioural_analysis.rst
deleted file mode 100644
index ed1c2be250e..00000000000
--- a/docs/code/openbb_terminal.stocks.behavioural_analysis.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-openbb\_terminal.stocks.behavioural\_analysis package
-=====================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.behavioural\_analysis.ba\_controller module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis.ba_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.behavioural\_analysis.cramer\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis.cramer_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.behavioural\_analysis.cramer\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis.cramer_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.behavioural\_analysis.finnhub\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.behavioural\_analysis.finnhub\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis.finnhub_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.behavioural_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.comparison_analysis.rst b/docs/code/openbb_terminal.stocks.comparison_analysis.rst
deleted file mode 100644
index e99d703e7c5..00000000000
--- a/docs/code/openbb_terminal.stocks.comparison_analysis.rst
+++ /dev/null
@@ -1,101 +0,0 @@
-openbb\_terminal.stocks.comparison\_analysis package
-====================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.comparison\_analysis.ca\_controller module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.ca_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.finbrain\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.finbrain_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.finbrain\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.finbrain_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.finnhub\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.finviz\_compare\_model module
---------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.finviz_compare_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.finviz\_compare\_view module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.finviz_compare_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.marketwatch\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.marketwatch_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.marketwatch\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.marketwatch_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.polygon\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.polygon_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.yahoo\_finance\_model module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.yahoo_finance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.comparison\_analysis.yahoo\_finance\_view module
-------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis.yahoo_finance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.comparison_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.dark_pool_shorts.rst b/docs/code/openbb_terminal.stocks.dark_pool_shorts.rst
deleted file mode 100644
index 0d74f4d97bc..00000000000
--- a/docs/code/openbb_terminal.stocks.dark_pool_shorts.rst
+++ /dev/null
@@ -1,149 +0,0 @@
-openbb\_terminal.stocks.dark\_pool\_shorts package
-==================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.dark\_pool\_shorts.dps\_controller module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.dps_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.finra\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.finra_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.finra\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.finra_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.ibkr\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.ibkr_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.ibkr\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.ibkr_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.nyse\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.nyse_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.nyse\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.nyse_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.quandl\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.quandl_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.quandl\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.quandl_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.sec\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.sec_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.sec\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.sec_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.shortinterest\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.shortinterest_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.shortinterest\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.shortinterest_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.stockgrid\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.stockgrid_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.stockgrid\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.stockgrid_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.yahoofinance\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.yahoofinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.dark\_pool\_shorts.yahoofinance\_view module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts.yahoofinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.dark_pool_shorts
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.discovery.rst b/docs/code/openbb_terminal.stocks.discovery.rst
deleted file mode 100644
index 558ec7fd2fe..00000000000
--- a/docs/code/openbb_terminal.stocks.discovery.rst
+++ /dev/null
@@ -1,165 +0,0 @@
-openbb\_terminal.stocks.discovery package
-=========================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.discovery.ark\_model module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.ark_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.ark\_view module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.ark_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.disc\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.disc_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.disc\_helpers module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.disc_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.fidelity\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.fidelity_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.fidelity\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.fidelity_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.financedatabase\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.financedatabase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.finnhub\_model module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.finnhub\_view module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.finnhub_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.finviz\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.finviz\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.nasdaq\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.nasdaq_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.nasdaq\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.nasdaq_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.seeking\_alpha\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.seeking_alpha_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.seeking\_alpha\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.seeking_alpha_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.shortinterest\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.shortinterest_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.shortinterest\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.shortinterest_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.yahoofinance\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.yahoofinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.discovery.yahoofinance\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.discovery.yahoofinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.discovery
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.due_diligence.rst b/docs/code/openbb_terminal.stocks.due_diligence.rst
deleted file mode 100644
index c0fac3ed6a6..00000000000
--- a/docs/code/openbb_terminal.stocks.due_diligence.rst
+++ /dev/null
@@ -1,133 +0,0 @@
-openbb\_terminal.stocks.due\_diligence package
-==============================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.due\_diligence.ark\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.ark_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.ark\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.ark_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.business\_insider\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.business_insider_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.business\_insider\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.business_insider_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.csimarket\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.csimarket_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.csimarket\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.csimarket_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.dd\_controller module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.dd_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.finnhub\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.finnhub_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.finnhub\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.finnhub_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.finviz\_model module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.finviz\_view module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.fmp\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.fmp_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.fmp\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.fmp_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.marketwatch\_model module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.marketwatch_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.due\_diligence.marketwatch\_view module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence.marketwatch_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.due_diligence
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.fundamental_analysis.rst b/docs/code/openbb_terminal.stocks.fundamental_analysis.rst
deleted file mode 100644
index e2e6e19259d..00000000000
--- a/docs/code/openbb_terminal.stocks.fundamental_analysis.rst
+++ /dev/null
@@ -1,197 +0,0 @@
-openbb\_terminal.stocks.fundamental\_analysis package
-=====================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.fundamental\_analysis.av\_model module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.av_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.av\_view module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.av_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.business\_insider\_model module
------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.business_insider_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.business\_insider\_view module
-----------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.business_insider_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.dcf\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.dcf_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.dcf\_static module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.dcf_static
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.dcf\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.dcf_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.eclect\_us\_model module
-----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.eclect_us_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.eclect\_us\_view module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.eclect_us_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.eodhd\_model module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.eodhd_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.eodhd\_view module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.eodhd_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.fa\_controller module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.fa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.fa\_helper module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.fa_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.finviz\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.finviz\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.fmp\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.fmp_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.fmp\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.fmp_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.market\_watch\_model module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.market_watch_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.market\_watch\_view module
-------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.market_watch_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.polygon\_model module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.polygon_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.polygon\_view module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.polygon_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.yahoo\_finance\_model module
---------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.yahoo_finance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.fundamental\_analysis.yahoo\_finance\_view module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis.yahoo_finance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.fundamental_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.government.rst b/docs/code/openbb_terminal.stocks.government.rst
deleted file mode 100644
index 9d3badb7e7f..00000000000
--- a/docs/code/openbb_terminal.stocks.government.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.stocks.government package
-==========================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.government.gov\_controller module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.government.gov_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.government.quiverquant\_model module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.government.quiverquant_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.government.quiverquant\_view module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.government.quiverquant_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.government
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.insider.presets.rst b/docs/code/openbb_terminal.stocks.insider.presets.rst
deleted file mode 100644
index a128e446579..00000000000
--- a/docs/code/openbb_terminal.stocks.insider.presets.rst
+++ /dev/null
@@ -1,10 +0,0 @@
-openbb\_terminal.stocks.insider.presets package
-===============================================
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.insider.presets
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.insider.rst b/docs/code/openbb_terminal.stocks.insider.rst
deleted file mode 100644
index a7013fffc07..00000000000
--- a/docs/code/openbb_terminal.stocks.insider.rst
+++ /dev/null
@@ -1,77 +0,0 @@
-openbb\_terminal.stocks.insider package
-=======================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.stocks.insider.presets
-
-Submodules
-----------
-
-openbb\_terminal.stocks.insider.businessinsider\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.businessinsider_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.businessinsider\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.businessinsider_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.finviz\_model module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.finviz\_view module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.insider\_controller module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.insider_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.openinsider\_model module
----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.openinsider_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.insider.openinsider\_view module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.insider.openinsider_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.insider
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.options.rst b/docs/code/openbb_terminal.stocks.options.rst
deleted file mode 100644
index e9a44e55c9a..00000000000
--- a/docs/code/openbb_terminal.stocks.options.rst
+++ /dev/null
@@ -1,165 +0,0 @@
-openbb\_terminal.stocks.options package
-=======================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.stocks.options.screen
-
-Submodules
-----------
-
-openbb\_terminal.stocks.options.alphaquery\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.alphaquery_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.alphaquery\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.alphaquery_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.barchart\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.barchart_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.barchart\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.barchart_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.calculator\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.calculator_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.calculator\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.calculator_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.chartexchange\_model module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.chartexchange_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.chartexchange\_view module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.chartexchange_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.fdscanner\_model module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.fdscanner_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.fdscanner\_view module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.fdscanner_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.nasdaq\_model module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.nasdaq_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.nasdaq\_view module
----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.nasdaq_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.op\_helpers module
---------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.op_helpers
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.options\_controller module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.options_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.tradier\_model module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.tradier_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.tradier\_view module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.tradier_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.yfinance\_model module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.yfinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.yfinance\_view module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.yfinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.options
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.options.screen.rst b/docs/code/openbb_terminal.stocks.options.screen.rst
deleted file mode 100644
index 4b81025174f..00000000000
--- a/docs/code/openbb_terminal.stocks.options.screen.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-openbb\_terminal.stocks.options.screen package
-==============================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.options.screen.screener\_controller module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.screen.screener_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.screen.syncretism\_model module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.screen.syncretism_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.options.screen.syncretism\_view module
---------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.options.screen.syncretism_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.options.screen
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.quantitative_analysis.rst b/docs/code/openbb_terminal.stocks.quantitative_analysis.rst
deleted file mode 100644
index d596baffdca..00000000000
--- a/docs/code/openbb_terminal.stocks.quantitative_analysis.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-openbb\_terminal.stocks.quantitative\_analysis package
-======================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.quantitative\_analysis.beta\_model module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis.beta_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.quantitative\_analysis.beta\_view module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis.beta_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.quantitative\_analysis.factors\_model module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis.factors_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.quantitative\_analysis.factors\_view module
--------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis.factors_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.quantitative\_analysis.qa\_controller module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis.qa_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.quantitative_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.research.rst b/docs/code/openbb_terminal.stocks.research.rst
deleted file mode 100644
index 18e76526f5c..00000000000
--- a/docs/code/openbb_terminal.stocks.research.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-openbb\_terminal.stocks.research package
-========================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.research.res\_controller module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.research.res_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.research
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.rst b/docs/code/openbb_terminal.stocks.rst
deleted file mode 100644
index c4f338b2e5d..00000000000
--- a/docs/code/openbb_terminal.stocks.rst
+++ /dev/null
@@ -1,84 +0,0 @@
-openbb\_terminal.stocks package
-===============================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.stocks.backtesting
- openbb_terminal.stocks.behavioural_analysis
- openbb_terminal.stocks.comparison_analysis
- openbb_terminal.stocks.dark_pool_shorts
- openbb_terminal.stocks.discovery
- openbb_terminal.stocks.due_diligence
- openbb_terminal.stocks.fundamental_analysis
- openbb_terminal.stocks.government
- openbb_terminal.stocks.insider
- openbb_terminal.stocks.options
- openbb_terminal.stocks.quantitative_analysis
- openbb_terminal.stocks.research
- openbb_terminal.stocks.screener
- openbb_terminal.stocks.sector_industry_analysis
- openbb_terminal.stocks.technical_analysis
- openbb_terminal.stocks.tradinghours
-
-Submodules
-----------
-
-openbb\_terminal.stocks.cboe\_model module
-------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.cboe_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.cboe\_view module
------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.cboe_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.stock\_statics module
----------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.stock_statics
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.stocks\_controller module
--------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.stocks_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.stocks\_helper module
----------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.stocks_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.stocks\_models module
----------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.stocks_models
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.screener.rst b/docs/code/openbb_terminal.stocks.screener.rst
deleted file mode 100644
index 40bcea18e79..00000000000
--- a/docs/code/openbb_terminal.stocks.screener.rst
+++ /dev/null
@@ -1,61 +0,0 @@
-openbb\_terminal.stocks.screener package
-========================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.screener.finviz\_model module
------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.screener.finviz\_view module
-----------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.screener.screener\_controller module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.screener_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.screener.screener\_view module
-------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.screener_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.screener.yahoofinance\_model module
------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.yahoofinance_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.screener.yahoofinance\_view module
-----------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.screener.yahoofinance_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.screener
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.sector_industry_analysis.rst b/docs/code/openbb_terminal.stocks.sector_industry_analysis.rst
deleted file mode 100644
index a7de3597b2c..00000000000
--- a/docs/code/openbb_terminal.stocks.sector_industry_analysis.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-openbb\_terminal.stocks.sector\_industry\_analysis package
-==========================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.sector\_industry\_analysis.financedatabase\_model module
---------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis.financedatabase_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.sector\_industry\_analysis.financedatabase\_view module
--------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis.financedatabase_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.sector\_industry\_analysis.sia\_controller module
--------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis.sia_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.sector\_industry\_analysis.stockanalysis\_model module
-------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis.stockanalysis_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.sector\_industry\_analysis.stockanalysis\_view module
------------------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis.stockanalysis_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.sector_industry_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.technical_analysis.rst b/docs/code/openbb_terminal.stocks.technical_analysis.rst
deleted file mode 100644
index 390fecc51c7..00000000000
--- a/docs/code/openbb_terminal.stocks.technical_analysis.rst
+++ /dev/null
@@ -1,85 +0,0 @@
-openbb\_terminal.stocks.technical\_analysis package
-===================================================
-
-Submodules
-----------
-
-openbb\_terminal.stocks.technical\_analysis.finbrain\_model module
-------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.finbrain_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.finbrain\_view module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.finbrain_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.finviz\_model module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.finviz_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.finviz\_view module
----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.finviz_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.rsp\_model module
--------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.rsp_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.rsp\_view module
-------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.rsp_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.ta\_controller module
------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.ta_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.tradingview\_model module
----------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.tradingview_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.technical\_analysis.tradingview\_view module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis.tradingview_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.technical_analysis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.tradinghours.data.rst b/docs/code/openbb_terminal.stocks.tradinghours.data.rst
deleted file mode 100644
index 06768cc8a4e..00000000000
--- a/docs/code/openbb_terminal.stocks.tradinghours.data.rst
+++ /dev/null
@@ -1,10 +0,0 @@
-openbb\_terminal.stocks.tradinghours.data package
-=================================================
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours.data
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/code/openbb_terminal.stocks.tradinghours.rst b/docs/code/openbb_terminal.stocks.tradinghours.rst
deleted file mode 100644
index dbf7b5a2c7e..00000000000
--- a/docs/code/openbb_terminal.stocks.tradinghours.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-openbb\_terminal.stocks.tradinghours package
-============================================
-
-Subpackages
------------
-
-.. toctree::
- :maxdepth: 4
-
- openbb_terminal.stocks.tradinghours.data
-
-Submodules
-----------
-
-openbb\_terminal.stocks.tradinghours.bursa\_model module
---------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours.bursa_model
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.tradinghours.bursa\_view module
--------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours.bursa_view
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.tradinghours.tradinghours\_controller module
---------------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours.tradinghours_controller
- :members:
- :undoc-members:
- :show-inheritance:
-
-openbb\_terminal.stocks.tradinghours.tradinghours\_helper module
-----------------------------------------------------------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours.tradinghours_helper
- :members:
- :undoc-members:
- :show-inheritance:
-
-Module contents
----------------
-
-.. automodule:: openbb_terminal.stocks.tradinghours
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/conf.py b/docs/conf.py
deleted file mode 100644
index 7f5f39cf497..00000000000
--- a/docs/conf.py
+++ /dev/null
@@ -1,68 +0,0 @@
-"""
-Configuration file for the Sphinx documentation builder.
-
-This file only contains a selection of the most common options. For a full
-list see the documentation:
-https://www.sphinx-doc.org/en/master/usage/configuration.html
-"""
-
-# -- Path setup --------------------------------------------------------------
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#
-import os
-import sys
-
-sys.path.insert(0, os.path.abspath("."))
-sys.path.insert(0, os.path.join(os.path.abspath("."), ".."))
-
-beacon = os.environ.get("BEACON")
-
-if beacon is not None:
- with open(os.path.join(".", "_templates", "layout.html")) as f:
- content = f.read()
- with open(os.path.join(".", "_templates", "layout.html"), "w") as f:
- f.write(content.replace("{{BEACON}}", beacon))
-
-# -- Project information -----------------------------------------------------
-
-project = "OpenBB Terminal"
-copyright = "2021, OpenBB Terminal Contributors" # pylint: disable=W0622
-author = "OpenBB Terminal Contributors"
-
-
-# -- General configuration ---------------------------------------------------
-
-# Add any Sphinx extension module names here, as strings. They can be
-# extensions coming with Sphinx (named "sphinx.ext.*") or your custom
-# ones.
-extensions = [
- "myst_parser",
- "sphinx.ext.autodoc",
- "sphinx.ext.napoleon",
- "sphinx.ext.viewcode",
- "sphinx_rtd_theme",
-]
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ["_templates"]
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
-
-
-# -- Options for HTML output -------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-#
-html_theme = "sphinx_rtd_theme"
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ["_static"]
diff --git a/docs/generate.py b/docs/generate.py
deleted file mode 100644
index a066c219da2..00000000000
--- a/docs/generate.py
+++ /dev/null
@@ -1,211 +0,0 @@
-from typing import Callable, Any, Optional, List, Tuple, Dict
-from inspect import signature
-import importlib
-import os
-from ruamel.yaml import YAML
-
-from openbb_terminal.sdk import functions
-
-# NOTE: The main.yml and documentation _index.md files are automaticallty overridden
-# every time this is ran. Folder level _index.md files are NOT overridden after creation
-
-yaml = YAML()
-yaml.indent(mapping=2, sequence=4, offset=2)
-
-
-def all_functions() -> List[Tuple[str, str, Callable[..., Any]]]:
- """Uses the base SDK functions dictionary to get a list of all functions we have linked
- in our SDK.
-
- Returns
- ----------
- func_list: List[Tuple[str, str, Callable[..., Any]]]
- A list of functions organized as (path_to_func, view/model, the_function)
- """
- func_list = []
- for key, sub_dict in functions.items():
- for sub_key, item_path in sub_dict.items():
- full_path = item_path.split(".")
- module_path = ".".join(full_path[:-1])
- module = importlib.import_module(module_path)
- target_function = getattr(module, full_path[-1])
- func_list.append((key, sub_key, target_function))
- return func_list
-
-
-def groupby(orig_list: List[Any], index: int) -> Dict[Any, Any]:
- """Groups a list of iterable by the index provided
-
- Parameters
- ----------
- orig_list: List[Any]
- A list of iterables
- index: int
- The index to groupby
-
- Returns
- ----------
- grouped: dict[Any, Any]
- Group information where keys are the groupby item and values are the iterables
- """
- grouped: Dict[Any, Any] = {}
- for item in orig_list:
- if item[index] in grouped:
- grouped[item[index]].append(item)
- else:
- grouped[item[index]] = [item]
- return grouped
-
-
-def generate_documentation(
- base: str, key: str, value: List[Tuple[str, str, Callable[..., Any]]]
-):
- models = list(filter(lambda x: x[1] == "model", value))
- views = list(filter(lambda x: x[1] == "view", value))
- model_type = Optional[Tuple[str, str, Callable[..., Any]]]
- model: model_type = models[0] if models else None
- view: model_type = views[0] if views else None
- for end in key.split("."):
- base += f"/{end}"
- if not os.path.isdir(base):
- os.mkdir(base)
- with open(f"{base}/_index.md", "w") as f:
- if view:
- f.write(
- "To obtain charts, make sure to add `chart=True` as the last parameter\n\n"
- )
- if model:
- f.write(f"## Get underlying data \n### {key}{signature(model[2])}\n\n")
- m_docs = str(model[2].__doc__)[:-5]
- f.write(f"{m_docs}\n")
- if view:
- if model:
- f.write("\n")
- v_docs = str(view[2].__doc__)[:-5]
- temp = str(signature(view[2]))
- # TODO: This breaks if there is a ')' inside the function arguments
- idx = temp.find(")")
- new_signature = temp[:idx] + ", chart=True" + temp[idx:]
- f.write(f"## Getting charts \n### {key}{new_signature}\n\n")
- f.write(f"{v_docs}\n")
-
-
-def find_line(path: str, to_match: str) -> int:
- """Returns the file line of a string based on given file path"""
- with open(path) as file:
- for i, line in enumerate(file):
- if to_match in line:
- return i
- return -1
-
-
-def delete_lines(path: str, start: int):
- """Deletes all file lines after a given number"""
-
- with open(path, "r+") as file:
- lines = file.readlines()
- file.seek(0)
- file.truncate()
-
- for i, line in enumerate(lines):
- if i <= start:
- file.write(line)
-
-
-def delete_line(path: str, to_delete: int):
- """Deletes single file lines after a given number"""
-
- with open(path, "r+") as file:
- lines = file.readlines()
- file.seek(0)
- file.truncate()
-
- for i, line in enumerate(lines):
- if i != to_delete:
- file.write(line)
-
-
-def crawl_folders(root: str) -> list:
- """Crawls created folders to get a list of what has been created"""
- target = "website/content/"
- ignore_length = root.index(target) + len(target)
- return [
- [path[ignore_length:], sorted(dirs)] for path, dirs, _ in os.walk(root) if dirs
- ]
-
-
-def filter_dict(sub_dict, target: str):
- return sub_dict["name"] == target
-
-
-def set_items(the_dict, path: str, subs):
- """Sets the sub items inside dictionaries"""
- temp_loc = the_dict["sub"]
- new_path = path[4:]
- for sub_path in new_path.split("/"):
- # pylint: disable=cell-var-from-loop
- if "sub" in temp_loc:
- temp_filter = filter(lambda x: filter_dict(x, sub_path), temp_loc["sub"])
- else:
- temp_filter = filter(lambda x: filter_dict(x, sub_path), temp_loc)
- temp_loc = list(temp_filter)[0]
- temp_loc["sub"] = []
- for sub in subs:
- temp_loc["sub"].append({"name": sub, "ref": f"/{path}/{sub}"})
- return the_dict
-
-
-def generate_dict(paths: List):
- """Generates the dictionary that will be saved as YAML"""
- final_dict: Dict[str, Any] = {}
- added_paths = []
- for path, subs in paths:
- if not final_dict and path == "SDK":
- final_dict = {"name": "SDK", "ref": "/SDK", "sub": []}
- for sub in subs:
- final_dict["sub"].append({"name": sub, "ref": f"/{path}/{sub}"})
- added_paths.append("SDK")
- if path not in added_paths:
- final_dict = set_items(final_dict, path, subs)
- added_paths.append(path)
- return final_dict
-
-
-def folder_documentation(path: str):
- name = path.split("/")[-1]
- local_path = os.path.realpath(f"./website/content/{path}")
- full_path = local_path + "/_index.md"
- if not os.path.exists(full_path):
- with open(full_path, "w") as f:
- f.write(f"---\ntitle: {name}\n")
- f.write('keywords: ""\nexcerpt: ""\n')
- f.write("geekdocCollapseSection: true\n")
- f.write("---\n")
-
-
-if __name__ == "__main__":
- print(
- "Warning: files created in same session are not added to the yaml."
- " To remedy this run this script twice in a row"
- )
- base_folder_path = os.path.realpath("./website/content/SDK")
- if not os.path.exists(base_folder_path):
- os.mkdir(base_folder_path)
- target_path = os.path.realpath("./website/data/menu/main.yml")
- main_path = os.path.realpath("./website/content/SDK")
- folder_list = crawl_folders(main_path)
- for folder_path in [x[0] for x in folder_list]:
- folder_documentation(folder_path)
- funcs = all_functions()
- grouped_funcs = groupby(funcs, 0)
- # Create the documentation files
- for k, v in grouped_funcs.items():
- generate_documentation(base_folder_path, k, v)
- # Delete our old entry to main.yaml
- start_line = find_line(target_path, "# CODE BELOW THIS WILL BE DELETED FREQUENTLY")
- delete_lines(target_path, start_line)
- # Add our new entry to main.yaml
- folders_dict = generate_dict(folder_list)
- with open(target_path, "a") as fp:
- yaml.dump({"ignore": [folders_dict]}, fp)
- delete_line(target_path, start_line + 1)
diff --git a/docs/index.rst b/docs/index.rst
deleted file mode 100644
index e6ef3e4735d..00000000000
--- a/docs/index.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-.. OpenBB Terminal documentation master file, created by
- sphinx-quickstart on Thu Apr 29 21:54:05 2021.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-Welcome to OpenBB Terminal's documentation!
-==============================================
-
-.. toctree::
- :maxdepth: 3
- :caption: Contents:
-
- code/openbb_terminal
-
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
diff --git a/docs/make.bat b/docs/make.bat
deleted file mode 100644
index 922152e96a0..00000000000
--- a/docs/make.bat
+++ /dev/null
@@ -1,35 +0,0 @@
-@ECHO OFF
-
-pushd %~dp0
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
- set SPHINXBUILD=sphinx-build
-)
-set SOURCEDIR=.
-set BUILDDIR=_build
-
-if "%1" == "" goto help
-
-%SPHINXBUILD% >NUL 2>NUL
-if errorlevel 9009 (
- echo.
- echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
- echo.installed, then set the SPHINXBUILD environment variable to point
- echo.to the full path of the 'sphinx-build' executable. Alternatively you
- echo.may add the Sphinx directory to PATH.
- echo.
- echo.If you don't have Sphinx installed, grab it from
- echo.http://sphinx-doc.org/
- exit /b 1
-)
-
-%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
-goto end
-
-:help
-%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
-
-:end
-popd
diff --git a/openbb_terminal/alternative/covid/covid_model.py b/openbb_terminal/alternative/covid/covid_model.py
index 9ce3fd55bb3..23b9d70236d 100644
--- a/openbb_terminal/alternative/covid/covid_model.py
+++ b/openbb_terminal/alternative/covid/covid_model.py
@@ -153,11 +153,13 @@ def get_case_slopes(
Threshold for total number of cases
ascend: bool
Flag to sort in ascending order
+
Returns
-------
pd.DataFrame
Dataframe containing slopes
"""
+
# Ignore the pandas warning for setting a slace with a value
warnings.filterwarnings("ignore")
data = pd.read_csv(global_cases_time_series)
diff --git a/openbb_terminal/alternative/oss/runa_model.py b/openbb_terminal/alternative/oss/runa_model.py
index 94f9ddddc40..e5b9b2444f5 100644
--- a/openbb_terminal/alternative/oss/runa_model.py
+++ b/openbb_terminal/alternative/oss/runa_model.py
@@ -103,9 +103,6 @@ def _make_request(url: str) -> Union[BeautifulSoup, None]:
def get_startups() -> pd.DataFrame:
"""Get startups from ROSS index [Source: https://runacap.com/]
- Parameters
- ----------
-
Returns
-------
pandas.DataFrame:
diff --git a/openbb_terminal/common/technical_analysis/overlap_model.py b/openbb_terminal/common/technical_analysis/overlap_model.py
index b436e4e79eb..a23926018b8 100644
--- a/openbb_terminal/common/technical_analysis/overlap_model.py
+++ b/openbb_terminal/common/technical_analysis/overlap_model.py
@@ -43,17 +43,17 @@ def ema(data: pd.Series, length: int = 50, offset: int = 0) -> pd.DataFrame:
def sma(data: pd.Series, length: int = 50, offset: int = 0) -> pd.DataFrame:
"""Gets simple moving average (EMA) for stock
- Parameters
- ----------
- data: pd.Series
- Dataframe of dates and prices
- length: int
- Length of SMA window
- offset: int
- Length of offset
+ Parameters
+ ----------
+ data: pd.Series
+ Dataframe of dates and prices
+ length: int
+ Length of SMA window
+ offset: int
+ Length of offset
- Returns
- ----------
+ Returns
+ ----------
pd.DataFrame
Dataframe containing prices and SMA
"""
diff --git a/openbb_terminal/cryptocurrency/defi/coindix_model.py b/openbb_terminal/cryptocurrency/defi/coindix_model.py
index ff84bdd77f0..ea1d9a85faa 100644
--- a/openbb_terminal/cryptocurrency/defi/coindix_model.py
+++ b/openbb_terminal/cryptocurrency/defi/coindix_model.py
@@ -118,16 +118,16 @@ def get_defi_vaults(
----------
chain: str
Blockchain - one from list [
- 'ethereum', 'polygon', 'avalanche', 'bsc', 'terra', 'fantom',
- 'moonriver', 'celo', 'heco', 'okex', 'cronos', 'arbitrum', 'eth',
- 'harmony', 'fuse', 'defichain', 'solana', 'optimism'
+ 'ethereum', 'polygon', 'avalanche', 'bsc', 'terra', 'fantom',
+ 'moonriver', 'celo', 'heco', 'okex', 'cronos', 'arbitrum', 'eth',
+ 'harmony', 'fuse', 'defichain', 'solana', 'optimism'
]
protocol: str
DeFi protocol - one from list: [
- 'aave', 'acryptos', 'alpaca', 'anchor', 'autofarm', 'balancer', 'bancor',
- 'beefy', 'belt', 'compound', 'convex', 'cream', 'curve', 'defichain', 'geist',
- 'lido', 'liquity', 'mirror', 'pancakeswap', 'raydium', 'sushi', 'tarot', 'traderjoe',
- 'tulip', 'ubeswap', 'uniswap', 'venus', 'yearn'
+ 'aave', 'acryptos', 'alpaca', 'anchor', 'autofarm', 'balancer', 'bancor',
+ 'beefy', 'belt', 'compound', 'convex', 'cream', 'curve', 'defichain', 'geist',
+ 'lido', 'liquity', 'mirror', 'pancakeswap', 'raydium', 'sushi', 'tarot', 'traderjoe',
+ 'tulip', 'ubeswap', 'uniswap', 'venus', 'yearn'
]
kind: str
Kind/type of vault - one from list: ['lp','single','noimploss','stable']
diff --git a/openbb_terminal/cryptocurrency/defi/coindix_view.py b/openbb_terminal/cryptocurrency/defi/coindix_view.py
index 0373f94d469..744c1f97a2a 100644
--- a/openbb_terminal/cryptocurrency/defi/coindix_view.py
+++ b/openbb_terminal/cryptocurrency/defi/coindix_view.py
@@ -33,16 +33,16 @@ def display_defi_vaults(
----------
chain: str
Blockchain - one from list [
- 'ethereum', 'polygon', 'avalanche', 'bsc', 'terra', 'fantom',
- 'moonriver', 'celo', 'heco', 'okex', 'cronos', 'arbitrum', 'eth',
- 'harmony', 'fuse', 'defichain', 'solana', 'optimism'
+ 'ethereum', 'polygon', 'avalanche', 'bsc', 'terra', 'fantom',
+ 'moonriver', 'celo', 'heco', 'okex', 'cronos', 'arbitrum', 'eth',
+ 'harmony', 'fuse', 'defichain', 'solana', 'optimism'
]
protocol: str
DeFi protocol - one from list: [
- 'aave', 'acryptos', 'alpaca', 'anchor', 'autofarm', 'balancer', 'bancor',
- 'beefy', 'belt', 'compound', 'convex', 'cream', 'curve', 'defichain', 'geist',
- 'lido', 'liquity', 'mirror', 'pancakeswap', 'raydium', 'sushi', 'tarot', 'traderjoe',
- 'tulip', 'ubeswap', 'uniswap', 'venus', 'yearn'
+ 'aave', 'acryptos', 'alpaca', 'anchor', 'autofarm', 'balancer', 'bancor',
+ 'beefy', 'belt', 'compound', 'convex', 'cream', 'curve', 'defichain', 'geist',
+ 'lido', 'liquity', 'mirror', 'pancakeswap', 'raydium', 'sushi', 'tarot', 'traderjoe',
+ 'tulip', 'ubeswap', 'uniswap', 'venus', 'yearn'
]
kind: str
Kind/type of vault - one from list: ['lp','single','noimploss','stable']
diff --git a/openbb_terminal/cryptocurrency/defi/smartstake_view.py b/openbb_terminal/cryptocurrency/defi/smartstake_view.py
index fb814531eb9..95f75945683 100644
--- a/openbb_terminal/cryptocurrency/defi/smartstake_view.py
+++ b/openbb_terminal/cryptocurrency/defi/smartstake_view.py
@@ -49,9 +49,6 @@ def display_luna_circ_supply_change(
Default: 5
external_axes : Optional[List[plt.Axes]], optional
External axes (1 axis is expected in the list), by default None
- Returns
- None
- -------
"""
df = smartstake_model.get_luna_supply_stats(supply_type, days)
diff --git a/openbb_terminal/cryptocurrency/due_diligence/binance_model.py b/openbb_terminal/cryptocurrency/due_diligence/binance_model.py
index 98e2884cf3c..b2177b0d077 100644
--- a/openbb_terminal/cryptocurrency/due_diligence/binance_model.py
+++ b/openbb_terminal/cryptocurrency/due_diligence/binance_model.py
@@ -28,23 +28,23 @@ def _get_trading_pairs() -> List[dict]:
List[dict]
list of dictionaries in format:
[
- {'symbol': 'ETHBTC', 'status': 'TRADING', 'baseAsset': 'ETH', 'baseAssetPrecision': 8,
- 'quoteAsset': 'BTC', 'quotePrecision': 8, 'quoteAssetPrecision': 8,
- 'baseCommissionPrecision': 8, 'quoteCommissionPrecision': 8,
- 'orderTypes': ['LIMIT', 'LIMIT_MAKER', 'MARKET', 'STOP_LOSS_LIMIT', 'TAKE_PROFIT_LIMIT'],
- 'icebergAllowed': True,
- 'ocoAllowed': True,
- 'quoteOrderQtyMarketAllowed': True,
- 'isSpotTradingAllowed': True,
- 'isMarginTradingAllowed': True,
- 'filters': [{'filterType': 'PRICE_FILTER', 'minPrice': '0.00000100',
- 'maxPrice': '922327.00000000', 'tickSize': '0.00000100'},
- {'filterType': 'PERCENT_PRICE', 'multiplierUp': '5', 'multiplierDown': '0.2', 'avgPriceMins': 5},
- {'filterType': 'LOT_SIZE', 'minQty': '0.00100000', 'maxQty': '100000.00000000', 'stepSize': '0.00100000'},
- {'filterType': 'MIN_NOTIONAL', 'minNotional': '0.00010000', 'applyToMarket': True, 'avgPriceMins': 5},
- {'filterType': 'ICEBERG_PARTS', 'limit': 10}, {'filterType': 'MARKET_LOT_SIZE', 'minQty': '0.00000000',
- 'maxQty': '930.49505347', 'stepSize': '0.00000000'}, {'filterType': 'MAX_NUM_ORDERS', 'maxNumOrders': 200},
- {'filterType': 'MAX_NUM_ALGO_ORDERS', 'maxNumAlgoOrders': 5}], 'permissions': ['SPOT', 'MARGIN']},
+ {'symbol': 'ETHBTC', 'status': 'TRADING', 'baseAsset': 'ETH', 'baseAssetPrecision': 8,
+ 'quoteAsset': 'BTC', 'quotePrecision': 8, 'quoteAssetPrecision': 8,
+ 'baseCommissionPrecision': 8, 'quoteCommissionPrecision': 8,
+ 'orderTypes': ['LIMIT', 'LIMIT_MAKER', 'MARKET', 'STOP_LOSS_LIMIT', 'TAKE_PROFIT_LIMIT'],
+ 'icebergAllowed': True,
+ 'ocoAllowed': True,
+ 'quoteOrderQtyMarketAllowed': True,
+ 'isSpotTradingAllowed': True,
+ 'isMarginTradingAllowed': True,
+ 'filters': [{'filterType': 'PRICE_FILTER', 'minPrice': '0.00000100',
+ 'maxPrice': '922327.00000000', 'tickSize': '0.00000100'},
+ {'filterType': 'PERCENT_PRICE', 'multiplierUp': '5', 'multiplierDown': '0.2', 'avgPriceMins': 5},
+ {'filterType': 'LOT_SIZE', 'minQty': '0.00100000', 'maxQty': '100000.00000000', 'stepSize': '0.00100000'},
+ {'filterType': 'MIN_NOTIONAL', 'minNotional': '0.00010000', 'applyToMarket': True, 'avgPriceMins': 5},
+ {'filterType': 'ICEBERG_PARTS', 'limit': 10}, {'filterType': 'MARKET_LOT_SIZE', 'minQty': '0.00000000',
+ 'maxQty': '930.49505347', 'stepSize': '0.00000000'}, {'filterType': 'MAX_NUM_ORDERS', 'maxNumOrders': 200},
+ {'filterType': 'MAX_NUM_ALGO_ORDERS', 'maxNumAlgoOrders': 5}], 'permissions': ['SPOT', 'MARGIN']},
...
]
"""
diff --git a/openbb_terminal/cryptocurrency/due_diligence/pycoingecko_model.py b/openbb_terminal/cryptocurrency/due_diligence/pycoingecko_model.py
index ae47021968e..f1c4b3c102d 100644
--- a/openbb_terminal/cryptocurrency/due_diligence/pycoingecko_model.py
+++ b/openbb_terminal/cryptocurrency/due_diligence/pycoingecko_model.py
@@ -231,6 +231,7 @@ def get_coin_market_chart(
days: int
number of days to display the data
kwargs
+ unspecified keyword arguments
Returns
-------
diff --git a/openbb_terminal/cryptocurrency/overview/pycoingecko_model.py b/openbb_terminal/cryptocurrency/overview/pycoingecko_model.py
index 43612cbbdbc..26ef08e71e4 100644
--- a/openbb_terminal/cryptocurrency/overview/pycoingecko_model.py
+++ b/openbb_terminal/cryptocurrency/overview/pycoingecko_model.py
@@ -260,7 +260,7 @@ def get_exchanges(sortby: str = "Rank", ascend: bool = True) -> pd.DataFrame:
def get_financial_platforms(sortby: str = "Name", ascend: bool = True) -> pd.DataFrame:
"""Get list of financial platforms from CoinGecko API [Source: CoinGecko]
- Parameter
+ Parameters
----------
sortby: str
Key by which to sort data
diff --git a/openbb_terminal/etf/discovery/wsj_model.py b/openbb_terminal/etf/discovery/wsj_model.py
index 00ccc6674c0..fe2c30622c3 100644
--- a/openbb_terminal/etf/discovery/wsj_model.py
+++ b/openbb_terminal/etf/discovery/wsj_model.py
@@ -18,7 +18,7 @@ def etf_movers(sort_type: str = "gainers", export: bool = False) -> pd.DataFrame
Parameters
----------
sort_type: str
- Data to get. Can be "gainers", "decliners" or "active"
+ Data to get. Can be "gainers", "decliners" or "active"
Returns
-------
diff --git a/openbb_terminal/etf/discovery/wsj_view.py b/openbb_terminal/etf/discovery/wsj_view.py
index 3734a784381..1e00b815c81 100644
--- a/openbb_terminal/etf/discovery/wsj_view.py
+++ b/openbb_terminal/etf/discovery/wsj_view.py
@@ -15,15 +15,16 @@ logger = logging.getLogger(__name__)
@log_start_end(log=logger)
def show_top_mover(sort_type: str = "gainers", limit: int = 10, export=""):
"""
- Show top ETF movers from wsj.com
- Parameters
- ----------
- sort_type: str
- What to show. Either Gainers, Decliners or Activity
+ Show top ETF movers from wsj.com
+
+ Parameters
+ ----------
+ sort_type: str
+ What to show. Either Gainers, Decliners or Activity
limit: int
- Number of etfs to show
- export: str
- Format to export data
+ Number of etfs to show
+ export: str
+ Format to export data
"""
data = wsj_model.etf_movers(sort_type)
if data.empty:
diff --git a/openbb_terminal/forecast/autoets_model.py b/openbb_terminal/forecast/autoets_model.py
index 2e36abf93cb..54a8341b37f 100644
--- a/openbb_terminal/forecast/autoets_model.py
+++ b/openbb_terminal/forecast/autoets_model.py
@@ -3,10 +3,9 @@
__docformat__ = "numpy"
import logging
-from typing import Any, Union, Optional, List, Tuple
+from typing import Any, Union, Tuple
import warnings
-import numpy as np
import pandas as pd
from statsforecast.models import ETS
from statsforecast.core import StatsForecast
@@ -31,7 +30,7 @@ def get_autoets_data(
n_predict: int = 5,
start_window: float = 0.85,
forecast_horizon: int = 5,
-) -> Tuple[list[np.ndarray], List[np.ndarray], List[np.ndarray], Optional[float], Any]:
+) -> Tuple[Any, Any, Any, Any, Any]:
"""Performs Automatic ETS forecasting
This is a wrapper around StatsForecast ETS;
diff --git a/openbb_terminal/forecast/brnn_model.py b/openbb_terminal/forecast/brnn_model.py
index e732b74bd00..7e10ae59a71 100644
--- a/openbb_terminal/forecast/brnn_model.py
+++ b/openbb_terminal/forecast/brnn_model.py
@@ -40,54 +40,56 @@ def get_brnn_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Performs Block RNN forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- model_type (str, optional):
- Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
- n_rnn_layers (int, optional):
- Number of layers in the RNN module. Defaults to 1.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.0.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
- discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ model_type: str
+ Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
+ n_rnn_layers: int
+ Number of layers in the RNN module. Defaults to 1.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.0.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
+ discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
- Returns:
- list[TimeSeries]
- Adjusted Data series
- list[TimeSeries]
- Historical forecast by best RNN model
- list[TimeSeries]
- list of Predictions
- Optional[float]
- Mean average precision error
- Any
- Best BRNN Model
+ Returns
+ -------
+ list[TimeSeries]
+ Adjusted Data series
+ list[TimeSeries]
+ Historical forecast by best RNN model
+ list[TimeSeries]
+ list of Predictions
+ Optional[float]
+ Mean average precision error
+ Any
+ Best BRNN Model
"""
# TODO Check if torch GPU AVAILABLE
diff --git a/openbb_terminal/forecast/brnn_view.py b/openbb_terminal/forecast/brnn_view.py
index 40e2ecefb6b..e80e013e4db 100644
--- a/openbb_terminal/forecast/brnn_view.py
+++ b/openbb_terminal/forecast/brnn_view.py
@@ -49,59 +49,59 @@ def display_brnn_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- model_type (str, optional):
- Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
- n_rnn_layers (int, optional):
- Number of layers in the RNN module. Defaults to 1.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.0.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 101.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ model_type: str
+ Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
+ n_rnn_layers: int
+ Number of layers in the RNN module. Defaults to 1.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.0.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 101.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
data, start_date, end_date, target_column, past_covariates
diff --git a/openbb_terminal/forecast/forecast_model.py b/openbb_terminal/forecast/forecast_model.py
index c5bd5edd433..257c3b8155d 100644
--- a/openbb_terminal/forecast/forecast_model.py
+++ b/openbb_terminal/forecast/forecast_model.py
@@ -463,7 +463,7 @@ def rename_column(data: pd.DataFrame, old_column: str, new_column: str) -> pd.Da
The name to update to
Returns
- ----------
+ -------
new_df: pd.DataFrame
The dataframe with the renamed column
"""
@@ -486,7 +486,7 @@ def describe_df(data: pd.DataFrame) -> pd.DataFrame:
The df to produce statistics for
Returns
- ----------
+ -------
df: pd.DataFrame
The df with the new data
"""
@@ -503,7 +503,7 @@ def corr_df(data: pd.DataFrame) -> pd.DataFrame:
The df to produce statistics for
Returns
- ----------
+ -------
df: pd.DataFrame
The df with the new data
"""
diff --git a/openbb_terminal/forecast/linregr_model.py b/openbb_terminal/forecast/linregr_model.py
index ae5053d768f..8a5081bdf9a 100644
--- a/openbb_terminal/forecast/linregr_model.py
+++ b/openbb_terminal/forecast/linregr_model.py
@@ -32,37 +32,39 @@ def get_linear_regression_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], float, Any]:
"""Perform Linear Regression Forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 1.
- lags (int, list)
- lagged target values to predict the next time step
- random_state (int, optional):
- The state for the model
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 1.
+ lags: Union[int, List[int]]
+ lagged target values to predict the next time step
+ random_state: Optional[int]
+ The state for the model
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- float
- Mean average precision error
- Any
- Best Linear Regression Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ float
+ Mean average precision error
+ Any
+ Best Linear Regression Model
"""
use_scalers = False
probabilistic = True
diff --git a/openbb_terminal/forecast/linregr_view.py b/openbb_terminal/forecast/linregr_view.py
index 8ce32e4707e..0d86881ea0f 100644
--- a/openbb_terminal/forecast/linregr_view.py
+++ b/openbb_terminal/forecast/linregr_view.py
@@ -39,40 +39,41 @@ def display_linear_regression(
):
"""Display Linear Regression Forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_col (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 1.
- lags (int, list)
- lagged target values to predict the next time step
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the
- same as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_col: str
+ Target column to forecast. Defaults to "close".
+ train_split (float, optional):
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 1.
+ lags: Union[int, List[int]]
+ lagged target values to predict the next time step
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the
+ same as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
data, start_date, end_date, target_column, past_covariates
diff --git a/openbb_terminal/forecast/nbeats_model.py b/openbb_terminal/forecast/nbeats_model.py
index 8cede203f53..ee5f7795f31 100644
--- a/openbb_terminal/forecast/nbeats_model.py
+++ b/openbb_terminal/forecast/nbeats_model.py
@@ -40,59 +40,61 @@ def get_NBEATS_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Perform NBEATS Forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- num_stacks (int, optional):
- The number of stacks that make up the whole model. Defaults to 10.
- num_blocks (int, optional):
- The number of blocks making up every stack. Defaults to 3.
- num_layers (int, optional):
- The number of fully connected layers preceding the final forking layers in each block
- of every stack. Defaults to 4.
- layer_widths (int, optional):
- Determines the number of neurons that make up each fully connected layer in each block
- of every stack. Defaults to 512.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ num_stacks: int
+ The number of stacks that make up the whole model. Defaults to 10.
+ num_blocks: int
+ The number of blocks making up every stack. Defaults to 3.
+ num_layers: int
+ The number of fully connected layers preceding the final forking layers in each block
+ of every stack. Defaults to 4.
+ layer_widths: int
+ Determines the number of neurons that make up each fully connected layer in each block
+ of every stack. Defaults to 512.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- Optional[float]
- Mean average precision error
- Any
- Best NBEATS Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ Optional[float]
+ Mean average precision error
+ Any
+ Best NBEATS Model
"""
use_scalers = True
diff --git a/openbb_terminal/forecast/nbeats_view.py b/openbb_terminal/forecast/nbeats_view.py
index 40795d72311..4bd0d47d83d 100644
--- a/openbb_terminal/forecast/nbeats_view.py
+++ b/openbb_terminal/forecast/nbeats_view.py
@@ -50,64 +50,64 @@ def display_nbeats_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- num_stacks (int, optional):
- The number of stacks that make up the whole model. Defaults to 10.
- num_blocks (int, optional):
- The number of blocks making up every stack. Defaults to 3.
- num_layers (int, optional):
- The number of fully connected layers preceding the final forking layers in each block
- of every stack. Defaults to 4.
- layer_widths (int, optional):
- Determines the number of neurons that make up each fully connected layer in each block
- of every stack. Defaults to 512.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults
- to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset (all
- checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ num_stacks: int
+ The number of stacks that make up the whole model. Defaults to 10.
+ num_blocks: int
+ The number of blocks making up every stack. Defaults to 3.
+ num_layers: int
+ The number of fully connected layers preceding the final forking layers in each block
+ of every stack. Defaults to 4.
+ layer_widths: int
+ Determines the number of neurons that make up each fully connected layer in each block
+ of every stack. Defaults to 512.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults
+ to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset (all
+ checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
diff --git a/openbb_terminal/forecast/nhits_model.py b/openbb_terminal/forecast/nhits_model.py
index 2a841f1bd72..1ae0c38689a 100644
--- a/openbb_terminal/forecast/nhits_model.py
+++ b/openbb_terminal/forecast/nhits_model.py
@@ -46,74 +46,76 @@ def get_nhits_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Performs Nhits forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- num_stacks int:
- The number of stacks that make up the whole model.
- num_blocks int:
- The number of blocks making up every stack.
- num_layers int:
- The number of fully connected layers preceding the final forking layers in each block
- of every stack.
- layer_widths int:
- Determines the number of neurons that make up each fully connected layer in each
- block of every stack. If a list is passed, it must have a length equal to num_stacks
- and every entry in that list corresponds to the layer width of the corresponding stack.
- If an integer is passed, every stack will have blocks with FC layers of the same width.
- pooling_kernel_size Optional[Tuple[Tuple[int]]]:
- If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
- specifying the kernel size for each block in each stack used for the input pooling
- layer. If left to None, some default values will be used based on input_chunk_length.
- n_freq_downsample: Optional[Tuple[Tuple[int]]]:
- If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
- specifying the downsampling factors before interpolation, for each block in each stack.
- If left to None, some default values will be used based on output_chunk_length.
- dropout float:
- The dropout probability to be used in fully connected layers.
- activation str:
- Supported activations: [‘ReLU’,’RReLU’, ‘PReLU’, ‘Softplus’, ‘Tanh’, ‘SELU’, ‘LeakyReLU’, ‘Sigmoid’]
- max_pool_1d bool:
- Use max_pool_1d pooling. False uses AvgPool1d.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
- discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ num_stacks: int
+ The number of stacks that make up the whole model.
+ num_blocks: int
+ The number of blocks making up every stack.
+ num_layers: int
+ The number of fully connected layers preceding the final forking layers in each block
+ of every stack.
+ layer_widths: int
+ Determines the number of neurons that make up each fully connected layer in each
+ block of every stack. If a list is passed, it must have a length equal to num_stacks
+ and every entry in that list corresponds to the layer width of the corresponding stack.
+ If an integer is passed, every stack will have blocks with FC layers of the same width.
+ pooling_kernel_size: Optional[Tuple[Tuple[int]]]:
+ If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
+ specifying the kernel size for each block in each stack used for the input pooling
+ layer. If left to None, some default values will be used based on input_chunk_length.
+ n_freq_downsample: Optional[Tuple[Tuple[int]]]
+ If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
+ specifying the downsampling factors before interpolation, for each block in each stack.
+ If left to None, some default values will be used based on output_chunk_length.
+ dropout: float
+ The dropout probability to be used in fully connected layers.
+ activation: str
+ Supported activations: [‘ReLU’,’RReLU’, ‘PReLU’, ‘Softplus’, ‘Tanh’, ‘SELU’, ‘LeakyReLU’, ‘Sigmoid’]
+ max_pool_1d: bool
+ Use max_pool_1d pooling. False uses AvgPool1d.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
+ discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
- Returns:
- list[TimeSeries]
- Adjusted Data series
- list[TimeSeries]
- Historical forecast by best RNN model
- list[TimeSeries]
- list of Predictions
- Optional[float]
- Mean average precision error
- Any
- Best BRNN Model
+ Returns
+ -------
+ list[TimeSeries]
+ Adjusted Data series
+ list[TimeSeries]
+ Historical forecast by best RNN model
+ list[TimeSeries]
+ list of Predictions
+ Optional[float]
+ Mean average precision error
+ Any
+ Best BRNN Model
"""
# TODO Check if torch GPU AVAILABLE
diff --git a/openbb_terminal/forecast/nhits_view.py b/openbb_terminal/forecast/nhits_view.py
index 530ef251854..d0c82250e6f 100644
--- a/openbb_terminal/forecast/nhits_view.py
+++ b/openbb_terminal/forecast/nhits_view.py
@@ -55,79 +55,79 @@ def display_nhits_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- num_stacks int:
- The number of stacks that make up the whole model.
- num_blocks int:
- The number of blocks making up every stack.
- num_layers int:
- The number of fully connected layers preceding the final forking layers in each block
- of every stack.
- layer_widths int:
- Determines the number of neurons that make up each fully connected layer in each
- block of every stack. If a list is passed, it must have a length equal to num_stacks
- and every entry in that list corresponds to the layer width of the corresponding stack.
- If an integer is passed, every stack will have blocks with FC layers of the same width.
- pooling_kernel_size Optional[Tuple[Tuple[int]]]:
- If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
- specifying the kernel size for each block in each stack used for the input pooling
- layer. If left to None, some default values will be used based on input_chunk_length.
- n_freq_downsample: Optional[Tuple[Tuple[int]]]:
- If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
- specifying the downsampling factors before interpolation, for each block in each stack.
- If left to None, some default values will be used based on output_chunk_length.
- dropout float:
- The dropout probability to be used in fully connected layers.
- activation str:
- Supported activations: [[‘ReLU’,’RReLU’, ‘PReLU’, ‘Softplus’, ‘Tanh’, ‘SELU’, ‘LeakyReLU’, ‘Sigmoid’]
- max_pool_1d bool:
- Use max_pool_1d pooling. False uses AvgPool1d.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ num_stacks: int
+ The number of stacks that make up the whole model.
+ num_blocks: int
+ The number of blocks making up every stack.
+ num_layers: int
+ The number of fully connected layers preceding the final forking layers in each block
+ of every stack.
+ layer_widths: int
+ Determines the number of neurons that make up each fully connected layer in each
+ block of every stack. If a list is passed, it must have a length equal to num_stacks
+ and every entry in that list corresponds to the layer width of the corresponding stack.
+ If an integer is passed, every stack will have blocks with FC layers of the same width.
+ pooling_kernel_size: Optional[Tuple[Tuple[int]]]
+ If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
+ specifying the kernel size for each block in each stack used for the input pooling
+ layer. If left to None, some default values will be used based on input_chunk_length.
+ n_freq_downsample: Optional[Tuple[Tuple[int]]]
+ If set, this parameter must be a tuple of tuples, of size (num_stacks x num_blocks),
+ specifying the downsampling factors before interpolation, for each block in each stack.
+ If left to None, some default values will be used based on output_chunk_length.
+ dropout: float
+ The dropout probability to be used in fully connected layers.
+ activation: str
+ Supported activations: [[‘ReLU’,’RReLU’, ‘PReLU’, ‘Softplus’, ‘Tanh’, ‘SELU’, ‘LeakyReLU’, ‘Sigmoid’]
+ max_pool_1d: bool
+ Use max_pool_1d pooling. False uses AvgPool1d.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
data, start_date, end_date, target_column, past_covariates
diff --git a/openbb_terminal/forecast/regr_model.py b/openbb_terminal/forecast/regr_model.py
index 9a431b5ca7f..2738e138481 100644
--- a/openbb_terminal/forecast/regr_model.py
+++ b/openbb_terminal/forecast/regr_model.py
@@ -31,35 +31,37 @@ def get_regression_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], float, Any]:
"""Perform Regression Forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 1.
- lags (int, list)
- lagged target values to predict the next time step
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 1.
+ lags: Union[int, List[int]]
+ lagged target values to predict the next time step
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- float
- Mean average precision error
- Any
- Best Regression Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ float
+ Mean average precision error
+ Any
+ Best Regression Model
"""
use_scalers = False
diff --git a/openbb_terminal/forecast/regr_view.py b/openbb_terminal/forecast/regr_view.py
index d0a13cc6999..dc02ba7ce5c 100644
--- a/openbb_terminal/forecast/regr_view.py
+++ b/openbb_terminal/forecast/regr_view.py
@@ -39,40 +39,41 @@ def display_regression(
):
"""Display Regression Forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 1.
- lags (int, list)
- lagged target values to predict the next time step
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 1.
+ lags: Union[int, List[int]]
+ lagged target values to predict the next time step
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
data, start_date, end_date, target_column, past_covariates
diff --git a/openbb_terminal/forecast/rnn_model.py b/openbb_terminal/forecast/rnn_model.py
index a78281ddf2c..33c9e23d640 100644
--- a/openbb_terminal/forecast/rnn_model.py
+++ b/openbb_terminal/forecast/rnn_model.py
@@ -38,49 +38,51 @@ def get_rnn_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Perform RNN forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- model_type (str, optional):
- Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
- hidden_dim (int, optional):
- Size for feature maps for each hidden RNN layer.. Defaults to 20.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.0.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ model_type: str
+ Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
+ hidden_dim: int
+ Size for feature maps for each hidden RNN layer.. Defaults to 20.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.0.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- float
- Mean average precision error
- Any
- Best RNN Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ float
+ Mean average precision error
+ Any
+ Best RNN Model
"""
# TODO Check if torch GPU AVAILABLE
diff --git a/openbb_terminal/forecast/rnn_view.py b/openbb_terminal/forecast/rnn_view.py
index 763a6f190aa..e96df2a1d48 100644
--- a/openbb_terminal/forecast/rnn_view.py
+++ b/openbb_terminal/forecast/rnn_view.py
@@ -48,52 +48,52 @@ def display_rnn_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- model_type (str, optional):
- Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
- hidden_dim (int, optional):
- Size for feature maps for each hidden RNN layer.. Defaults to 20.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.0.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ model_type: str
+ Either a string specifying the RNN module type ("RNN", "LSTM" or "GRU"). Defaults to "LSTM".
+ hidden_dim: int
+ Size for feature maps for each hidden RNN layer.. Defaults to 20.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.0.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(data, start_date, end_date, target_column, None)
diff --git a/openbb_terminal/forecast/tcn_model.py b/openbb_terminal/forecast/tcn_model.py
index 65bba9b8093..b192833a3d5 100644
--- a/openbb_terminal/forecast/tcn_model.py
+++ b/openbb_terminal/forecast/tcn_model.py
@@ -39,57 +39,59 @@ def get_tcn_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Perform TCN forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.1.
- num_filters (int, optional):
- The number of filters in a convolutional layer of the TCN. Defaults to 6.
- weight_norm (bool, optional):
- Boolean value indicating whether to use weight normalization. Defaults to True.
- dilation_base (int, optional):
- The base of the exponent that will determine the dilation on every level. Defaults to 2.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.1.
+ num_filters: int
+ The number of filters in a convolutional layer of the TCN. Defaults to 6.
+ weight_norm: bool
+ Boolean value indicating whether to use weight normalization. Defaults to True.
+ dilation_base: int
+ The base of the exponent that will determine the dilation on every level. Defaults to 2.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- Optional[float]
- Mean average precision error
- Any
- Best TCN Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ Optional[float]
+ Mean average precision error
+ Any
+ Best TCN Model
"""
# TODO Check if torch GPU AVAILABLE
diff --git a/openbb_terminal/forecast/tcn_view.py b/openbb_terminal/forecast/tcn_view.py
index f427645c6f1..8b93028df33 100644
--- a/openbb_terminal/forecast/tcn_view.py
+++ b/openbb_terminal/forecast/tcn_view.py
@@ -50,60 +50,60 @@ def display_tcn_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.1.
- num_filters (int, optional):
- The number of filters in a convolutional layer of the TCN. Defaults to 6.
- weight_norm (bool, optional):
- Boolean value indicating whether to use weight normalization. Defaults to True.
- dilation_base (int, optional):
- The base of the exponent that will determine the dilation on every level. Defaults to 2.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.1.
+ num_filters: int
+ The number of filters in a convolutional layer of the TCN. Defaults to 6.
+ weight_norm: bool
+ Boolean value indicating whether to use weight normalization. Defaults to True.
+ dilation_base: int
+ The base of the exponent that will determine the dilation on every level. Defaults to 2.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
diff --git a/openbb_terminal/forecast/trans_model.py b/openbb_terminal/forecast/trans_model.py
index 97c4e6fc189..2af3f8e2271 100644
--- a/openbb_terminal/forecast/trans_model.py
+++ b/openbb_terminal/forecast/trans_model.py
@@ -42,62 +42,64 @@ def get_trans_data(
) -> Tuple[List[TimeSeries], List[TimeSeries], List[TimeSeries], Optional[float], Any]:
"""Performs Transformer forecasting
- Args:
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- d_model (int):
- The number of expected features in the encoder/decoder inputs. Defaults to 64.
- nhead (int):
- The number of heads in the multi-head attention mechanism. Defaults to 4.
- num_encoder_layers (int):
- The number of encoder layers in the encoder. Defaults to 3.
- num_decoder_layers (int):
- The number of decoder layers in the encoder. Defaults to 3.
- dim_feedforward (int):
- The dimension of the feedforward network model. Defaults to 512.
- activation (str):
- The activation function of encoder/decoder intermediate layer, ‘relu’ or ‘gelu’. Defaults to 'relu'.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.0.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- learning_rate (float, optional):
- Defaults to 1e-3.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
- discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
+ Parameters
+ ----------
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ d_model: int
+ The number of expected features in the encoder/decoder inputs. Defaults to 64.
+ nhead: int
+ The number of heads in the multi-head attention mechanism. Defaults to 4.
+ num_encoder_layers: int
+ The number of encoder layers in the encoder. Defaults to 3.
+ num_decoder_layers: int
+ The number of decoder layers in the encoder. Defaults to 3.
+ dim_feedforward: int
+ The dimension of the feedforward network model. Defaults to 512.
+ activation: str
+ The activation function of encoder/decoder intermediate layer, ‘relu’ or ‘gelu’. Defaults to 'relu'.
+ dropout: float
+ Fraction of neurons afected by Dropout. Defaults to 0.0.
+ batch_size: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ learning_rate: float
+ Defaults to 1e-3.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset (all checkpoints will be
+ discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training. Defaults to True.
- Returns:
- List[TimeSeries]
- Adjusted Data series
- List[TimeSeries]
- Historical forecast by best RNN model
- List[TimeSeries]
- list of Predictions
- Optional[float]
- Mean average precision error
- Any
- Best transformer Model
+ Returns
+ -------
+ List[TimeSeries]
+ Adjusted Data series
+ List[TimeSeries]
+ Historical forecast by best RNN model
+ List[TimeSeries]
+ list of Predictions
+ Optional[float]
+ Mean average precision error
+ Any
+ Best transformer Model
"""
# TODO Check if torch GPU AVAILABLE
diff --git a/openbb_terminal/forecast/trans_view.py b/openbb_terminal/forecast/trans_view.py
index 3deee19072d..f59c615f8c7 100644
--- a/openbb_terminal/forecast/trans_view.py
+++ b/openbb_terminal/forecast/trans_view.py
@@ -53,65 +53,65 @@ def display_trans_forecast(
Parameters
----------
- data (Union[pd.Series, pd.DataFrame]):
- Input Data
- dataset_name str
- The name of the ticker to be predicted
- n_predict (int, optional):
- Days to predict. Defaults to 5.
- target_column (str, optional):
- Target column to forecast. Defaults to "close".
- train_split (float, optional):
- Train/val split. Defaults to 0.85.
- past_covariates (str, optional):
- Multiple secondary columns to factor in when forecasting. Defaults to None.
- forecast_horizon (int, optional):
- Forecast horizon when performing historical forecasting. Defaults to 5.
- input_chunk_length (int, optional):
- Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
- output_chunk_length (int, optional):
- The length of the forecast of the model. Defaults to 5.
- d_model (int):
- The number of expected features in the encoder/decoder inputs. Defaults to 64.
- nhead (int):
- The number of heads in the multi-head attention mechanism. Defaults to 4.
- num_encoder_layers (int):
- The number of encoder layers in the encoder. Defaults to 3.
- num_decoder_layers (int):
- The number of decoder layers in the encoder. Defaults to 3.
- dim_feedforward (int):
- The dimension of the feedforward network model. Defaults to 512.
- activation (str):
- The activation function of encoder/decoder intermediate layer, ‘relu’ or ‘gelu’. Defaults to 'relu'.
- dropout (float, optional):
- Fraction of neurons afected by Dropout. Defaults to 0.1.
- batch_size (int, optional):
- Number of time series (input and output sequences) used in each training pass. Defaults to 32.
- n_epochs (int, optional):
- Number of epochs over which to train the model. Defaults to 100.
- model_save_name (str, optional):
- Name for model. Defaults to "brnn_model".
- force_reset (bool, optional):
- If set to True, any previously-existing model with the same name will be reset
- (all checkpoints will be discarded). Defaults to True.
- save_checkpoints (bool, optional):
- Whether or not to automatically save the untrained model and checkpoints from training.
- Defaults to True.
- export: str
- Format to export data
- residuals: bool
- Whether to show residuals for the model. Defaults to False.
- forecast_only: bool
- Whether to only show dates in the forecasting range. Defaults to False.
- start_date: Optional[datetime]
- The starting date to perform analysis, data before this is trimmed. Defaults to None.
- end_date: Optional[datetime]
- The ending date to perform analysis, data after this is trimmed. Defaults to None.
- naive: bool
- Whether to show the naive baseline. This just assumes the closing price will be the same
- as the previous day's closing price. Defaults to False.
- external_axes:Optional[List[plt.axes]]
- External axes to plot on
+ data: Union[pd.Series, pd.DataFrame]
+ Input Data
+ dataset_name: str
+ The name of the ticker to be predicted
+ n_predict: int
+ Days to predict. Defaults to 5.
+ target_column: str
+ Target column to forecast. Defaults to "close".
+ train_split: float
+ Train/val split. Defaults to 0.85.
+ past_covariates: str
+ Multiple secondary columns to factor in when forecasting. Defaults to None.
+ forecast_horizon: int
+ Forecast horizon when performing historical forecasting. Defaults to 5.
+ input_chunk_length: int
+ Number of past time steps that are fed to the forecasting module at prediction time. Defaults to 14.
+ output_chunk_length: int
+ The length of the forecast of the model. Defaults to 5.
+ d_model: int
+ The number of expected features in the encoder/decoder inputs. Defaults to 64.
+ nhead: int
+ The number of heads in the multi-head attention mechanism. Defaults to 4.
+ num_encoder_layers: int
+ The number of encoder layers in the encoder. Defaults to 3.
+ num_decoder_layers: int
+ The number of decoder layers in the encoder. Defaults to 3.
+ dim_feedforward: int
+ The dimension of the feedforward network model. Defaults to 512.
+ activation: str
+ The activation function of encoder/decoder intermediate layer, ‘relu’ or ‘gelu’. Defaults to 'relu'.
+ dropout: float
+ Fraction of neurons affected by Dropout. Defaults to 0.1.
+ batch_size_: int
+ Number of time series (input and output sequences) used in each training pass. Defaults to 32.
+ n_epochs: int
+ Number of epochs over which to train the model. Defaults to 100.
+ model_save_name: str
+ Name for model. Defaults to "brnn_model".
+ force_reset: bool
+ If set to True, any previously-existing model with the same name will be reset
+ (all checkpoints will be discarded). Defaults to True.
+ save_checkpoints: bool
+ Whether or not to automatically save the untrained model and checkpoints from training.
+ Defaults to True.
+ export: str
+ Format to export data
+ residuals: bool
+ Whether to show residuals for the model. Defaults to False.
+ forecast_only: bool
+ Whether to only show dates in the forecasting range. Defaults to False.
+ start_date: Optional[datetime]
+ The starting date to perform analysis, data before this is trimmed. Defaults to None.
+ end_date: Optional[datetime]
+ The ending date to perform analysis, data after this is trimmed. Defaults to None.
+ naive: bool
+ Whether to show the naive baseline. This just assumes the closing price will be the same
+ as the previous day's closing price. Defaults to False.
+ external_axes: Optional[List[plt.axes]]
+ External axes to plot on
"""
data = helpers.clean_data(
diff --git a/openbb_terminal/keys_model.py b/openbb_terminal/keys_model.py
index 204f1d2d929..abe40ceb7ad 100644
--- a/openbb_terminal/keys_model.py
+++ b/openbb_terminal/keys_model.py
@@ -122,20 +122,19 @@ def set_keys(
Parameters
----------
- keys_dict: Dict[str, Dict[str, Union[str, bool]]]
- E.g. {"fred": {"key":"XXXXX"}, "binance": {"key":"YYYYY", "secret":"ZZZZZ"}}
- More info on APIs can be found through get_keys_info().
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ keys_dict: Dict[str, Dict[str, Union[str, bool]]]
+ E.g. {"fred": {"key":"XXXXX"}, "binance": {"key":"YYYYY", "secret":"ZZZZZ"}}
+ More info on APIs can be found through get_keys_info().
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
Returns
-------
status_dict: Dict
-
"""
status_dict = {}
@@ -172,7 +171,6 @@ def get_keys_info() -> Dict[str, List[str]]:
Returns
-------
Dictionary of expected API keys and arguments: Dict[str, List[str]]
-
"""
args_dict = {}
@@ -206,16 +204,17 @@ def first_time_user() -> bool:
def set_key(env_var_name: str, env_var_value: str, persist: bool = False) -> None:
"""Set API key.
+
Parameters
----------
- env_var_name: str
- API name
- env_var_value: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
+ env_var_name: str
+ API name
+ env_var_value: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
"""
if persist:
os.environ[env_var_name] = env_var_value
@@ -231,13 +230,17 @@ def set_key(env_var_name: str, env_var_value: str, persist: bool = False) -> Non
def get_keys(show: bool = False) -> pd.DataFrame:
"""Get currently set API keys.
+
Parameters
----------
- show: bool
- Flag to choose whether to show actual keys or not.
- By default, False.
- Returns:
- pd.DataFrame: currents keys
+ show: bool
+ Flag to choose whether to show actual keys or not.
+ By default, False.
+
+ Returns
+ -------
+ pd.DataFrame
+ Currents keys
"""
# TODO: Refactor api variables without prefix API_ and extend API_SOURCE_KEY format
@@ -265,16 +268,18 @@ def get_keys(show: bool = False) -> pd.DataFrame:
def set_av_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Alpha Vantage key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -286,10 +291,12 @@ def set_av_key(key: str, persist: bool = False, show_output: bool = False) -> st
def check_av_key(show_output: bool = False) -> str:
"""Check Alpha Vantage key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -317,16 +324,18 @@ def check_av_key(show_output: bool = False) -> str:
def set_fmp_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Financial Modeling Prep key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -338,10 +347,12 @@ def set_fmp_key(key: str, persist: bool = False, show_output: bool = False) -> s
def check_fmp_key(show_output: bool = False) -> str:
"""Check Financial Modeling Prep key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -374,16 +385,18 @@ def check_fmp_key(show_output: bool = False) -> str:
def set_quandl_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Quandl key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -395,10 +408,12 @@ def set_quandl_key(key: str, persist: bool = False, show_output: bool = False) -
def check_quandl_key(show_output: bool = False) -> str:
"""Check Quandl key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -425,16 +440,18 @@ def check_quandl_key(show_output: bool = False) -> str:
def set_polygon_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Polygon key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -446,10 +463,12 @@ def set_polygon_key(key: str, persist: bool = False, show_output: bool = False)
def check_polygon_key(show_output: bool = False) -> str:
"""Check Polygon key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -481,16 +500,18 @@ def check_polygon_key(show_output: bool = False) -> str:
def set_fred_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set FRED key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -502,10 +523,12 @@ def set_fred_key(key: str, persist: bool = False, show_output: bool = False) ->
def check_fred_key(show_output: bool = False) -> str:
"""Check FRED key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -536,16 +559,18 @@ def check_fred_key(show_output: bool = False) -> str:
def set_news_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set News key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -557,10 +582,12 @@ def set_news_key(key: str, persist: bool = False, show_output: bool = False) ->
def check_news_key(show_output: bool = False) -> str:
"""Check News key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -591,16 +618,18 @@ def check_news_key(show_output: bool = False) -> str:
def set_tradier_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Tradier key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -612,10 +641,12 @@ def set_tradier_key(key: str, persist: bool = False, show_output: bool = False)
def check_tradier_key(show_output: bool = False) -> str:
"""Check Tradier key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -651,16 +682,18 @@ def check_tradier_key(show_output: bool = False) -> str:
def set_cmc_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Coinmarketcap key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -672,10 +705,12 @@ def set_cmc_key(key: str, persist: bool = False, show_output: bool = False) -> s
def check_cmc_key(show_output: bool = False) -> str:
"""Check Coinmarketcap key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -703,16 +738,18 @@ def check_cmc_key(show_output: bool = False) -> str:
def set_finnhub_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Finnhub key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -724,10 +761,12 @@ def set_finnhub_key(key: str, persist: bool = False, show_output: bool = False)
def check_finnhub_key(show_output: bool = False) -> str:
"""Check Finnhub key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -758,16 +797,18 @@ def check_finnhub_key(show_output: bool = False) -> str:
def set_iex_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set IEX Cloud key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -779,10 +820,12 @@ def set_iex_key(key: str, persist: bool = False, show_output: bool = False) -> s
def check_iex_key(show_output: bool = False) -> str:
"""Check IEX Cloud key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -818,19 +861,26 @@ def set_reddit_key(
show_output: bool = False,
) -> str:
"""Set Reddit key
+
Parameters
----------
- client_id: str
- client_secret: str
- password: str
- username: str
- useragent: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ client_id: str
+ Client ID
+ client_secret: str
+ Client secret
+ password: str
+ User assword
+ username: str
+ User username
+ useragent: str
+ User useragent
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -847,10 +897,12 @@ def set_reddit_key(
def check_reddit_key(show_output: bool = False) -> str:
"""Check Reddit key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -905,16 +957,18 @@ def check_reddit_key(show_output: bool = False) -> str:
def set_bitquery_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Bitquery key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -926,10 +980,12 @@ def set_bitquery_key(key: str, persist: bool = False, show_output: bool = False)
def check_bitquery_key(show_output: bool = False) -> str:
"""Check Bitquery key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -973,17 +1029,22 @@ def set_twitter_key(
show_output: bool = False,
) -> str:
"""Set Twitter key
+
Parameters
----------
- key: str
- secret: str
- access_token: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ secret: str
+ API secret
+ access_token: str
+ API token
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -998,10 +1059,12 @@ def set_twitter_key(
def check_twitter_key(show_output: bool = False) -> str:
"""Check Twitter key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1049,16 +1112,20 @@ def set_rh_key(
show_output: bool = False,
) -> str:
"""Set Robinhood key
+
Parameters
----------
- username: str
- password: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ username: str
+ User username
+ password: str
+ User password
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1072,10 +1139,12 @@ def set_rh_key(
def check_rh_key(show_output: bool = False) -> str:
"""Check Robinhood key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1103,17 +1172,22 @@ def set_degiro_key(
show_output: bool = False,
) -> str:
"""Set Degiro key
+
Parameters
----------
- username: str
- password: str
- secret: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ username: str
+ User username
+ password: str
+ User password
+ secret: str
+ User secret
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1128,10 +1202,12 @@ def set_degiro_key(
def check_degiro_key(show_output: bool = False) -> str:
"""Check Degiro key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1177,17 +1253,22 @@ def set_oanda_key(
show_output: bool = False,
) -> str:
"""Set Oanda key
+
Parameters
----------
- account: str
- access_token: str
- account_type: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ account: str
+ User account
+ access_token: str
+ User token
+ account_type: str
+ User account type
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1202,10 +1283,12 @@ def set_oanda_key(
def check_oanda_key(show_output: bool = False) -> str:
"""Check Oanda key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1244,16 +1327,20 @@ def set_binance_key(
show_output: bool = False,
) -> str:
"""Set Binance key
+
Parameters
----------
- key: str
- secret: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ secret: str
+ API secret
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1267,10 +1354,12 @@ def set_binance_key(
def check_binance_key(show_output: bool = False) -> str:
"""Check Binance key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1302,15 +1391,18 @@ def set_si_key(
show_output: bool = False,
) -> str:
"""Set Sentimentinvestor key.
+
Parameters
----------
- key: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1323,10 +1415,12 @@ def set_si_key(
def check_si_key(show_output: bool = False) -> str:
"""Check Sentimentinvestor key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1366,17 +1460,22 @@ def set_coinbase_key(
show_output: bool = False,
) -> str:
"""Set Coinbase key
+
Parameters
----------
- key: str
- secret: str
- passphrase: str
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ secret: str
+ API secret
+ passphrase: str
+ Account passphrase
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1391,10 +1490,12 @@ def set_coinbase_key(
def check_coinbase_key(show_output: bool = False) -> str:
"""Check Coinbase key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1432,16 +1533,18 @@ def check_coinbase_key(show_output: bool = False) -> str:
def set_walert_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Walert key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1453,10 +1556,12 @@ def set_walert_key(key: str, persist: bool = False, show_output: bool = False) -
def check_walert_key(show_output: bool = False) -> str:
"""Check Walert key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1492,16 +1597,18 @@ def set_glassnode_key(
key: str, persist: bool = False, show_output: bool = False
) -> str:
"""Set Glassnode key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1513,10 +1620,12 @@ def set_glassnode_key(
def check_glassnode_key(show_output: bool = False) -> str:
"""Check Glassnode key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1554,16 +1663,18 @@ def set_coinglass_key(
key: str, persist: bool = False, show_output: bool = False
) -> str:
"""Set Coinglass key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1575,10 +1686,12 @@ def set_coinglass_key(
def check_coinglass_key(show_output: bool = False) -> str:
"""Check Coinglass key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1612,16 +1725,18 @@ def check_coinglass_key(show_output: bool = False) -> str:
def set_cpanic_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Cpanic key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1633,10 +1748,12 @@ def set_cpanic_key(key: str, persist: bool = False, show_output: bool = False) -
def check_cpanic_key(show_output: bool = False) -> str:
"""Check Cpanic key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1666,16 +1783,18 @@ def set_ethplorer_key(
key: str, persist: bool = False, show_output: bool = False
) -> str:
"""Set Ethplorer key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1687,10 +1806,12 @@ def set_ethplorer_key(
def check_ethplorer_key(show_output: bool = False) -> str:
"""Check Ethplorer key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1725,18 +1846,20 @@ def set_smartstake_key(
key: str, access_token: str, persist: bool = False, show_output: bool = False
):
"""Set Smartstake key.
+
Parameters
----------
- key: str
- API key
- access_token: str
- API token
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ access_token: str
+ API token
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1749,10 +1872,12 @@ def set_smartstake_key(
def check_smartstake_key(show_output: bool = False) -> str:
"""Check Smartstake key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1800,16 +1925,18 @@ def check_smartstake_key(show_output: bool = False) -> str:
def set_github_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set GitHub key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1821,10 +1948,12 @@ def set_github_key(key: str, persist: bool = False, show_output: bool = False) -
def check_github_key(show_output: bool = False) -> str:
"""Check GitHub key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1846,16 +1975,18 @@ def check_github_key(show_output: bool = False) -> str:
def set_messari_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Messari key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1867,10 +1998,12 @@ def set_messari_key(key: str, persist: bool = False, show_output: bool = False)
def check_messari_key(show_output: bool = False) -> str:
"""Check Messari key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1903,16 +2036,18 @@ def check_messari_key(show_output: bool = False) -> str:
def set_eodhd_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Eodhd key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1924,10 +2059,12 @@ def set_eodhd_key(key: str, persist: bool = False, show_output: bool = False) ->
def check_eodhd_key(show_output: bool = False) -> str:
"""Check Eodhd key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1956,16 +2093,18 @@ def set_santiment_key(
key: str, persist: bool = False, show_output: bool = False
) -> str:
"""Set Santiment key.
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -1977,10 +2116,12 @@ def set_santiment_key(
def check_santiment_key(show_output: bool = False) -> str:
"""Check Santiment key
+
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -2020,16 +2161,18 @@ def check_santiment_key(show_output: bool = False) -> str:
def set_shroom_key(key: str, persist: bool = False, show_output: bool = False) -> str:
"""Set Shroom key
+
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
+
Returns
-------
status: str
@@ -2076,14 +2219,14 @@ def set_tokenterminal_key(
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
Returns
-------
@@ -2099,8 +2242,8 @@ def check_tokenterminal_key(show_output: bool = False) -> str:
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
Returns
-------
@@ -2131,14 +2274,14 @@ def set_stocksera_key(key: str, persist: bool = False, show_output: bool = False
Parameters
----------
- key: str
- API key
- persist: bool
- If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
- If True, api key change will be global, i.e. it will affect terminal environment variables.
- By default, False.
- show_output: bool
- Display status string or not. By default, False.
+ key: str
+ API key
+ persist: bool
+ If False, api key change will be contained to where it was changed. For example, Jupyter notebook.
+ If True, api key change will be global, i.e. it will affect terminal environment variables.
+ By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
Returns
-------
@@ -2153,8 +2296,8 @@ def check_stocksera_key(show_output: bool = False):
"""Check Stocksera key
Parameters
----------
- show_output: bool
- Display status string or not. By default, False.
+ show_output: bool
+ Display status string or not. By default, False.
Returns
-------
diff --git a/openbb_terminal/portfolio/portfolio_model.py b/openbb_terminal/portfolio/portfolio_model.py
index d0807652c3e..162659da472 100644
--- a/openbb_terminal/portfolio/portfolio_model.py
+++ b/openbb_terminal/portfolio/portfolio_model.py
@@ -1398,7 +1398,6 @@ def get_maximum_drawdown(
Holdings series
pd.Series
Drawdown series
- -------
"""
holdings: pd.Series = portfolio.portfolio_value
if is_returns:
diff --git a/openbb_terminal/portfolio/portfolio_optimization/optimizer_model.py b/openbb_terminal/portfolio/portfolio_optimization/optimizer_model.py
index 890f9f911f9..3b094e4ff2b 100644
--- a/openbb_terminal/portfolio/portfolio_optimization/optimizer_model.py
+++ b/openbb_terminal/portfolio/portfolio_optimization/optimizer_model.py
@@ -1,7 +1,8 @@
"""Optimization Model"""
__docformat__ = "numpy"
-# pylint: disable=R0913, C0302, E1101
+# pylint: disable=R0913, C0302, E1101, line-too-long
+# flake8: noqa: E501
import logging
from typing import Dict, List, Tuple
@@ -191,9 +192,10 @@ def get_equal_weights(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for m' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -201,8 +203,7 @@ def get_equal_weights(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
value : float, optional
Amount to allocate. Returns percentages if set to 1.
@@ -262,9 +263,10 @@ def get_property_weights(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -272,8 +274,7 @@ def get_property_weights(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
s_property : str
Property to weight portfolio by
value : float, optional
@@ -358,9 +359,10 @@ def get_mean_risk_portfolio(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -368,8 +370,7 @@ def get_mean_risk_portfolio(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
objective: str
Objective function of the optimization model.
The default is 'Sharpe'. Possible values are:
@@ -414,28 +415,24 @@ def get_mean_risk_portfolio(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -560,9 +557,10 @@ def get_max_sharpe(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -570,8 +568,7 @@ def get_max_sharpe(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -604,28 +601,24 @@ def get_max_sharpe(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -710,9 +703,10 @@ def get_min_risk(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -720,8 +714,7 @@ def get_min_risk(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -754,28 +747,24 @@ def get_min_risk(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -860,9 +849,10 @@ def get_max_util(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -870,8 +860,7 @@ def get_max_util(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -904,28 +893,24 @@ def get_max_util(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1010,9 +995,10 @@ def get_max_ret(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1020,8 +1006,7 @@ def get_max_ret(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1054,28 +1039,24 @@ def get_max_ret(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1152,9 +1133,10 @@ def get_max_diversification_portfolio(
freq: str
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -1162,25 +1144,22 @@ def get_max_diversification_portfolio(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1268,9 +1247,10 @@ def get_max_decorrelation_portfolio(
freq: str
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -1278,25 +1258,22 @@ def get_max_decorrelation_portfolio(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- s`interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see s`interpolate `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1400,9 +1377,10 @@ def get_black_litterman_portfolio(
freq: str
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -1410,8 +1388,7 @@ def get_black_litterman_portfolio(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
objective: str
Objective function of the optimization model.
The default is 'Sharpe'. Possible values are:
@@ -1563,9 +1540,10 @@ def get_ef(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1573,8 +1551,7 @@ def get_ef(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1741,9 +1718,10 @@ def get_risk_parity_portfolio(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1751,8 +1729,7 @@ def get_risk_parity_portfolio(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1783,28 +1760,24 @@ def get_risk_parity_portfolio(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1902,9 +1875,10 @@ def get_rel_risk_parity_portfolio(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1912,8 +1886,7 @@ def get_rel_risk_parity_portfolio(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
version : str, optional
Relaxed risk parity model version. The default is 'A'.
Possible values are:
@@ -1935,28 +1908,24 @@ def get_rel_risk_parity_portfolio(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -2063,9 +2032,10 @@ def get_hcp_portfolio(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2073,8 +2043,7 @@ def get_hcp_portfolio(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
model: str, optional
The hierarchical cluster portfolio model used for optimize the
portfolio. The default is 'HRP'. Possible values are:
@@ -2088,36 +2057,34 @@ def get_hcp_portfolio(
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`c-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`c-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `c-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `c-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `c-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `c-MLforAM`.
objective: str, optional
Objective function used by the NCO model.
@@ -2177,9 +2144,8 @@ def get_hcp_portfolio(
Number of CVaRs used to approximate Tail Gini of gains. If None it duplicates a_sim value.
The default is None.
linkage: str, optional
- Linkage method of hierarchical clustering. For more information see
- `linkage `_.
+ Linkage method of hierarchical clustering. For more information see `linkage `__.
The default is 'single'. Possible values are:
- 'single'.
@@ -2202,12 +2168,9 @@ def get_hcp_portfolio(
Number of bins used to calculate variation of information. The default
value is 'KN'. Possible values are:
- - 'KN': Knuth's choice method. For more information see
- `knuth_bin_width `_.
- - 'FD': Freedman–Diaconis' choice method. For more information see
- `freedman_bin_width `_.
- - 'SC': Scotts' choice method. For more information see
- `scott_bin_width `_.
+ - 'KN': Knuth's choice method. For more information see `knuth_bin_width `__.
+ - 'FD': Freedman–Diaconis' choice method. For more information see `freedman_bin_width `__.
+ - 'SC': Scotts' choice method. For more information see `scott_bin_width `__.
- 'HGR': Hacine-Gharbi and Ravier' choice method.
alpha_tail: float, optional
@@ -2327,9 +2290,10 @@ def get_hrp(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2337,43 +2301,40 @@ def get_hrp(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
codependence: str, optional
The codependence or similarity matrix used to build the distance
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`c-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`c-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `c-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `c-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `c-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `c-MLforAM`.
objective: str, optional
Objective function used by the NCO model.
@@ -2433,8 +2394,7 @@ def get_hrp(
Number of CVaRs used to approximate Tail Gini of gains. If None it duplicates a_sim value.
The default is None.
linkage: str, optional
- Linkage method of hierarchical clustering. For more information see
- `linkage `_.
+ Linkage method of hierarchical clustering. For more information see `linkage `__.
The default is 'single'. Possible values are:
- 'single'.
@@ -2457,12 +2417,9 @@ def get_hrp(
Number of bins used to calculate variation of information. The default
value is 'KN'. Possible values are:
- - 'KN': Knuth's choice method. For more information see
- `knuth_bin_width `_.
- - 'FD': Freedman–Diaconis' choice method. For more information see
- `freedman_bin_width `_.
- - 'SC': Scotts' choice method. For more information see
- `scott_bin_width `_.
+ - 'KN': Knuth's choice method. For more information see `knuth_bin_width `__.
+ - 'FD': Freedman–Diaconis' choice method. For more information see `freedman_bin_width `__.
+ - 'SC': Scotts' choice method. For more information see `scott_bin_width `__.
- 'HGR': Hacine-Gharbi and Ravier' choice method.
alpha_tail: float, optional
@@ -2563,9 +2520,10 @@ def get_herc(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2573,43 +2531,40 @@ def get_herc(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
codependence: str, optional
The codependence or similarity matrix used to build the distance
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`c-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`c-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `c-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `c-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `c-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `c-MLforAM`.
objective: str, optional
Objective function used by the NCO model.
@@ -2669,8 +2624,7 @@ def get_herc(
Number of CVaRs used to approximate Tail Gini of gains. If None it duplicates a_sim value.
The default is None.
linkage: str, optional
- Linkage method of hierarchical clustering. For more information see
- `linkage `_.
+ Linkage method of hierarchical clustering. For more information see `linkage `__.
The default is 'single'. Possible values are:
- 'single'.
@@ -2693,12 +2647,9 @@ def get_herc(
Number of bins used to calculate variation of information. The default
value is 'KN'. Possible values are:
- - 'KN': Knuth's choice method. For more information see
- `knuth_bin_width `_.
- - 'FD': Freedman–Diaconis' choice method. For more information see
- `freedman_bin_width `_.
- - 'SC': Scotts' choice method. For more information see
- `scott_bin_width `_.
+ - 'KN': Knuth's choice method. For more information see `knuth_bin_width `__.
+ - 'FD': Freedman–Diaconis' choice method. For more information see `freedman_bin_width `__.
+ - 'SC': Scotts' choice method. For more information see `scott_bin_width `__.
- 'HGR': Hacine-Gharbi and Ravier' choice method.
alpha_tail: float, optional
@@ -2799,9 +2750,10 @@ def get_nco(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2809,43 +2761,40 @@ def get_nco(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
codependence: str, optional
The codependence or similarity matrix used to build the distance
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`c-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`c-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `c-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `c-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `c-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `c-MLforAM`.
objective: str, optional
Objective function used by the NCO model.
@@ -2905,8 +2854,7 @@ def get_nco(
Number of CVaRs used to approximate Tail Gini of gains. If None it duplicates a_sim value.
The default is None.
linkage: str, optional
- Linkage method of hierarchical clustering. For more information see
- `linkage `_.
+ Linkage method of hierarchical clustering. For more information see `linkage `__.
The default is 'single'. Possible values are:
- 'single'.
@@ -2929,12 +2877,9 @@ def get_nco(
Number of bins used to calculate variation of information. The default
value is 'KN'. Possible values are:
- - 'KN': Knuth's choice method. For more information see
- `knuth_bin_width `_.
- - 'FD': Freedman–Diaconis' choice method. For more information see
- `freedman_bin_width `_.
- - 'SC': Scotts' choice method. For more information see
- `scott_bin_width `_.
+ - 'KN': Knuth's choice method. For more information see `knuth_bin_width `__.
+ - 'FD': Freedman–Diaconis' choice method. For more information see `freedman_bin_width `__.
+ - 'SC': Scotts' choice method. For more information see `scott_bin_width `__.
- 'HGR': Hacine-Gharbi and Ravier' choice method.
alpha_tail: float, optional
diff --git a/openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py b/openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
index f6f4d89f87a..80fdb272bf5 100644
--- a/openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
+++ b/openbb_terminal/portfolio/portfolio_optimization/optimizer_view.py
@@ -1,7 +1,8 @@
"""Optimization View"""
__docformat__ = "numpy"
-# pylint: disable=R0913, R0914, C0302, too-many-branches, too-many-statements
+# pylint: disable=R0913, R0914, C0302, too-many-branches, too-many-statements, line-too-long
+# flake8: noqa: E501
import logging
import math
@@ -661,8 +662,7 @@ def display_equal_weight(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -764,9 +764,9 @@ def display_property_weighting(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -774,8 +774,7 @@ def display_property_weighting(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
s_property : str
Property to get weighted portfolio of
risk_measure: str, optional
@@ -887,9 +886,9 @@ def display_mean_risk(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -897,8 +896,7 @@ def display_mean_risk(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -943,28 +941,24 @@ def display_mean_risk(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1078,9 +1072,9 @@ def display_max_sharpe(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1088,8 +1082,7 @@ def display_max_sharpe(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1125,28 +1118,24 @@ def display_max_sharpe(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1256,9 +1245,9 @@ def display_min_risk(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1266,8 +1255,7 @@ def display_min_risk(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1303,28 +1291,24 @@ def display_min_risk(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1430,9 +1414,9 @@ def display_max_util(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1440,8 +1424,7 @@ def display_max_util(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1477,28 +1460,24 @@ def display_max_util(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1604,9 +1583,9 @@ def display_max_ret(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1614,8 +1593,7 @@ def display_max_ret(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -1651,28 +1629,24 @@ def display_max_ret(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1771,9 +1745,9 @@ def display_max_div(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1781,25 +1755,22 @@ def display_max_div(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -1889,9 +1860,9 @@ def display_max_decorr(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -1899,25 +1870,22 @@ def display_max_decorr(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -2020,9 +1988,9 @@ def display_black_litterman(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2030,8 +1998,7 @@ def display_black_litterman(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
benchmark : Dict
Dict of portfolio weights
objective: str
@@ -2155,9 +2122,9 @@ def display_ef(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2165,8 +2132,7 @@ def display_ef(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str, optional
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -2374,10 +2340,10 @@ def display_risk_parity(
freq: str
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
- - X (integer days) for returns calculated every X days.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
+ - X (integer days) for returns calculated every X days.
maxnan: float
Max percentage of nan values accepted per asset to be included in
@@ -2385,8 +2351,7 @@ def display_risk_parity(
threshold: float
Value used to replace outliers that are higher to threshold.
method: str
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
risk_measure: str
The risk measure used to optimize the portfolio.
The default is 'MV'. Possible values are:
@@ -2417,28 +2382,24 @@ def display_risk_parity(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -2532,10 +2493,10 @@ def display_rel_risk_parity(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
- - X (integer days) for returns calculated every X days.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
+ - X (integer days) for returns calculated every X days.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2543,8 +2504,7 @@ def display_rel_risk_parity(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
version : str, optional
Relaxed risk parity model version. The default is 'A'.
Possible values are:
@@ -2566,28 +2526,24 @@ def display_rel_risk_parity(
The default value is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`a-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`a-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`a-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `a-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `a-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `a-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `a-MLforAM`.
d_ewma: float, optional
The smoothing factor of ewma methods.
@@ -2689,9 +2645,9 @@ def display_hcp(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2699,8 +2655,7 @@ def display_hcp(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
model: str, optional
The hierarchical cluster portfolio model used for optimize the
portfolio. The default is 'HRP'. Possible values are:
@@ -2714,36 +2669,34 @@ def display_hcp(
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}.
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}.
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}.
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}.
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}.
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM `__.
+ - 'ewma2': use ewma with adjust=False. For more information see `EWM `__.
- 'ledoit': use the Ledoit and Wolf Shrinkage method.
- 'oas': use the Oracle Approximation Shrinkage method.
- 'shrunk': use the basic Shrunk Covariance method.
- 'gl': use the basic Graphical Lasso Covariance method.
- - 'jlogo': use the j-LoGo Covariance method. For more information see: :cite:`c-jLogo`.
- - 'fixed': denoise using fixed method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'spectral': denoise using spectral method. For more information see chapter 2 of :cite:`c-MLforAM`.
- - 'shrink': denoise using shrink method. For more information see chapter 2 of :cite:`c-MLforAM`.
+ - 'jlogo': use the j-LoGo Covariance method. For more information see: `c-jLogo`.
+ - 'fixed': denoise using fixed method. For more information see chapter 2 of `c-MLforAM`.
+ - 'spectral': denoise using spectral method. For more information see chapter 2 of `c-MLforAM`.
+ - 'shrink': denoise using shrink method. For more information see chapter 2 of `c-MLforAM`.
objective: str, optional
Objective function used by the NCO model.
@@ -2803,8 +2756,7 @@ def display_hcp(
Number of CVaRs used to approximate Tail Gini of gains. If None it duplicates a_sim value.
The default is None.
linkage: str, optional
- Linkage method of hierarchical clustering. For more information see
- `linkage `_.
+ Linkage method of hierarchical clustering. For more information see `linkage `__.
The default is 'single'. Possible values are:
- 'single'.
@@ -2827,12 +2779,9 @@ def display_hcp(
Number of bins used to calculate variation of information. The default
value is 'KN'. Possible values are:
- - 'KN': Knuth's choice method. For more information see
- `knuth_bin_width `_.
- - 'FD': Freedman–Diaconis' choice method. For more information see
- `freedman_bin_width `_.
- - 'SC': Scotts' choice method. For more information see
- `scott_bin_width `_.
+ - 'KN': Knuth's choice method. For more information see `knuth_bin_width `__.
+ - 'FD': Freedman–Diaconis' choice method. For more information see `freedman_bin_width `__.
+ - 'SC': Scotts' choice method. For more information see `scott_bin_width `__.
- 'HGR': Hacine-Gharbi and Ravier' choice method.
alpha_tail: float, optional
@@ -2965,9 +2914,9 @@ def display_hrp(
freq: str, optional
The frequency used to calculate returns. Default value is 'D'. Possible
values are:
- - 'D' for daily returns.
- - 'W' for weekly returns.
- - 'M' for monthly returns.
+ - 'D' for daily returns.
+ - 'W' for weekly returns.
+ - 'M' for monthly returns.
maxnan: float, optional
Max percentage of nan values accepted per asset to be included in
@@ -2975,43 +2924,40 @@ def display_hrp(
threshold: float, optional
Value used to replace outliers that are higher to threshold.
method: str, optional
- Method used to fill nan values. Default value is 'time'. For more information see
- `interpolate `_.
+ Method used to fill nan values. Default value is 'time'. For more information see `interpolate `__.
codependence: str, optional
The codependence or similarity matrix used to build the distance
metric and clusters. The default is 'pearson'. Possible values are:
- 'pearson': pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{pearson}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{pearson}_{i,j})}.
- 'spearman': spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{0.5(1-\rho^{spearman}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{0.5(1-\\rho^{spearman}_{i,j})}.
- 'abs_pearson': absolute value pearson correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{pearson}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{pearson}_{i,j}|)}.
- 'abs_spearman': absolute value spearman correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-|\rho^{spearman}_{i,j}|)}`.
+ .. math:: D_{i,j} = \\sqrt{(1-|\\rho^{spearman}_{i,j}|)}.
- 'distance': distance correlation matrix. Distance formula:
- :math:`D_{i,j} = \\sqrt{(1-\rho^{distance}_{i,j})}`.
+ .. math:: D_{i,j} = \\sqrt{(1-\\rho^{distance}_{i,j})}.
- 'mutual_info': mutual information matrix. Distance used is variation information matrix.
- 'tail': lower tail dependence index matrix. Dissimilarity formula:
- :math:`D_{i,j} = -\\log{\\lambda_{i,j}}`.
+ .. math:: D_{i,j} = -\\log{\\lambda_{i,j}}.
covariance: str, optional
The method used to estimate the covariance matrix:
The default is 'hist'. Possible values are:
- 'hist': use historical estimates.
- - 'ewma1': use ewma with adjust=True. For more information see
- `EWM `_.
- - 'ewma2': use ewma with adjust=False. For more information see
- `EWM `_.
+ - 'ewma1': use ewma with adjust=True. For more information see `EWM