* remove sync and pull
* ruff
* remove runtime fetch configs
* add comment
* reset when logged
* update translation yml file
* sdk regen
* print bold red messages if logout process fails
* fix sources not being applied
* handle bad json
* update hub links
* save terminal crash when sources file is broken
* add user defaults to gitignore
* actually no needed, will just be more specific about richstyle coming from hub
* black
* rewrite stdout
* fix session_model tests
* fix sdk session tests
* move paths
* remove duplicate line
* fix user being reset in test_logout_user test
* remove unecessary recording
* change colors msg
* remove repeated code
* 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>
* Initial commit
* Finalized functionality
* update script
* Allow using it without forecasting
* Update gitignore
* Update `sdk_audit.py`
* Fixed issues, found more
* Added fix for helper functions, and column for SDK type
* Checked one more thing
* Moved file
* Move files ending with models/views
* Added fix of name
* Added file path fixes
* Patch to fix sdk_audit for windows
* fix
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* Add more build assets and all notebook checkpoints to ignore
* Delete old reports that were accidentally added to the repo
* Fix portfolios not bundling
* Add mac installer image assets
* Update license
* Make the code folder hidden in macOS package
* Add folder and launcher icons programmatically during build
* Change dmg creation tool to create-dmg
* Update macOS installation docs
* Bump project version
* Update macOS installation instruction image links
* Fix macOS installation instructions styling
* Unify macOS install instructions image size
* Point download links to the website vs github
* Fix macOS launcher self-quarantine command
* Fix routines not launching in packaged apps
* Fix .openbb test mode not displaying filenames during test run
* Remove file with weird apple character in path
* bring dashboards and reports menus one step above
* remove checkpoints
* Add a custom_report for luna_crash
* add Minh updated text and report
* Make a few change to the text
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
* Adding Necessary files to fix the windows installer splash screen
* Bundle defaults json into project root location on mac
* Bundle linearmodels and statsmodels with pyinstaller on mac
* Tell dotenv to override defaults
* Fix a typo and add a "todo" in comments
* Explicitly silence bandit's false positives
* Fix typo
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* quick econ fix
* black
* keys and feature flags
* terminal name 👀
* some more replacements
* some more replacements
* edit pyproject
* gst -> openbb
* add example portfolios back to git
* Update api from gst
* sorry. skipping some tests
* another round of names
* another round of test edits
* Missed some .gst refs and update timezone
* water mark stuff
* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS
* fix more GST to OpenBB Terminal
* Logging : merge conflicts with main
* Revert wrong files
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* Add dashboard widget assets
* Add ipywidgets and ipyflex to project
* Add currencies dashboard notebook
* Update docs and docstrings
* Add pyinstaller to project deps
* Add pyinstaller artifacts to gitignore
* Fix linter errors in terminal.py
* Update cspell hook and action with a pyinstaller specific word
* Add pyinstaller specfile and artifacts
* Add splashscreen image
* Add app icon
* adding splash screen support to terminal.spec and terminal.py
* Restore the conda env build files
* Sync deps
* Add border to the splashscreen image
* Clean up terminal launcher
* Add support for default feature flags in packages apps
* Fix types and linting
* Add splashscreen management to app bootup
* Check prediction feature flag when entering crypto/pred
* Update pyinstaller spec file
* fix .spec file to work for splash and icon - removed the ".."
* Allows to export when using installer (#1568)
* fix export for packaged apps
* fix filename
* Git : replace commit_hash when it is set in config_terminal
* Add update of the git commit hash in gtff default during build
* Add packaged app name and feature flag to logs
* Add platform specific icon assignment
* Add macOS build assets
* Add tensorflow to hidden imports
* Move LOGGING_COMMIT_HASH to gtff
* Adding files/folders needed to .spec and pyinstaller folder. This will make certain commands work again.
* Linting
* Workflow : ignore ./build/pyinstaller from codespell
* Workflow : exclude ./build/pyinstaller from flake8
* Poetry + Workflow : add types-six
* Pyinstaller : remove property_cached, user_agent and vaderSentiment
* Revert "Pyinstaller : remove property_cached, user_agent and vaderSentiment"
This reverts commit dbb3e2b810.
* Clean up local paths in specfile
* Validate deps have correct Jinja version (they do)
* Fix logging commit hash to be set correctly for the logger to see it
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* Add default stylesheets
* Add terminal style helper class and global style initialization in cfg
* Style comments and docstrings
* Load rich terminal theme from config file
* Add application chart styles to candle charts
* Add todos
* Remove explicit color setting for some ta charts
* Add user styles folder to gitignore
* Update default stylesheets
* Add matplotlib font manager support
* Add matplotlib font manager support
* Update docstrings and default style
* Update stocks candle chart formatting (return fig to style title)
* Style common ta overlap view
* Make up and down market colors a part of the style helper
* Update stylesheets
* Style common ta volume view
* Style common ta momentum view
* Style common ta trend indicators view
* Style common ta volatility view
* Style common ta volume view
* Style common ta custom indicators view
* Fix styling bugs and remove the obvious time x lablel
* Style charts in the covid menu
* Set legend position to upper left in the mpl stylesheet
* Add mpl_rcparams configs for parameters not covered by stylesheets
* Remove font configuration files
* Update style class utility functions
* Implement passing external axes and style utility usage in ema & stoch
* Add theme watermark and output helpers
* Rename style to theme
* Update helper usage in ta/ma and ta/stoch
* Update style to theme in sample menus
* Style forex (#1305)
* Make tight layout optional 'cause mplfinance doesn't support it
* Apply global style to the forex menu
* Update code layout in oanda view and black
* Style common TA (#1315)
* Make tight layout optional 'cause mplfinance doesn't support it
* Apply global style to the forex menu
* Add linewidth to theme for use in mpf's addplots
* Add vwap to the stocks notebook api
* Update common/ta overlap to follow charting style
* Apply style on TerminalStyle init
* Enable infrastructure for excluding non-trading days from plots
* Update notebook api to include there and resolve bandit warning
* Update ta/common/overlap to exclude non-trading days
* Enable external ax, style and non-trading days in common/ta/momentum
* Enable external ax, style and non-trading days in common/ta/trend
* Update vwap to the argument naming convention
* Enable external ax, style and non-trading days in common/ta/volatility
* Enable external ax, style and non-trading days in common/ta/volume
* Enable external ax, style and non-trading days in common/ta/custom
* Fix controller tests
* Forgot to disable rewriting of the cassettes ...
* Fix controller errors that came up because a merge conflict
* Fix price label position on fib
* Fix line having wrong x values in fib
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* Style economy (#1308)
* Began converting
* Added alphavan_view
* Added CNN View
* Updated nasdaq view, fixed glitch
* Added fred
* Refactored URL
* Theo's requested changes
* Updated docstrings
* Updated tests
* Fixed pylint
* Fixed tests
* Theo changes
* Econ Fix
* Refactor chart style for Crypto context (#1306)
* Remove mock for gff
* Mock visualize_output helper function
* Refactor
* Fix plot helper
* Update legend loc
* Refactor mplfinance candle plot
* Fix errors in the helper function
* Fix binbook having the wrong call_ function name
* Remove hardcoded style params
* Resolve kwargs future warning from pandas
* Remove warnings import
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* funds + custom (#1311)
* funds + custom
* cleanup cleanup everybody everywhere
* Fix external axes conditional and a typo
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Add external axes mode to covid charts (#1328)
* Add portfolio menu plots (#1318)
* Portfolio view plots (commenting out report stuff)
* PA Menu broken. Commenting out and fix tests
* portfolio optimization
* comment out commented api line
* Add notes on disabling the pa submenu
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Plot updates in common BA (#1335)
* Add external axes support to common/ba/finbrain
* Add external axes support to common/ba/twitter
* Add external axes support to common/ba/google
* Add external axes support to common/ba/sentimentinvestor
* Add sentimentinvestor to the notebooks API
* Fix tests
* Etf refactor (#1323)
* Refactored no ETF
* Fixed gtff import
* Fixed tests
* Fix pie chart style
* Refactored etf/candle
* Added pylint fix
* Fixed tests
* Update candle chart layout
* Update etf controller test
* Remove strange binary file
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Expose ETF candle function in the notebooks API
* Common BA and Common QA charts update (#1342)
* Add external axes support to common/ba/finbrain
* Add external axes support to common/ba/twitter
* Add external axes support to common/ba/google
* Add external axes support to common/ba/sentimentinvestor
* Add sentimentinvestor to the notebooks API
* Fix tests
* Update stylesheet files
* Refactor charts for common/qa
* Update the forgotten line plot
* Update tests
* Add missing arg to a docstring
* Remove scientific notation
* Black imports
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
* Options refactor (#1324)
* Fixed alphaquery_view
* finished options
* Fixed pylint
* Fixed tests
* Fixed tests
* Fixed tests
* update yfinance
* Tradier + Chartexchange
* change mocks from gtff to theme.visualize output
* tests
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
* Refactor Stocks menu (#1325)
* Fix backtesting menu
* Refactor comparison analysis
* Refactor Dark pool shorts
* Refactor rest of menu
* Fix test
* Fix tests failing
* Fix tests fail
* Fix test failing
* Remove record mode=none to record new output
* Rewrite test output
* Rewrite test outputs
* Adding more rewritten test output
* Mock plt.show
* Mock missing plt.show
* Missing @pytest.mark.vcr
* Updating tests : common/behavioural_analysis/finbrain
* Improve notebooks API coverage for CA and DPS
* Silence annoying flake8 warning
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Charts update for common/pred (#1344)
* Add external axes support to common/ba/finbrain
* Add external axes support to common/ba/twitter
* Add external axes support to common/ba/google
* Add external axes support to common/ba/sentimentinvestor
* Add sentimentinvestor to the notebooks API
* Fix tests
* Update stylesheet files
* Refactor charts for common/qa
* Update the forgotten line plot
* Update tests
* Add missing arg to a docstring
* Style pred helper and controllers
* Update ETS plot
* Update plots in KNN and pred helper
* Update plot and pretty table for arima
* Update plot for common/pred/regression
* Refactor mc_view
* Fix linting
* Fix mypy
* Move plot title to the axis level to make more vertical space
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
* linter
* Update common/ba test data
* Change etf candle to match stock candle
* try updating sia test
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* enabled some crypto commands in dd to be called independent of source loaded
* support for coin_map_df in all dd functions + load ta and plot chart refactor
* updated tests and removed coingecko scrapping where possible
* removed ref of command from hugo
* updated pycoingecko version
* refactoring load
* refactored load to fetch prices; pred can run independent of source now
* load by default usd on cp/cg and usdt on cb/bin
* updated to rich for formatting and updated dependencies
* fixed changes requested
* created prt controller
* creating model
* removed unused print
* restaged
* adds current market cap
* added reports to gitignore
* First working program
* added Voila support
* Attempt to fix requirements
* Revert depen
* Another dependency test
* Fixed errors
* Small changes
* Fixed help
* Added port warning
* Fixed continued terminal use
* Last change, we good fam
* Added placeholder so we can have stored
* Didier changes
* Fixed exit
* Fixed issue
* remove disc/latest feature from seeking alpha
* Add cnews to stocks/discovery
* Improve cnews command
* update hugo server
* remove old READMEs
* fix typo
* Improve code to remove d_ and l_
* add *.env to gitignore
* Add built documentation to gitignore
* Add documentation creation readme and requirements
* Change manually generated code docs to automatic
* Move myst_parser documentation requirement to pyproject.toml
* Update poetry and requirements files for the readthedocs build to work
* Add prediction extras to requirements-full