* Rename SDK folder
* Fixing all the tests I hope
* Depreciate the sia menu
* Fix routine script
* Update SDK generation scripts
* This needed fixing anyways
* Regenerate SDK files
* Update paths in sdk helpers
* Regenerate the remains of the SDK
* Fix candle not working with symbol via the sdk
* Fix pydocstyle errors
* deps
* Add in Docstrings
* Push to website since I need to upload images
* typos
* Add in Fixed Income Guide
* Tests : fix cassette
* changes to layout and adding more content
* trailmap
* poetry
* updates to requirements files
* add `_try_to_login` to sdk generation, fix `_chart` in `about()` url
* sentiment analysis
* refactor
* changing to base model default
* rounding
* renewing poetry
* fixed poetry
* spacing
* black
* adds selectable models for realized volatility calculations
* fixes line too long
* Add intro guides to Fixed Income
* Fix some missing docstrings
* Fix website not working
* missed a few
* fix /economy/test_yfinance_view tests
* fix etf/test_stockanalysis_model.py
* fix etf/test_stockanalysis_view.py
* fix test_stocks_controller
* deprecating non used function
* update financedatabase to 2.0.4
* Delete SIA from OpenBB Docs and SDK
* Searching was not done properly for short name and index
* changes the default data source for crypto.load
* Fix tests I broke
* Little fixy fix to remove duplicates
* Fix tests
* typo
* adds check for empty dataframe
* Patch Equity Report
* Update so that image links to website
* linting v2
* silly imports
* adding tempfile
* add imap unordered
* reordering imports
* Adding databento as a source (#4293)
* First commit
* Baby steps
* Keys and sdk
* Fix import for api key
* Add SDK endpoints
* Test + api checks
* tests
* roque print of api key
* Changes
* minor
* custom timeout
* improve timeouts
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* Tests
* Integration test
* frozendict remove
* update spec
* rename sdk faq to troubleshooting
* add hidden import
* add hidden imports
* imports again
* valid url check
* new lines and prompt
* split imports
* more spec
* adds cones to the crypto-ta menu
* Fix tests
* Update code to reflect new changes to FinanceDatabase
* Small bugfix for DCF if you have no ticker loaded
* remove yfinance from news
* add reverse fx choices
* black
* ruff
* Add options greeks to the SDK
* Linting
* Delete rogue file and update test and add fixedincome to en.yml
* fix for options screener
* ruff
* updates tests for options screener
* reqs
* updates more test files
* rewrite for test_github_model
* rewrite test for test_syncretism_view
* removes test_view_available_presets[]
* black
* coverage
* adds option screener preset
* Update directories.py
* len & set
* set all list
* adds unit testing for cones
* ruff
* pylint
* adds options screener endpoint to SDK
* test markers
* Testing draft PR mode
* Update package to v2.0.7
* Remove etf/screener and tests
* Updated
* Merge reqs
* Updated readme
* hook test for pyinstaller
* Little fixy fix
* Remove etf/scr from SDK
* Update tests
* Update hook-whisper.py
* oops lol
* Update sdk
* update
* Etf
* removed old trailmap csv's
* Update fixedincome text
* add greeks to trail
* rouge file
* merge killed it
* fix test
* fix build failure
* catch for error message
* fix for frozendict
* caching search and prompting on hub
* whisper model prompts
* Fix long/short issue and fix transform issue
* separates volatility models from cones function
* Introduce CPI functionality
* improves error handling for volatility models when window length is too small
* ur welcome <3
* additional sanity check for volatility_view
* updates volatility_model test
* black
* Fix linting
* Make cpi a little bit more robust
* Add in missing value
* sdk updates
* update dep files
* Update trail_map_forecasting.csv
* import ordering pylint?
* fix trailing comma
* sorted trailmaps
* remove one test artifact
* rewrite test
* Adds the missing pieces.
* adds clickable URL in keys + Databento
* adds databento images
* adds images for Databento
* update deps
* req files
* swap order in databento
* ruff
* mypy
* lint
* sdk
* makes requested changes
* ruff v2..
* replaces screenshot.
* Removed because it shouldn't have been in this PR.
* ruff v3
* Minor edit, move installation to position 2 instead of last
* util linting changes
* linting for controller
* fix test
* test
* Revert some tests
* Guess not
* see if this sticks
* fixes
* Fix linters. Add --video if not provided
* Checkout develop tests for keys
* Release time
* Revert papermill and update gh pages action
* Fix shortname (#4356)
* uninstall brotli on conda test
* Fix issue 4316 (#4357)
* Fix issue 4316
* Updating polygon_model + options_controller
* Tests : FRED
* ruff
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* small bug
* small bug on routines list
* guest as default
* limit logout to users2
* simpler this way
* add logout
* move logout to account & add env var
* put authentication under env var
* fix tests
* remove login
* remove openbb vars on login
* ruff
* revert .toml
* Delete Icon
* Update .env
* fix sdk guest not loading keys
* ruff
* remove press enter & --login
* ruff
* move env load
* load env
* move dot env loading to terminal.py
* fix user sdk login mixing .env with user
* now it works
* fix reset
* fix tests
* ruff
* Login on the SDK using the OpenBB Personal Access Token (#4206)
* openbb key on keys menu
* adding sdk endpoints
* adding login via token to the sdk
* base url
* rename to personal access token
* added docstrings and examples
* openbb is special
* removing extra break line
* making keys working with the personal access token
* resolve conflicting tests
* Revert "resolve conflicting tests"
This reverts commit 2fca2c0ec3.
* using custom requests
* tests
* tests
* tests
* using process_session_response instead
* rewriting some tests
* Fix sdk guest not loading keys (#4207)
* fix sdk guest not loading keys
* ruff
* remove comment
* tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* test record mode vcr none
* remove yes from tests yml
* specify modules to reload
* try disable check api
* UPdate spec file
* Small stocks bug
* avoid reloading in test mode
* will this work?
* skip session tests
* try with env var as well
* mock sdk reload
* pylint
* bump poetry on python 3.8
* adapt to python 3.8
* adapt to python 3.8 remaining tests
* Tests : update cassettes
* Fix linting
* Makes login conditions simpler
* Tests : txt
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* 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
* removing leftover test
* fix forex test to use simple pairs
* fix key error in portfolio test
* fix pylint
* fix stocks_bt test
* fix ca tests
* fixing condition
* fixing int tests
* skipping shroom tests
* adding /red
* linting
* making pre commints happy
* linting
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>
* removed investing/investpy from sources and added #TODO
* removed Investing from events source
* fixed autocompletion for events
* added rank column based on the debt value
* removed options in treasury autocompletion
* fixed autocompletion to use comma instead of space
* fix verification for no data on economy/qa
* fix the exaple
* commented spreadso it don't show on auto completion
* preventing testst from using user default data sources and also removing unused env variables
* fixing tests
* adding empty line after uninterpreted args
* fixing tests
* improve the way fred works by not repeating the request. also, solve some issues with the plot - but not all
* Revert "improve the way fred works by not repeating the request. also, solve some issues with the plot - but not all"
This reverts commit 1094b454a5.
Co-authored-by: James Maslek <jmaslek11@gmail.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>
* switch auto print_help on exits
* display help when home called from home directory
* change in test to expect help cmd
* change in test to expect help cmd
* sets autoexithelp flag on conftest
* supress help string print on quit
* adapt tests to expect help
* adds help on 3 tests missing
* run black
* respect literal bool type
* second attemp to respect literal bool
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* 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 Statistics Menu
* Add Granger Causality test
* Apply Black formatting
* Add Cointegration Tests
* Adjust plotting for Cointegration test
* Add Significant parameter to Cointegration tests
* Move regression functions to seperate .py files
* Progress on Panel Data
* A lot of progress for Panel Data
* Make functions robust and improve documentation
* Re-enable Breusch-Godfrey
* Add modify functionality
* Improve modify functionality
* Add Breusch-Pagan heteroscedasticity test
* Capitalize a word
* Include documentatin for the Statistics Menu
* Update _index.md
* Update _index.md
* Update _index.md
* Fix export statements and add Example datasets
* Update example with Longley's dataset
* Update documentation with a legit source
* Compare the results from each regression models based on the wage_panel dataset
* Updated with all relevant types of regression tables
* Update with all relevant regression types for Panel data
* Update _index.md
* Add change column type, improve OLS, add time and entity effects for FE
* Update documentation and fix a small bug
* Add in Statistics menu, replacing Custom menu
* Remove custom menu
* Add in documentation
* Add in gst files
* Cointegration can be used on any amount of columns
* Add Tests
* Make tests time invariant
* Update Poetry and Requirements
* Change name of Statistics menu to Econometrics menu
* Rename scripts
* Add type in Documentation
* Change names from Statistics to Econometrics
* Add graph
* Update tests with rounding and naming
* Make minor adjustments to fix the tests
* Updating tests : allow extra args for capture
* Apply recorder formatting
* Adding some minor formatting
* Fix error with MyPy
* Attempt to fix MyPy annoyance
* super small style things
* Fix small bugs and add plot command to dwat
* Small description mistake
* Update documentation with missing argument
* Update styling
* Add error handling and add improve show functionality
* Fix merge issue
* Allow import from custom_imports
Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* Added brotli check
* Updated poetry and linting
* Modified to uninstall brotli
* Updated requirements
* Fixed YAML
* Added TOTO
* Added -y to pip uninstall
* Added user flag
* Using python -m
* Switched to conda
* Changed where we remove
* My idea for how we handle Rich moving forward
* remove independent consoles
* FIxed pylint issues
* add a few vars
* Switched print to console
* More transitions
* Changed more prints
* Replaced all prints
* Fixing tabulate
* Finished replace tabulate
* Finished removing rich from Tabulate
* add Panel around menu
* add GST watermark under feature flag
* Fixed 46 tests
* Delete test_screener[False].yaml
* Delete test_screener[True].yaml
* Fixed the rest of the tests
* add help and source color vars and use rgb
* rich on stocks/options
* update rich on disc, dps, sia
* rich in gov, ins and scr menus
* ba and ca menus with rich
* Fixed import issue
* Fixed some tests
* removed termcolor
* Removed prettytable
* add rich to remaining stocks menus
* FIxed linting issue
* Added James' changes
* Updated dependencies
* Add rich to cryptocurrency menu
* refactor economy and forex
* refactor etf with rich
* refactor mfunds
* refactor rich rest
* not specify style so default color works well on any background
* Fixing mypy issues
* Updated tests
* More test fixes
* James' test fixes
* Updating tests : stocks/screener - fix cassettes using BR
* Updating tests : crypto
* Updating tests : disable DEBUG_MODE
* Updating tests : stocks/fa/yfinance
* minor fixes that escape
* Improve the rich table function (that replaces tabulate :D )
* Fixed bad code
* delete rogue file + dcf fix + NoConsole
* sia mypy
* fuck you linter
* fuck you linter pt 2
* skip hehe
* i hate the black linter
* ubuntu mypy attempt
* Update : rich_config + gtff
* Updating tests : conftest
* Updating tests : stocks
* Update : rich_config
* Updating : rich_config
* make panel configurable for Theodore :b
* colors update
* Merged
* Updating : rich_config + feature_flags
* Updating : rich_config
* Updating tests : stocks
* Updating : feature_flags
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>