* Addition of UK Companies House data. Allows you to search for companies and inspect their details and download any filings including accounts
* reformatting of code
* reformatting
* reformat code
* reformat
* fix codespell issue
* updated for changes in way key are handled
* small reformatting
* added timeout for requests
* formatting
* ruff order fixes
* black reformatting
* merge issue - removed function call_openbb
* black format change
* Added new Companies House functionality to SDK
* formattng
* more Formatting (black)
* Ruff fix
* change return type for function
* forced type conversion
* return type fix
* correct error return type
* fix return type
* deleted companieshouse tests as they require API key
* Extra validation added for when data not exist from remote calls
* Added extra commands to en.yml
* spelling mistake correction
* fat finger trouble corrected
* Save documents with identifying names and allow documents to be viewed directly within OpenBB
* ruff updates
* black changes
* ruff change
* Addition of currently loaded company information in menu
* add entry in the API keys guide for Companies Hosue
* adds images to api keys guide
* adds section in SDK API Keys Guide for Companies House
* test file for companieshouse_model
* changed test data due to ruff line size limit
* resolve merge issues
* resolve merge issue
* doc strings examples
* added docstrings for companieshouse_model
* allow download_filking_document methid in view class to be called from SDK
* added docstring for download_filing_document SDK method
* correct Companies house key literal
* replace starnge . with ,
* add check_api_key decorator to each methopd in controller
* implement next and previous for looping through filings
* ruff changes
* correct tests
* companing filings now allows you specify category
* ruff line length issue resolved
* retrieves all filings and added charges command
* bug fix
* Added limit parameter to filings command, def :100
* fix ruff issue
* added get_charges to sdk and to test class
* resolved ruff line length issue
* add some view tests
* add some controller tests
* applying fix not merged to develop yet, column_keep_types=['Company Number']
* fix i18n description
* update test_print_help
* actually update test_print_help.txt
* Update en.yml - no colon
* rerorder imports - ruff failurre
* simple text change
* ruff fix
* help text change trying to fix pytest issue
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* integrate time gpt from Nixtla
* add to reqs
* add residuals to timegpt
* fix some bugs
* remove twitter functions
* remove twitter functions and all references to it
* start work to integrate date features
* add date_features to timegpt
* remove twitter functions
* remove twitter functions and all references to it
* Update deps for timegpt + askobb
* Update forecast load to set an index to date
* lint
* spell
* mypy
* mypy2
* blac k
* pylint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* turn hold off when run even if no figure
* Add warning text to PlotlyTA
* better wording
* fixes#5232
* Fix askobb + updaate reqs
* bump requests
* Couple other bumps
* Here we go with the mac builds
* That wasn't right
* Not gonna have a good time today
* Previous miniconda
* did that wrong
* Wrong version
* ?
* installer-url instead
* 3.1 not 5.1
* CONDA UPDATE
* Revert the mac builds
* Run poetry lock and update some packages
* bump poetry on unit test
* Fix one test
* Add vanilla 3.11
* Fix issue on runner
* One last try
* Remove windows conda :D
* add USD Liquidity Index to Economy menu
* mypy
* add screenshots to Terminal Economy Intro
* add test to test_fred_model
* add Broad US Dollar Index to list of comparables
* docs pages update
* fix test_nasdaq_model
* ask obb indexing
* return just the calculated series by default
* a grid for Squares
* raw table output
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
* News sentiment feature added
* News sentiment feature added
* Integration test script file added
* Updated code as per PR Instructions
* API key setting and testing code updated
* Unused imports and line-too-long code updated
* Resolved conflicts in config_terminal file
* removed empty line in terminal_controller file
* Resolved conflicts and updated code for Setting API keys
* Suggested changes have been updated
* Changes updated
* conflicts resolved with data_sources_default.json file
* Code Updated For without API key
* Code Updated
* New changes Updated
* Resolved conflicts and code updated
* Small edits
* missed a spelling error
* fix test
* Lint
* pylint rewrite
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* POC for text-to-command
* POC
* gimme -> askobb (#4740)
* Add file to generate index data
* Add generate index file
* Remove data file
* Modified data generator
* Update .gitignore
* linting
* run all cmds with root access. new!
* output msg
* modify model name
* weird logging issue
* refactor for new llama index version
* black
* in case model doesnt know
* black linting
* linting
* more ruff
* imports
* nicer messages
* removing function from economy
* poetry
* prompt refinement
* Update spec to bring in new files
* fix llama import
* help command
* missed trailing ]
* -q parameter
* remove experimental
* switching gpt model functionality
* update prompt
* tik tok on the clock
* fixed print statements
* user run commands
* add return
* fix
* fix
* removing a few depr functions
* Add filter for slashes in askobb query
* force -q command
* removing returns
* Add edge case for custom filter
* add back -q if its not in other args
* minor checks
* new prompt - a little better
* more cases for not finding answer
* return clause
* new txt with summaries
* update index ver
* new index
* Add a log_askobb
* revision on prompt
* black
* poetry lock
* req files
* Codespell
* ruff
* Linting some stuff. Change OpenAI from local to HUB
* Update api-keys.md
* openai key
* remove this. bye bye mypy
* mypy
* mypy...
* mypy2
* fix test
---------
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
Co-authored-by: martinb-bb <martin.bufi@openbb.finance>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* 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>
* Remove stocks/disc/cnews command from terminal and sdk
* Remove disc/cnews tests and test data
* Remove cnews from default sources, translations and intros
* Remove old test data files that are not used anymore
* Add pydocstyle ignore statement to pyproject toml
* Fix print help in stocks/disc controller test
* split table and chart theme
* add comment
* add comment
* josé does not like white
* rename chart, style vars
* change settings controller help
* Update settings_controller.py
* avoid keys to alwyas check status
* ruff
* improve text on show flag
* removing force flag
* use bool
* improve help functionality
* fix tests
* trying to fool pylit
* using exception handling
* printing the result for a single key
* Don't check status if --help
* black
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
* 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
* Update trailmap.py (#4300)
* Fixes Failing AutoDocs (#4304)
* Fixes Failing AutoDocs
* Update test_print_help.txt
* Release 2.5.0 (#4355)
* 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>
* Release/2.5.1 (#4368)
* 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
* merge release into develop (#4359)
* Update trailmap.py (#4300)
* Fixes Failing AutoDocs (#4304)
* Fixes Failing AutoDocs
* Update test_print_help.txt
* 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: teh_coderer <me@tehcoderer.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* Add pydantic to reqs and get ffmpeg in docker image
* initialize session (#4360)
* Unpin old version of jsonschema (#4365)
* puts pip install openbb[all] inside quotes (#4366)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Merge deps
* Hotfix/bug #3837 (#3942)
* Fix: Fixed spaces causing error in --sort flag at crypto/disc/...
* Fixed minor issues
* fixed formatting using black
* Ran tests locally
* fixed top command
* reverse flag to gainers
* reverse flag to losers
* fixed dappradar verbose exceptions
* tests
* tests
* tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* Update release files
---------
Co-authored-by: jeroen <jer.bouma@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.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>
Co-authored-by: Brendan de Faria <brendan.defaria@gmail.com>
* hotfix/Fix troubleshooting and adding lines (#4379)
* Release Branch
* fix print_pretty_prediction, avoid error on DummyBackend.__version__
* Update gh-pages.yml
* fix removed start_required_configurations
* fix gh-pages yarn lockfile, integration tests libs
* ship it
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
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: 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>
Co-authored-by: Brendan de Faria <brendan.defaria@gmail.com>
* fix show version
* update login prompt and account
* update set preference
* fix account controller
* block login/logout if not called from account
* change conditions to start terminal
* fix required args account model
* add not to login command
* pylint
* accounte controller messages
* set default user when logout
* logout then show menu
* remove unused functions
* fix logging bug
* ruff
* fix account unittests
* fix session unittests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Add in new country parameters
* Add in tests corresponding to the new commands
* Update SDK and some more robustness
* Update tests
* Update tests
* Revenue and spending didnt work, then saw spending has many more options
* Small bug
* Update tests and overall improvements
* Forgot to add ccpi
* Make more efficient
* Update tests
* Fix IDX issue within real gdp
* Add quarterly flag to fgdp
* Add integration tests
* Update tests
* Fix SDK and related bugs and fix CPI for SDK
* Zzzz tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* added `USE_INTERACTIVE_DF` to `featflags` menu, `console.print` changed value
* Got things working
---------
Co-authored-by: colin99d <colin99delahunty@gmail.com>
* Improve enterprise, now mktcap, functionality
* Update the scripts to work better with SDK
* Update the tests'
* Update integration tests
* Change SDK
* Spellings
* one more spelling
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>