diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 34c0a9cf6d9..1d002032d50 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -18,6 +18,7 @@ exclude-contributors: - 'andrewkenreich' - 'IgorWounds' - 'jerryduluk' + - 'minhhoang1023' template: | ## Thank you and welcome to our new contributors 🔥 diff --git a/.github/workflows/windows10_build.yml b/.github/workflows/windows10_build.yml index fe67fb24ba2..005ada68fe0 100644 --- a/.github/workflows/windows10_build.yml +++ b/.github/workflows/windows10_build.yml @@ -37,7 +37,7 @@ jobs: python -m venv venv --upgrade-deps source venv/Scripts/activate python -m pip install setuptools==65.4.1 wheel - python -m pip install -r requirements-full.txt + python -m pip install -r requirements-full.txt --no-cache-dir python -m pip uninstall papermill -y python -m pip install git+https://github.com/nteract/papermill.git@main python -m PyInstaller build/pyinstaller/terminal.spec --clean @@ -94,7 +94,7 @@ jobs: - name: Sign Installer if: startsWith(github.ref, 'refs/heads/main') run: | - & 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe' sign /fd sha256 /tr http://ts.ssl.com /td sha256 /sha1 26a8e28dbe3b1db7407b92d7de97c290d4436a32 'C:\Users\Administrator\actions-runner\_work\OpenBBTerminal\OpenBBTerminal\build\nsis\OpenBB Terminal Setup.exe' + & 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe' sign /fd sha256 /tr http://ts.ssl.com /td sha256 /sha1 0bf95b74b3b8763434e1782df36052d42c5c0bef 'C:\Users\Administrator\actions-runner\_work\OpenBBTerminal\OpenBBTerminal\build\nsis\OpenBB Terminal Setup.exe' - name: Save Build Artifact uses: actions/upload-artifact@v3 diff --git a/build/docker/compose.env b/build/docker/compose.env index 9a14fde1317..64c55b56956 100644 --- a/build/docker/compose.env +++ b/build/docker/compose.env @@ -1,2 +1,2 @@ OPENBBTERMINAL_DOCKER_REGISTRY="ghcr.io" -OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.0.1" +OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.1.0" diff --git a/openbb_terminal/core/models/system_model.py b/openbb_terminal/core/models/system_model.py index a03696d6d8e..91c1bcfc9a6 100644 --- a/openbb_terminal/core/models/system_model.py +++ b/openbb_terminal/core/models/system_model.py @@ -28,7 +28,7 @@ class SystemModel(BaseModel): PLATFORM: str = str(platform.platform()) # OpenBB section - VERSION: str = "3.0.1" + VERSION: str = "3.1.0" # Logging section LOGGING_APP_ID: str = "REPLACE_ME" diff --git a/openbb_terminal/core/plots/backend.py b/openbb_terminal/core/plots/backend.py index 2dc7f5a90eb..9f62181f24a 100644 --- a/openbb_terminal/core/plots/backend.py +++ b/openbb_terminal/core/plots/backend.py @@ -448,10 +448,10 @@ class Backend(PyWry): messages_dict = dict( login=dict( message="Welcome to OpenBB Terminal! Please login to continue.", - interrupt="Login cancelled. Continuing as guest.", + interrupt="Window closed without authentication. Please proceed below.", ), logout=dict( - message="Sending logout request", interrupt="Continuing as guest." + message="Sending logout request", interrupt="Please login to continue." ), ) diff --git a/openbb_terminal/core/sdk/models/forecast_sdk_model.py b/openbb_terminal/core/sdk/models/forecast_sdk_model.py index be6fbc3e4f0..dacbfa927a3 100644 --- a/openbb_terminal/core/sdk/models/forecast_sdk_model.py +++ b/openbb_terminal/core/sdk/models/forecast_sdk_model.py @@ -78,7 +78,6 @@ class ForecastRoot(Category): if not lib.FORECASTING_TOOLKIT_ENABLED: # pylint: disable=C0415 - from openbb_terminal.rich_config import console console.print(lib.FORECASTING_TOOLKIT_WARNING) diff --git a/openbb_terminal/core/sdk/models/portfolio_sdk_model.py b/openbb_terminal/core/sdk/models/portfolio_sdk_model.py index bc4558a9aea..14457d671fd 100644 --- a/openbb_terminal/core/sdk/models/portfolio_sdk_model.py +++ b/openbb_terminal/core/sdk/models/portfolio_sdk_model.py @@ -178,7 +178,6 @@ class PortfolioPortfolioOptimization(Category): if not lib.OPTIMIZATION_TOOLKIT_ENABLED: # pylint: disable=C0415 - from openbb_terminal.rich_config import console console.print(lib.OPTIMIZATION_TOOLKIT_WARNING) diff --git a/openbb_terminal/parent_classes.py b/openbb_terminal/parent_classes.py index 4fbf78b7b3a..1a4dcb53192 100644 --- a/openbb_terminal/parent_classes.py +++ b/openbb_terminal/parent_classes.py @@ -348,7 +348,9 @@ class BaseController(metaclass=ABCMeta): "I cannot provide", ] ): - console.print(f"[green]Suggested Command:[/green] {response}\n") + console.print( + f"[green]Suggested Command:[/green] /{response}\n" + ) console.print( "[yellow]Would you like to run this command?(y/n/fb)[/yellow]" diff --git a/openbb_terminal/sdk.py b/openbb_terminal/sdk.py index 70de201b966..791a78b97b6 100644 --- a/openbb_terminal/sdk.py +++ b/openbb_terminal/sdk.py @@ -1,48 +1,69 @@ """OpenBB Terminal SDK.""" + # ######### THIS FILE IS AUTO GENERATED - ANY CHANGES WILL BE VOID ######### # + # flake8: noqa + # pylint: disable=unused-import,wrong-import-order + # pylint: disable=C0302,W0611,R0902,R0903,C0412,C0301,not-callable + import logging + import openbb_terminal.config_terminal as cfg + from openbb_terminal import helper_funcs as helper # noqa: F401 + from openbb_terminal.core.plots.plotly_helper import theme # noqa: F401 + from openbb_terminal.cryptocurrency.due_diligence.pycoingecko_model import Coin + from openbb_terminal.dashboards.dashboards_controller import DashboardsController + from openbb_terminal.helper_classes import TerminalStyle # noqa: F401 + from openbb_terminal.reports import widget_helpers as widgets # noqa: F401 + from openbb_terminal.reports.reports_controller import ReportController + import openbb_terminal.core.sdk.sdk_init as lib + from openbb_terminal.core.sdk import ( controllers as ctrl, models as model, ) + from openbb_terminal.core.session.current_system import get_current_system + from openbb_terminal.core.session.current_user import is_local + from openbb_terminal.terminal_helper import is_auth_enabled + cfg.setup_config_terminal(is_sdk=True) + logger = logging.getLogger(__name__) + cfg.theme.applyMPLstyle() diff --git a/pyproject.toml b/pyproject.toml index 564222a32a0..12f45f1880f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openbb" -version = "3.0.1" +version = "3.1.0" description = "Investment Research for Everyone, Anywhere." license = "MIT" authors = ["Didier Rodrigues Lopes"] diff --git a/tests/openbb_terminal/stocks/options/test_intrinio_model.py b/tests/openbb_terminal/stocks/options/test_intrinio_model.py index 34d06795d18..21c36138a6b 100644 --- a/tests/openbb_terminal/stocks/options/test_intrinio_model.py +++ b/tests/openbb_terminal/stocks/options/test_intrinio_model.py @@ -98,6 +98,7 @@ def test_SYMBOLS(recorder): recorder.capture(results_df[0]) +@pytest.mark.timeout(90) @pytest.mark.vcr def test_load_options(recorder): data = intrinio_model.load_options("AAPL") diff --git a/website/content/terminal/changelog/version2_0_0.mdx b/website/content/terminal/changelog/version2_0_0.mdx index 9a086d4f03f..7bf588bfefd 100644 --- a/website/content/terminal/changelog/version2_0_0.mdx +++ b/website/content/terminal/changelog/version2_0_0.mdx @@ -3,7 +3,7 @@ title: v2.0.0 version: "2.0.0" date: 2022-11-29 description: v2.0.0 -sidebar_position: 102 +sidebar_position: 103 --- ## Major Release Notes diff --git a/website/content/terminal/changelog/version2_1_0.mdx b/website/content/terminal/changelog/version2_1_0.mdx index 63587fd176a..730e140eea0 100644 --- a/website/content/terminal/changelog/version2_1_0.mdx +++ b/website/content/terminal/changelog/version2_1_0.mdx @@ -3,7 +3,7 @@ title: v2.1.0 version: "2.1.0" date: 2022-12-21 description: v2.1.0 -sidebar_position: 101 +sidebar_position: 102 --- ## What's new diff --git a/website/content/terminal/changelog/version2_2_0.mdx b/website/content/terminal/changelog/version2_2_0.mdx index c71e655d363..0cabe8e00c2 100644 --- a/website/content/terminal/changelog/version2_2_0.mdx +++ b/website/content/terminal/changelog/version2_2_0.mdx @@ -3,7 +3,7 @@ title: v2.2.0 version: "2.2.0" date: 2022-01-19 description: v2.2.0 -sidebar_position: 100 +sidebar_position: 101 --- ## What's new diff --git a/website/content/terminal/changelog/version2_3_0.mdx b/website/content/terminal/changelog/version2_3_0.mdx index ed4b919b1aa..92dffb8f6d8 100644 --- a/website/content/terminal/changelog/version2_3_0.mdx +++ b/website/content/terminal/changelog/version2_3_0.mdx @@ -3,7 +3,7 @@ title: v2.3.0 version: "2.3.0" date: 2023-01-31 description: v2.3.0 -sidebar_position: 99 +sidebar_position: 100 --- diff --git a/website/content/terminal/changelog/version2_3_1.mdx b/website/content/terminal/changelog/version2_3_1.mdx index 3fc50e3b1a8..991af4aa0b7 100644 --- a/website/content/terminal/changelog/version2_3_1.mdx +++ b/website/content/terminal/changelog/version2_3_1.mdx @@ -3,7 +3,7 @@ title: v2.3.1 version: "2.3.1" date: 2023-02-01 description: v2.3.1 -sidebar_position: 98 +sidebar_position: 99 --- ## Fixed diff --git a/website/content/terminal/changelog/version2_4_0.mdx b/website/content/terminal/changelog/version2_4_0.mdx index b257ebde9d4..96f9424be88 100644 --- a/website/content/terminal/changelog/version2_4_0.mdx +++ b/website/content/terminal/changelog/version2_4_0.mdx @@ -3,7 +3,7 @@ title: v2.4.0 version: "2.4.0" date: 2023-02-14 description: v2.4.0 -sidebar_position: 97 +sidebar_position: 98 --- ## What's new diff --git a/website/content/terminal/changelog/version2_4_1.mdx b/website/content/terminal/changelog/version2_4_1.mdx index efd39c86020..0f9d28ff4a1 100644 --- a/website/content/terminal/changelog/version2_4_1.mdx +++ b/website/content/terminal/changelog/version2_4_1.mdx @@ -3,7 +3,7 @@ title: v2.4.1 version: "2.4.1" date: 2023-02-17 description: v2.4.1 -sidebar_position: 96 +sidebar_position: 97 --- ## What's new diff --git a/website/content/terminal/changelog/version2_5_0.mdx b/website/content/terminal/changelog/version2_5_0.mdx index 2a93c984767..60d7c0e5ea7 100644 --- a/website/content/terminal/changelog/version2_5_0.mdx +++ b/website/content/terminal/changelog/version2_5_0.mdx @@ -3,7 +3,7 @@ title: v2.5.0 version: "2.5.0" date: 2023-03-01 description: v2.5.0 -sidebar_position: 95 +sidebar_position: 96 --- diff --git a/website/content/terminal/changelog/version2_5_1.mdx b/website/content/terminal/changelog/version2_5_1.mdx index fdfd7f49057..ec42dfeac79 100644 --- a/website/content/terminal/changelog/version2_5_1.mdx +++ b/website/content/terminal/changelog/version2_5_1.mdx @@ -3,7 +3,7 @@ title: 2.5.1 version: "2.5.1" date: 2023-03-01 description: Current - v2.5.1 -sidebar_position: 94 +sidebar_position: 95 --- ## Fixed diff --git a/website/content/terminal/changelog/version3_0_0.mdx b/website/content/terminal/changelog/version3_0_0.mdx index 80c60941d52..f3f2838fd20 100644 --- a/website/content/terminal/changelog/version3_0_0.mdx +++ b/website/content/terminal/changelog/version3_0_0.mdx @@ -3,7 +3,7 @@ title: v3.0.0 version: "3.0.0" date: 2023-04-25 description: v3.0.0 -sidebar_position: 93 +sidebar_position: 94 --- ## What's new diff --git a/website/content/terminal/changelog/version3_0_1.mdx b/website/content/terminal/changelog/version3_0_1.mdx index 0d60ea932eb..1750ff4a9f2 100644 --- a/website/content/terminal/changelog/version3_0_1.mdx +++ b/website/content/terminal/changelog/version3_0_1.mdx @@ -1,9 +1,9 @@ --- -title: Current - v3.0.1 +title: v3.0.1 version: "3.0.1" date: 2023-05-15 -description: Current - v3.0.1 -sidebar_position: 92 +description: v3.0.1 +sidebar_position: 93 --- ## Thank you and welcome to our new contributors 🔥 diff --git a/website/content/terminal/changelog/version3_1_0.mdx b/website/content/terminal/changelog/version3_1_0.mdx new file mode 100644 index 00000000000..198266d051e --- /dev/null +++ b/website/content/terminal/changelog/version3_1_0.mdx @@ -0,0 +1,106 @@ +--- +title: Current - v3.1.0 +version: "3.1.0" +date: 2023-06-21 +description: Current - v3.1.0 +sidebar_position: 92 +--- + +## Thank you and welcome to our new contributors 🔥 +@AdiSai, @LOne2three, @Sai-132, @bimbolimbo, @jj701 and @skhan59bbk + +## What's new 🎉 + +- askobb is released in BETA mode. We are still working on fine tuning certain aspects, but are looking forward to hearing from you! +- Routine recording enhanced. You can now have description and tags, which will upload to the OpenBB Hub. +- Routine scripting enhanced +- New news sentiment function provided from Onclusive +- Enhanced Options SDK functionalities +- General enhancements and bug fixes + +## What's changed 🚀 +* hotfix/ no username on reset (#5161) @tehcoderer +* Feature/routine tags (#5154) @montezdesousa +* Fix shrs table (#5163) @IgorWounds +* hotfix/options-stats-index-rename: renames the index column to 'strike' when `get_stats('strike')` (#5160) @deeleeramone +* Feature/ Pywry login (#5115) @tehcoderer +* hotfix/options-chains-guide: Adds SDK intro guide for Options Chains (#5155) @deeleeramone +* Query askobb on api openbb co (#5153) @jmaslek +* Progressive improvements to `askobb` v0.3 (#5150) @martinb-bb +* Progressive improvements to `askobb` (#5148) @martinb-bb +* Feature/options - OpenBB Options Enhancement Proposal (Part 1 - SDK) (#5079) @deeleeramone +* Small enhancements (#5146) @jmaslek +* added error handling (#5147) @bimbolimbo +* hotfix/docs-faq-debug-mode: Adds debug mode instructions for Terminal and SDK (#5145) @deeleeramone +* hotfix/ Change theme fails if `trace.marker.color` isn't an array (#5144) @tehcoderer +* hotfix/ Chart Overlay x column not setting by default (#5142) @tehcoderer +* Move askobb to cmd and change question to prompt (#5141) @jmaslek +* Fix balance sheet (#5139) @IgorWounds +* Wrong type ticker (#5138) @bimbolimbo +* Fix income and cash flow statements (#5137) @IgorWounds +* hotfix/fix-screener: Fix for #5135 (#5136) @deeleeramone +* Add index names so import works (#5134) @jmaslek +* Adds crypto fees revenue command (#4067) @jose-donato +* Fix wrapping (#5133) @IgorWounds +* Fix help and question (#5132) @IgorWounds +* Fix blank chart (#5128) @IgorWounds +* small typo fix in contributing guidelines (#5125) @bimbolimbo +* hotfix/ Include plotly.js in reports html + Improve Charts in Reports (#5126) @tehcoderer +* hotfix/ tables `pd.to_numeric` (#5124) @tehcoderer +* Feature/news sentiment (#4339) @Sai-132 +* Large Language Model - Text to command (#4695) @minhhoang1023 +* adds VIX9D and VIX3M to index list (#5119) @deeleeramone +* Vscode/Github Codespaces dev container (#4975) @jj701 +* hotfix/ bump Pywry fixes High CPU usage (#5122) @tehcoderer +* Remove all key logger.info (#5112) @jmaslek +* feature/ Set profile on identify (#5102) @tehcoderer +* hotfix/deprecate-options-screener: Sunsets deprecated Options screener (#5111) @deeleeramone +* hotfix/ wrong default for `yaxisFixedRange` (#5106) @tehcoderer +* hotfix/fa-yfinance-plot - makes `stocks/fa/income --plot` output match everything else. (#5101) @deeleeramone +* Hotfix/ Tables + Charts Issues (#5100) @tehcoderer +* Avoid pandas' SettingWithCopyWarning (#5105) @piiq +* hotfix/fix-balance-headers: Fixes #5094 (#5099) @deeleeramone +* Feature/futures curve history (#5086) @skhan59bbk +* fixes stocks/fa integration test file (#5092) @deeleeramone +* hotfix/ca-sentiment-raw-date: Fixes #5095 (#5097) @deeleeramone +* hotfix/ XAxis Dateindex format (#5098) @tehcoderer +* No guest if installer (#5076) @montezdesousa +* hotfix/integration-test-fixes - patches integration tests: stocks/test_insider and test_screener (#5084) @deeleeramone +* hotfix/ Dashboards random issue with theme not loading (#5082) @tehcoderer +* fixing rating command (#5081) @andrewkenreich +* Upload routine to hub on stop (#5077) @montezdesousa +* Install Page: adds reference to the YAML files for Python 3.8 and 3.10 (#5073) @deeleeramone +* OpenBB Script Routines major improvement (#5005) @DidierRLopes +* Add more futures to curve (and probably some more bugs) (#5049) @jmaslek +* Update download link on update version text (#5075) @jmaslek +* Creates examples folder for SDK Notebook examples (#5057) @deeleeramone +* Feature/ultima top headlines (#5061) @AdiSai +* Hotfix/reddit spacc (#5067) @LOne2three +* Hotfix/cpdesc (#5070) @colin99d +* Adds test for collinearity to the `econometrics` menu (#5018) @northern-64bit +* Fixes Description on Fixedincome (#5065) @colin99d +* Fix `/keys` status does not update after logging in (#5055) @montezdesousa +* hotfix/ Options Historical + Crypto candles (#5064) @tehcoderer +* fix integration test for fixedincome controller (#5060) @deeleeramone +* Hotfix/docs-sdk-basics: Updates SDK basics page. (#5024) @deeleeramone +* Preserve stock ticker suffix (#5056) @IgorWounds +* Increases Integration Tests Coverage (#5051) @deeleeramone +* 100% coverage for fixed income integration tests (#5048) @deeleeramone +* Adds `primaryUsage` to Posthog logs (#5037) @hjoaquim +* Hotfix/edebt (#5046) @IgorWounds +* Remove \n from insider table (#5045) @IgorWounds +* Hotfix/ Candle --log (#5039) @tehcoderer +* hotfix/ Charts Theme change not persisting (#5036) @tehcoderer +* Fix file edge case (#5033) @IgorWounds +* Removal of Interactive Charts Legacy Web Modules (#5034) @tehcoderer +* hotfix/ modebar hide/show on hotkeys (#5026) @tehcoderer +* fixing min-mix stikes on options (#5028) @andrewkenreich +* Release/3.0.1 (#5031) @jmaslek +* Release/3.0.1 (#5025) @jmaslek + +We are proud of our community contributors and staunch supporters of open-source ecosystems. +Help us promote our community by tagging `@openbb_finance` on Twitter with a link to your pull request, +and join our Discord server to chat about your contribution! We want to hear about your experience! + +### Links 🦋 +[Website](https://openbb.co/), [Twitter](https://twitter.com/openbb_finance), [Linkedin](https://www.linkedin.com/company/openbb-finance), [Instagram](https://www.instagram.com/openbb.finance/), [Reddit](https://www.reddit.com/r/openbb/), [Discord](https://discord.com/invite/xPHTuHCmuV) diff --git a/website/content/terminal/installation/macos.md b/website/content/terminal/installation/macos.md index 3c059c54571..68e3a5f6ab3 100644 --- a/website/content/terminal/installation/macos.md +++ b/website/content/terminal/installation/macos.md @@ -37,7 +37,7 @@ Install the OpenBB Terminal on MacOS (Big Sur or later). There are two versions