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.1.0 #5164

Merged
merged 93 commits into from
Jun 21, 2023
Merged

Release 3.1.0 #5164

merged 93 commits into from
Jun 21, 2023

Conversation

jmaslek
Copy link
Collaborator

@jmaslek jmaslek commented Jun 21, 2023

Boop

jmaslek and others added 30 commits May 16, 2023 12:40
* fixing min-mix stikes on options
Fixing the min-max values on views for options

# Description

- [ ] Summary of the change / bug fix.
- [ ] Link # issue, if applicable.
- [ ] Screenshot of the feature or the bug before/after fix, if applicable.
- [ ] Relevant motivation and context.
- [ ] List any dependencies that are required for this change.

# How has this been tested?

* Please describe the tests that you ran to verify your changes.
* Provide instructions so we can reproduce.
* Please also list any relevant details for your test configuration.
- [ ] Make sure affected commands still run in terminal
- [ ] Ensure the SDK still works
- [ ] Check any related reports

# Checklist:

- [ ] I have adhered to the GitFlow naming convention and my branch name is in the format of `feature/feature-name` or `hotfix/hotfix-name`.
- [ ] Update [our documentation](https://openbb-finance.github.io/OpenBBTerminal/) following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/website).  Update any user guides that are affected by the changes.
- [ ] Update our tests following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/tests).
- [ ] Make sure you are following our [CONTRIBUTING guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md).
- [ ] If a feature was added make sure to add it to the corresponding [integration test script](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_terminal/miscellaneous/integration_tests_scripts).

# Others
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.

* remove a print

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Fix file edge case

* edge case

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* revert and fix bug introduced in #4546

* improve theme change in chart, add `theme.apply_style()` to settings_controller/hub config change
* init... might break stuff

* fix

* clean up

* check if array for color keys
* Remove \n

* Fix column names
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* Preserve suffix

* Fix suffix doubling
* updates SDK basics guide - images to follow

* adds images

* spelling

* add sentence for token regeneration

* consolidates changing sources page with the basics page

* consolidate chart-stylying guide with basics

* api-keys pages

* adds Stocks Insiders intro to SDK docs

* typo

* add cloud installation

* syntax error

* no cloud installation instructions

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* fix options/crypto candles

* fix streamlit indicators

* Update Indicators.py
* FIxed some stuff

* FIxed some stuff

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Add `vif` command to the ecomometrics menu

Adds `vif` command, which tests collinearity by calculating the variance inflation factor.

* Fix spelling

* Fix ruff

* Fix ruff

* Fix mypy + add sdk example

* Fix mypy

* Fix pylint

* Fix input + error handling

* Remove rouge print + error handling for one column

* fix linting
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* Change logic in print_rich_table and display_spacc_community

* changed comment

* Changed logic in print_rich_table

* Got rid of whitespace

* changed comments

* changed formatting

* changed formatting

* changed formatting

* Fixed linting

* sort imports

* added TypeError to exception block and moved print_reddit_post to after the ticker iteration loop so that tables and tickers would be loaded at the same time

* Changed logic in  display_space_community to print all reddit posts to a single table

* Quick fix wsb command

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* initial integration of top headlines

* top headlines formatting

* re-ran tests

* fixing typing issues

* passed test

* fix ruff

* guard top headlines call + pass tests

* Minor cosmetic changes

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Creates examples folder for SDK Notebook examples 

This commit creates a folder and readme file for SDK examples as Jupyter Notebooks.

* Four notebook files added.

This commit adds four notebook examples.

* historical prices draft 2

* removes spaces from file name.

* fix one mistake

* rename file

* renames file

* updates realized vol notebook

* Renaming file.

* Delete old file name.

* updates usdLiquidtyIndex

* update copperToGoldRatio

* updates README.md

* spelling

* updates copperToGold load data cell

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Update download link on message

* tests
* Add a while condition for futures curve

* Fixes #5047

* Fixes #5014

* point root commands to /usage to avoid 404

* Black wont run in the nightly vs code build lol

* #5071

* mypy

* pylint

* tests

* Fix wrong queue to fa
* Allow to set variables and do loops

* Fix mypy errors

* improve code

* mypy

* pylint

* accepts Openbb date keywords like 1MONTHAGO,LASTFRIDAY,3YEARSFROMNOW,NEXTTUESDAY

* warn fix

* add documentation for script foreach and vars creation

* refactor controller as per James request

* black linting

* add another warning

* Editing some routine enhancements (#5063)

* move routine to new file

* Move to relativedelta and add some tests

* Fix mocking

* Get match_and_return_openbb_keyword_date to 100% cov

* start testing parse script

* remove rogue prints

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>

* big improvement in routines tests

* mypy lint

* ruff lint

* lint

* typo

* test relative time

* cover edge case of home at end of script

* fix edge case for going to home at start

* explain better slicing

* foreach tests added

* lint

* allow foreach loops to have different var names that is iterating

* foreach more powerful

* warning when var in foreach is not used

* fail script when varname that iterates foreach loop is never defined

* black

* lint again

* ruff

* improve another edge case

* fix test and fix a description

* fix nft test and routine test

* why mutual fund test failing

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* upload routine to hub on stop

* write cassette

* write cassette

* remove .openb from name

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* fix: random issue with theme not loading

* set dark
martinb-ai and others added 9 commits June 19, 2023 17:31
* temperature

* remove home

* preface home

* Add askobb to all menus

* 0.3

* index

* temp +

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Query askobb on api openbb co

* mypy
…5155)

* add SDK intro guide for options chains

* add screenshots to page
* Update .gitignore

* init

* Update backend.py

* Update main.tsx

* Update no_import.py

* Update session_controller.py

* indents

* adjust window size

* update keys

* re-add save session for pywry login

* pop response keys on rename

* walrus remember

* use session username for profile

* implement logout clearing of cookies

* don't display welcome when logging in from `account` menu

* Update session_model.py

* Update session_model.py

* customdata handler for charts

* fix remember key

* only slice data if chandlestick trace in data

* Update profile_model.py

* Update streamlit_run.py

* Update plotly.html

* test

* Update loggers.py

* updates

* Update session_controller.py

* Update session_controller.py

* no longer need to call_hub for logout

* tests

* Update test_session_controller.py

* Update profile_model.py

* bump pywry, fix numbers passed as strings tables

* update plotly frontend packages

* formatting

* Update backend.py

* Update backend.py

* change to prod

* return on image export

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
…e' when `get_stats('strike')` (#5160)

* renames the index column to 'strike' when get_stats('strike')

* black

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* no guest if installer

* prevent guest if logout from account

* this not true

* rename reloop var

* ask for email again if no email

* add tags to routines upload

* Update constants.py

* Update terminal_controller.py

* Update terminal_controller.py

* black

* ruff

* black

* Update constants.py

* point at .co

* mypy

* sneak in askobb timeout

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
* fix no username on reset

* bump windows to 3.0.2.0

* 3.1.0.0

* Update terminal_helper.py

* Update widget_helpers.py

* Update poetry.lock

* fix dashboards/reports on installer

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
@reviewpad reviewpad bot added the feat XS Extra small feature label Jun 21, 2023
@jmaslek jmaslek changed the base branch from develop to main June 21, 2023 13:34
@reviewpad
Copy link

reviewpad bot commented Jun 21, 2023

Reviewpad Report

Fatal

  • Images are not allowed in the repository, please remove images from the PR

@reviewpad reviewpad bot added feat XL Extra Large feature and removed feat XS Extra small feature labels Jun 21, 2023
@jmaslek jmaslek merged commit bc79e87 into main Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat XL Extra Large feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.