Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.2.2 #5387

Merged
merged 41 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
005e3ed
remove twitter functions
jmaslek Aug 11, 2023
93bc216
remove twitter functions and all references to it
jmaslek Aug 11, 2023
cedd48f
Merge pull request #5335 from OpenBB-finance/release/3.2.1
jmaslek Aug 16, 2023
f784499
Fixed the request function (#5336)
colin99d Aug 17, 2023
f07d116
Fixed URL for uploading to the hub (#5340)
colin99d Aug 17, 2023
384c39c
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 17, 2023
a6e66f7
hotfix/fix-stocks-search-sdk3: Fixes the stocks search so that it doe…
deeleeramone Aug 17, 2023
b27bb59
Added fixes (#5344)
colin99d Aug 17, 2023
50c9d2c
Improve documentation (#5345)
colin99d Aug 18, 2023
673afcf
Adds example notebook for installing in Google Colab (#5333)
deeleeramone Aug 18, 2023
6502a35
remove twitter functions
jmaslek Aug 11, 2023
393db2f
remove twitter functions and all references to it
jmaslek Aug 11, 2023
7555a4b
Merge branch 'develop' of https://github.com/jmaslek/OpenBBTerminal i…
jmaslek Aug 18, 2023
258ed9a
Thegraph totally changed, I removed the endpoints (#5349)
colin99d Aug 18, 2023
3fcb64d
Fix the CPI CSV and remove twitter functionalities (#5350)
jmaslek Aug 18, 2023
88e09ce
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 18, 2023
144c59c
hotfix / Allow routine args inside lists (#5353)
tehcoderer Aug 21, 2023
ceb91d1
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 21, 2023
3147577
bye bye shroom (#5351)
colin99d Aug 21, 2023
f540333
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 22, 2023
1ca7fd9
Improves the `settings/userdata` command, and upgrade ruff (#5359)
colin99d Aug 22, 2023
bfd365b
Some error handling (#5357)
colin99d Aug 23, 2023
9fdf0d2
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 23, 2023
141dd68
Removed prints (#5367)
colin99d Aug 23, 2023
8132250
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 25, 2023
1036308
1st integration with TimeGPT-1 (Beta), from Nixtla (#5292)
DidierRLopes Aug 25, 2023
fc6137c
Fix foreach on routine where the inputs provided are not valid (#5373)
DidierRLopes Aug 25, 2023
8a5592b
Add example notebook for building volume-at-price chart. (#5370)
deeleeramone Aug 25, 2023
0b7b63e
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 25, 2023
8208191
Change bootup message (#5378)
jmaslek Aug 28, 2023
f8241a6
Hotfix - PyWry fix python 3.11 fail on boot, copy+paste on MacOS (#5384)
tehcoderer Aug 28, 2023
db9d462
Feature/companies house (#4721)
kulbinderdio Aug 28, 2023
f0e1fb7
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 28, 2023
18caebf
Allow to execute reports url from reports menu (#5385)
DidierRLopes Aug 28, 2023
36de52c
update defillama_dapps json file (#5380)
Define101 Aug 28, 2023
57e408b
Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTer…
jmaslek Aug 28, 2023
82e60be
ruff
jmaslek Aug 28, 2023
e05d3eb
3.2.1->3.2.2
jmaslek Aug 28, 2023
b031d7c
update changelogs
jmaslek Aug 28, 2023
f7d2d40
changes
jmaslek Aug 28, 2023
f890eec
Merge branch 'main' into release/3.2.2
jmaslek Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/branch-name-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

echo "Source-branch=$source_branch" >> $GITHUB_OUTPUT
echo "target-branch=$target_branch" >> $GITHUB_OUTPUT

- name: Show Output result for source-branch and target-branch
run: |
echo "source-branch=${{ steps.branch-name-check.outputs.source-branch }}"
echo "target-branch=${{ steps.branch-name-check.outputs.target-branch }}"

- name: Check branch name for develop PRs
if: ${{ steps.branch-name-check.outputs.target-branch == 'develop' }}
run: |
Expand All @@ -50,4 +50,4 @@ jobs:
else
echo "PR is not from a hotfix or release branch. Pull requests must be from a hotfix or release branch and target the main branch"
exit 1
fi
fi
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
publish-image:
runs-on: ubuntu-latest
env:
env:
OPENBBTERMINAL_DOCKER_GITHUB_REPOSITORY: ${{ github.repository }}
OPENBB_LOGGING_APP_NAME: "gst_docker"

Expand Down Expand Up @@ -45,4 +45,4 @@ jobs:
- name: Publishing the latest Docker image
run: |
docker push "${OPENBBTERMINAL_DOCKER_POETRY_IMAGE_LATEST}"
if: startsWith(github.ref, 'refs/heads/main')
if: startsWith(github.ref, 'refs/heads/main')
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
(github.event_name == 'pull_request' &&
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'develop' &&
startsWith(github.head_ref, 'docs/'))
startsWith(github.head_ref, 'docs/'))
with:
github_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: ./website/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
restore-keys: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}

- run: |
pip install bandit black codespell mypy==1.1.1 pylint==2.17.0 ruff==0.0.256
pip install bandit black codespell mypy==1.5.1 pylint==2.17.0 ruff==0.0.285
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 .
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2.0.0
with:
exclude_file: json_validate_exclude.txt
exclude_file: json_validate_exclude.txt
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.256"
rev: "v0.0.285"
hooks:
- id: ruff
- repo: https://github.com/codespell-project/codespell
Expand Down
2 changes: 1 addition & 1 deletion build/docker/compose.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OPENBBTERMINAL_DOCKER_REGISTRY="ghcr.io"
OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.2.1"
OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.2.2"
6 changes: 3 additions & 3 deletions build/nsis/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
!define NAME "OpenBB Terminal"
!define COMPANY "OpenBB"
!define APPFILE "OpenBBTerminal.exe"
!define VERSION "3.2.1"
!define VERSION "3.2.2"
!define SLUG "${NAME} v${VERSION}"

;--------------------------------
Expand All @@ -20,8 +20,8 @@
VIAddVersionKey Comments "An installer for OpenBB Terminal. For additional details, visit OpenBB.co"
VIAddVersionKey CompanyName OpenBB.co
VIAddVersionKey FileDescription "OpenBB Terminal Program"
VIAddVersionKey FileVersion 3.2.1.0
VIAddVersionKey ProductVersion 3.2.1.0
VIAddVersionKey FileVersion 3.2.2.0
VIAddVersionKey ProductVersion 3.2.2.0
VIAddVersionKey InternalName "OpenBB Terminal"

;--------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,24 @@ echo " |___/ "

BOOTUP_MESSAGE="
The boot up process might take a while. Please be patient...

Have you checked out Community Routines yet? You can access them through the OpenBB Hub!
Get started in less than 3 minutes: https://www.youtube.com/watch?v=UFh_Ku0fdtY

"
echo "$BOOTUP_MESSAGE"

# Add some messages we can print out
messages=("" "" "" "" \
"Did you know that you can search for stocks from a given country by running stocks/search --exchangecountry COUNTRY" \
"" "" "" \
"You can jump between menus by starting your command with a backslash. To go from funds to stocks/fa, you can run /stocks/fa" \
"" "" "" \
"Every command has a help flag. To access this use the -h flag after your command.")


# Pick a random one
index=$((RANDOM % ${#messages[@]}))
echo ${messages[$index]}

"$SCRIPTDIR"/.OpenBB/OpenBBTerminal
8 changes: 4 additions & 4 deletions build/pyinstaller/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ VSVersionInfo(
ffi=FixedFileInfo(
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
# Set not needed items to zero 0.
filevers=(3, 0, 0, 0),
prodvers=(3, 0, 0, 0),
filevers=(3, 2, 2, 0),
prodvers=(3, 2, 2, 0),
# Contains a bitmask that specifies the valid bits 'flags'r
mask=0x0,
# Contains a bitmask that specifies the Boolean attributes of the file.
Expand All @@ -32,10 +32,10 @@ VSVersionInfo(
[StringStruct('Comments', 'The OpenBB Terminal. For additional details, visit OpenBB.co'),
StringStruct('CompanyName', 'OpenBB'),
StringStruct('FileDescription', 'OpenBB Terminal Program'),
StringStruct('FileVersion', '3.2.1.0'),
StringStruct('FileVersion', '3.2.2.0'),
StringStruct('InternalName', 'OpenBB Terminal'),
StringStruct('ProductName', 'OpenBB Terminal'),
StringStruct('ProductVersion', '3.2.1.0')])
StringStruct('ProductVersion', '3.2.2.0')])
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
]
Expand Down
4 changes: 2 additions & 2 deletions custom_pre_commit/check_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ def main(ignore_files: Optional[str], ignore_commands: Optional[str]):
if not undocumented:
sys.exit(0)
else:
print("The following commands do not have documentation:")
print("The following commands do not have documentation:") # noqa: T201

undocumented = list(undocumented)
undocumented.sort()
for item in undocumented:
print(item)
print(item) # noqa: T201
sys.exit(1)


Expand Down
2 changes: 1 addition & 1 deletion custom_pre_commit/check_reserved_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def process_file(file_path: str, exp: str):
if long_arg is not None:
long_arg = long_arg.group()
if long_arg not in ("HistoryManager.hist_file", RESERVED_ARGS[short_arg]):
print(
print( # noqa: T201
f"{file_path}: "
f"'-{short_arg}' argument expected '{RESERVED_ARGS[short_arg]}'"
f" but assigned to '{long_arg}'"
Expand Down
15 changes: 15 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,18 @@ This notebook demonstrates how to fetch and work with options chains data.
- Calculate and visualize the Net Delta Exposure, in dollars, by strike and expiration.
- Visualize the term structure of the implied volatility skew.
- Get tables with multiple single-leg options strategies.

### googleColabInstallation

This notebook demonstrates how to install the OpenBB SDK within Google Colab.


### volumeAtPrice

Volume-at-price is a chart used by technical analysts as a visual gauge to where the trading levels are concentrated, relative to price and volume. In short, it is the sum of volume at different price levels. This notebook utilizes individual components of the OpenBB SDK and combines them to build a new view.

- Price
- Volume
- VWAP
- SMA
- OpenBBFigure
Loading