-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update functionality with FinanceDatabase v2, depreciate stocks/sia
, fix exe --example
and fix stocks/fa/dcf
#4319
Conversation
stocks/fa/dcf
stocks/fa/dcf
stocks/sia
and fix stocks/fa/dcf
stocks/sia
and fix stocks/fa/dcf
stocks/sia
, fix exe --example
and fix stocks/fa/dcf
Done, not entirely sure what's with the infinity mark regarding files 😅 |
@JerBouma did you use poetry to update |
@hjoaquim I didn't, it failed on me when I did that 😅 |
Sorry to comment like this but, can't comment directly on VSCode:
|
First one is indeed not used. I just updated it for the sake of it. Within the |
…inance/OpenBBTerminal into feature/finance-database-update
Just a headsup, this PR depreciates the See: a9a27b6 |
Fixed the fact that it didn't actually search in short_name and the index properly. It does now with 7375b93 so you can do the following:
|
Small fix here so that it doesn't crash if you have no ticker loaded. @jmaslek Let me know if I need to give you a tour what I changed due to |
|
etf/screener_controller can be deleted (with associated tests) |
On stocks/load I am not getting autocomplete options with nay of the choices :( |
Related to this: when I go into stocks I get this message.
Am at home. Have always done this from home. (Probably also want to get rid of the stocks/sia reference there) |
You get that because you are not on the latest version of the package, v2.0.6. Thats also why no auto complete in |
Hm. Alright. Poetry install is giving 2.0.4 so we need to bump that. |
fixed |
Updated package to v2.0.7 (saw minor mistake in my own code) and removed |
Just make sure tests are passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small changes. lgtm
Description
Basically what changed in this new version of the FinanceDatabase is the following:
xz
. It shrinks the original JSON file of 120mb to 10mb, see this file. Auto-updated with GitHub Actions..search
using kwargs.For OpenBB Terminal this means:
stocks/search
is faster.etf
search functions are faster and updates are more frequent.stocks/sia
is less buggy with less dependency on Yahoo Finance. However, this PR also retires this menu for the time being. This is because it's currently functionality is better resolved withinstocks/ca
and throughroutines
.stocks/fa/dcf
since it relied partly on FinanceDatabase so I extended that to replace Yahoo Finance functionality.Fixes #4225
How has this been tested?
Checklist:
feature/feature-name
orhotfix/hotfix-name
.Others