* 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>
* Step one: error handle Option class
* Step one: error handle Option class
* Got upcoming working
* Refactored before bug deep dive
* Refactored before bug deep dive
* cleaned
* cleaned
* fix: new table design
* fix: added trillions
* fixing some raw data
* fix: trying to fix global+resize
* feat: improving design
* fix: new styling and lot of reorganizing
* title fix
* feat: new html
* fix: bottom bar
* fix: table dates
* fix: table html
* fix: new filtering
* fix: new filtering
* fix: long
* Lint
* Lint again
* fix: beautiful james suggestions
* fix: some more fixes
* fix: typo
* fix economy bug
* feat: added toast to notify user and some more cleanup
* fix: more issues
* tests
* fix: james updates
* fix: added banner to charts as well
* fixing title
* better fix
* feat: added column resizing and any number of columns
* auto column width - poc
* feat: added colors toggle, support to display source, fixed some more issues
* fix: table deploy
* fix: table issue
* fix header
* fix: some fixes
* fix: remember pagination and default pagination to 30
* mypy
* Colins tests
* Fix economy test
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* remove theme refs
* will come for dtabento later
* remove theme refs except databento
* ruff
* remove mpl variables
* mpl still used in po
* move databento to plotly
* pylint
* ruff
* theme ref to openbb_terminal
* juans sugg
* fix: removed raw arg in `display_candle` which could return the dataframe and error, added figure to `export_data`
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
* Change deprecated psaw dependency to the maintained pmaw
* Fix docstring linting errors
* Remove deprecated watchlist command because it's taking too long to run
* Remove deprecated spac command because it's taking too long to run
* Update SDK and trailmap
* Fix legacy seaborn chart popping up when calling redditsent
* Clean up spacc code
* Refactor reddit ba commands to reflect the dependency change
* Change regex that searches for tickers
* Fix popular command error when no stock tickers found
* Update tests
* Update requirements.txt files
* Sync dependencies with upstream
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Added flake8-simplify
* Update linting.yml
* update. left 1 for you colin
* Fix that one
* Missed
* Fix
* mypy
---------
Co-authored-by: james <jmaslek11@gmail.com>
* I missed some sheet_name ones :)
* Move quote to main menu and combine yahoo finance commands
* Update stocks for quote
* First update to move yfinance away from main functionality
* Small updates
* Update tests to reflect changes
* Fix some little things
* Update docs a little too
* Remove the Due Diligence menu
* Update tests for new change
* Update fa and stocks with new text and move some stuff around
* Bye bye dd
* Pls work
* work..
* work..
* work..
* Work..|
* Add tests back in
* Remove tests
* Fix fix fix
* Remove tests to fix conflicts
* Improve the `stocks/search` command (#4084)
* Improve search command
* Make it more intuitive
* Fix tests
* Update the docs
* Ok done
* Ok done 2
* Ok done 3
* Git update tests that failed
* Update commands with --sheet-name that didn't work (#4088)
* Update commands with --sheet-name that didn't work
* Fix test
* oops
* Adds auto completion to `news` (#4089)
* Fix plot look when using eval and add query to choices (#3881)
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905)
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f.
* quick fix to auto complete args
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Hotfix/Windows-CLI (#4087)
* init
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* Update windows10_build.yml
* oops
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Adds end date to `forex/load` (#4077)
* Fix plot look when using eval and add query to choices (#3881)
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905)
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f.
* adding end date to the forex load
* added some tests
* added example
* always show msg
* rewriting test
* updating tests
* updating tests
* Redo load tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Update tests to reflect changes
* work..
* Remove tests
* Fix fix fix
* Remove tests
* Update the whole test folder
* Small updates
* Revert change
* Update eodhd to reflect it requires a paid plan and update tests
* Fix all the tests
* Update tests
* Update integration tests
* Removing tests so no whining happens
* ADD ALL THE TESTS
* Fix linting
* gitignore. thanks jer
* Add back dd and redirect to fa
* Update to just display a message
* Update OpenBB SDK commands
* Fixing issues with exporting
* Fix ruff messing up
* Fix tests
* Fix the tests by disabling isort to run on tests folder
---------
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
* Fix plot look when using eval and add query to choices (#3881)
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905)
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f.
* black everything
---------
* bump
* Initial function write
* Delete this line from yaml
* Changed all the main things - Need help on tests
* pylint errors
* Tests v0
* Tests v1
* Tests v2
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* bump
* Update ALL the exports with sheet name option
* Update contributing too
* Add in sheet name to each docstring
* Update tests
* Fix the small things for tests
* Converting CONTRIBUTING.md back since I put minimal changes in and it complains
* Fix terminal exit after `--sort p/e` (#4013)
* fix scr sort exit
* rewrite unit test output
* rewind slash replace
* rewind slash replace
* fix regex
* rewrite expected scr tests
* black
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* fix: small typo (#4036)
* fix income comparison error (#4029)
* Update tests due to yfinance error
* I broke tests and fixed them
* Fix tests?
* Missed a few sheet name additions
* missed one more
* Fix some missing sheet_name parameters
* Fix a test I broke
* Update tests due to changes with sheet_name
* Update stocks and common
* Mutual funds just because
* Portfolio update
* Update Forecast
* Update Futures
* Update ETF
* Update Economy
* Update Crypto
* Update others
* Update documentation to explain --sheet-name
* It should be None test
* Add None for sheet_name since empty string can result in errors
* Formatting
* Fix tests
* Update documentation
* Also update the image
* Add back to options commands
Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
* fixed integrated test test_stocks_ba.openbb
* fixed integrated test test_stocks_dd.openbb
* improved and centralised the check
* fix lint
* reverted the generalisation and used it localy instead
* fixed typo and removed comments
* replaced 2 if for or condition
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* wrap possible errors
* black
* fix invalid date format on mentions when no ticker
* wrong comparison
* flake8
* fine tune exception msg
* flake8
* change if state
* henrique tip on exception
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* Started new tests
* Added special function
* Improved dict
* Finished new test
* Got bad functions to 75
* Got bad func to 73
* Bad func down to 60
* Bad func down to 50
* Bad func down to 35
* Got bad func to 30
* No more bad functions
* Added tests
* Added fix
* Fixed some tests
* Fixed some tests
* Fixed some tests
* Fixed some tests
* Added tests to CI
* Fixed CI tests
* Fixed CI tests
* Imrproved CI tests
* Fixed reports
* Fixed reports
* Added stuff
* Removed CI
* Fixed
* Fixed some typing'
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* fix#1850
* fix#1831
* add extra check to Reddit API keys
* ignore warning message to update praw api
* improve OpenBB links
* fix quick performance only on stocks class because I'm James bitch
* fix quick performance only on stocks class because I'm James bitch
* fix#1829
* fix#1821
* add messari to keys - fix#1819
* example of multiple oclumns to check on options/chains
* minor improvement in xlabel re. #1814
* remove repeated command
* fix#1698
* fix line too long
* fix#1814 fr now
* fix tests
* Fix defi lending and borrowing (test_crypto_defi.openbb)
* Update Defi test data
* Remove cnn feargreed command from economy menu
* Fix stocks/ba integration tests
* Fix whale alert redirects blocking the keys menu
* Add failed request handling to whale alert command
* Remove feargreed from hugo
* Remove feargreed from bot
* Warn that portfolio optimization can take a long time
* Remove feargreed from project deps
* Update welcome message
* Update requirements txt
* Fix welcome message test
Co-authored-by: piiq <piiq@tinag.ru>
* fix darkpool api
* fix typo
* add default params on RSI ta
* fix ta models for stocks api
* fix ta models for stocks api
* improve API
* improve API
* test_finbrain updated
* fix finbrain model api
* ba controller
* improve API
* minor improvs to API
* a newly fantastic equity report
* fixed image issue
* add help to tier in finra command
* make export to default to False for API use
* remove ipynb_checkpoints
* remove extra file
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* adding stock price comparison via -c flag
* updated as per comments
* trying to fix tests
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Add API for Reddit sentiment command.
* Add helper functions for Reddit sentiment command.
* Add implementation of Reddit sentiment command.
* Update BA tests to include reddit_sent.
* Add documentation for reddit_sent.
* Add link to reddit_sent from main.yml.
* Refactor get_sentiment in order to avoid globals and make empirical scaling more obvious.
* Add default arguments to Reddit sentiment functions.
* Add option to display raw sentiment values in reddit_sent command.
* Add external axis to reddit_sent command.
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>