Merge pull request #5168 from OpenBB-finance/release/3.1.0

Release/3.1.0
This commit is contained in:
James Maslek
2023-06-22 09:15:27 -04:00
committed by GitHub
25 changed files with 154 additions and 25 deletions

View File

@@ -18,6 +18,7 @@ exclude-contributors:
- 'andrewkenreich'
- 'IgorWounds'
- 'jerryduluk'
- 'minhhoang1023'
template: |
## Thank you and welcome to our new contributors 🔥

View File

@@ -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

View File

@@ -1,2 +1,2 @@
OPENBBTERMINAL_DOCKER_REGISTRY="ghcr.io"
OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.0.1"
OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.1.0"

View File

@@ -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"

View File

@@ -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."
),
)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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]"

View File

@@ -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()

2
pyproject.toml vendored
View File

@@ -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"]

View File

@@ -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")

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
---

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
---

View File

@@ -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

View File

@@ -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

View File

@@ -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 🔥

View File

@@ -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)

View File

@@ -37,7 +37,7 @@ Install the OpenBB Terminal on MacOS (Big Sur or later). There are two versions
<div style={{
height: 80
}}>
<InstallerButton href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.0.1/x86.64.MacOS.OpenBB.Terminal.v3.0.1.pkg" label="Mac Intel Installer" /> <InstallerButton href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.0.1/ARM64.MacOS.OpenBB.Terminal.v3.0.1.pkg" label="Mac M1 Installer" />
<InstallerButton href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.1.0/x86.64.MacOS.OpenBB.Terminal.v3.1.0.pkg" label="Mac Intel Installer" /> <InstallerButton href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.1.0/ARM64.MacOS.OpenBB.Terminal.v3.1.0.pkg" label="Mac M1 Installer" />
</div>
<details><summary>Minimum Requirements</summary>

View File

@@ -30,7 +30,7 @@ import InstallerButton from "@site/src/components/General/InstallerButton";
This section provides you with the installation file as well as the guide to install the OpenBB Terminal via Windows (10 or greater).
<InstallerButton type="windows" href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.0.1/Windows.OpenBB.Terminal.v3.0.1.exe" label="Windows Installer" />
<InstallerButton type="windows" href="https://github.com/OpenBB-finance/OpenBBTerminal/releases/download/v3.1.0/Windows.OpenBB.Terminal.v3.1.0.exe" label="Windows Installer" />
<details><summary>Minimum Requirements</summary>