* remove comment
* replace registry description
* black and add some todos
* remove unused var
* allow description and move provider to title
* fix the data field descriptions
* refactor globalnews
* added `"limit"` to metadata descriptions
* fix cpi command and refactor
* refactored `AnalystEstimates`
* add concat param
* refactored `AvailableIndices` for `economy.available_indices`
* sort and set index to date
* place it inside exception
* move literals to core
* rename descriptions dict
* add descriptions to cpi data
* change description
* black
* refactored `CompanyOverview` for `stocks.fa.overview`
* Updated `DATA_DESCRIPTIONS` in provider metadata
* Updated `symbol` description in `DATA_DESCRIPTIONS`
* fix stock_news alias
* pass standard limit
* fix stock news
* fix to datframe
* rebuild python interface
* refactored `CryptoEOD` for `crypto.load`
* added Field descriptions
* fix polygon stock_news
* fix stock_news data
* ruff
* refactored `DividendCalendar` for `stocks.fa.cal`
* refactored `EarningsCalendar` for `stocks.fa.cal`
* refactored `EarningsCallTranscript` for `stocks.fa.transcript`
* refactored `ExecutiveCompensation` for `stocks.fa.comp`
* first round, refactor registry, executor, map
* ruff
* Allow alias in the provider models for provider specific params
* Updated stock news to use alias in query
* small fixes
* fix interface bug
* black
* exceptions and typing
* ruff
* fix docstring
* sort providers
* push static assets without docstrings
* date Field and optional dates params in `CryptoEOD` for fmp and polygon
* refactored `ForexEOD` for `forex.load`
* add comment
* refactored `ForexPairs` and added Polygon provider
* removed `_price` models from fmp and polygon
* Updated `economy.index` to use `MajorIndicesEOD`
* removed `_price` from sdk models
* refactored `MajorIndicesEOD` for `economy.index`
* refactored `StockEOD` for `stocks.load`
* regenerate sdk
* ruff
* fix bug with global_news
* typing
* add docstrings to registry map
* update docstrings
* add executor query arg
* follow convention
* docstring
* inject provider interface instead
* doc
* safer this way
* docs
* add abstractmethod decorator
* add explicit fetcher property model_name
* remove mode_name prop
* get model name from query params
* force extra params or data to be optional
* replace fetcher list by fetcher dict and black
* explicit depps in prov interface
* explicit depps in prov interface
* no formatted creds
* no formatted creds
* dep injection
* dep injection
* private methods
* just verify credentials
* docstring
* typing and cut doc
* typing
* typing
* typing
* no overkill
* ruff
* don't block if model not found, just warn
* don't block if model not found, just warn
* don't block if model not found, just warn
* empty list if creds None
* check creds before request
* just return the data
* typing
* move query params
* ruff
* move queryparams
* move queryparams
* move queryparams
* fix a bunch o polygon models
* ruff
* partial fix fmp models
* ruff
* refactor more fmps
* create dict by alias
* refactor more fmp endpoints
* bug
* add params to transform query
* ruff
* fix fmp bugs
* has to be annotation
* rewrite static
* typing
* append return type to map
* support return for generic data type
* remove return type for openbb provider
* add todo
* fix small fred typing error
* add more return type info
* better message
* handle multiple types of data (the fetcher should declare them later)
* add comment
* ruff
* handle returns with generic for now (check juan solution)
* fix bug with generic
* fix fmp fetchr dict
* fill return type in the provider lib for docstrings
* polygon stock news
* Update economy_router.py (#5254)
* remove return type stuff
* adapt cpi and overview
* rewrite python interface
* fix to_dataframe
* limit stocks eod output
* rename method
* mypy
* mypy
* mypy chart style
* mypy provider
* mypy ignores
* mypy credentials
* Added Statements Growth endpoints from FMP
* account mypy fix
* privatize account method
* one more mypy
* remove mypy ignore
* rename private method
* Linting
* Docstring generation
* Linting
* move provider.py into __init__.py
* add default to required_credentials -> None
* refactored `KeyExecutives` for `stocks.fa.mgmt`
* refactored `HistoricalEmployees` for `stocks.fa.emp`
* provider docstring
* docstring
* refactored `HistoricalStockSplits` for `stocks.fa.split`
* standardised date in stockeod
* refactored ``InstitutionalOwnership` for `stocks.fa.own`
* removed unused imports
* add `check_fields=False` in `@validator`
* historical dividens
* remove unused helper
* move single used helpers to where they are used
* move single used helpers to where they are used
* move single used helpers to where they are used
* standardise date, vwap in crypto eod and forex eod
* rename __commands__ to __extensions__
* change coverage separator
* the map cannot change sep
* sry
* sry again
* remove comment
* refactored `MajorIndicesConstituents` for `economy.const`
* add some descriptions about provider
* refactored `PriceTargetConsensus` for `stocks.fa.pt`
* refactored `PriceTarget` for `stocks.fa.pta`
* refactored `RevenueBusinessLine` for `stocks.fa.revseg`
* change metadata file name
* docstring
* remove unecessary arg
* ruff & black
* refactored `RevenueGeographic` for `stocks.fa.revgeo`
* refactored `RiskPremium` for `economy.risk`
* refactored `SECFilings` for `stocks.dd.sec`
* refactored `ShareStatistics` for `stocks.fa.shrs`
* refactored `StockInsiderTrading` for `stocks.fa.ins`
* peers
* stock splits
* refactored `KeyMetrics` for `stocks.fa.metrics`
* refactored `StockMultiples` for `stocks.multiples`
* refactor income statement
* rebuild
* fmp balance
* added `StocksOwnership` to `stocks.fa.own`
* added `InstitutionalOwnership` to `stocks.fa.ins_own`
* refactored `StocksOwnership` for `stocks.fa.own`
* cleanup
* refactored `TreasuryRates` for `fixedincome.treasury`
* reorder balance items
* fix polygon bs
* refactored `IncomeStatement` for `stocks.fa.balance`
* refactored base and types
* added static files
* cleanup
* cleanup
* refactored `CashFlowStatement` for `stocks.fa.cash`
* added `stocks/fa` static file
* black and ruff
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
* Update treasury command to get directly from fed
* test
* Fix the codespell lint
* Mypy
* help text
* mypy + askobb update
* pylint now
* Fix#5190
* Fix report
* ruff life
* Fix#5172
* economy report titles
* Make the chart nicer
* include plotly.js in reports html, implement new plotly multi-legends feature
* use `ensure_backend` to `check_backend`, improve charts in reports
* requirements files
* fix files with `CRLF` line endings
* Update widget_helpers.py
* Update widget_helpers.py
* handle unsupported plotly multiple legends version error
* enhances stocks/quote to allow for multiple tickers
* fix for MyPy type error
* fix pylint
* formats index string as title
* adds test for multi-ticker quote and for bad tickers
* adds integration test for multi-ticker quote
* updates docstrings and adds 'openbb.stocks.quote_chart' to SDK
* updates syntax in equity report for quote_data
* ruff
* gets rid of empty lines that got created.
* adds logic to handle input as string when not a list
* re-records tests
* decorators
* Fixed `crypto`, `economy`, `forex` commands in`reports` menu
* Modified sdk.py to use Feedparser API to get news
* Made `basic_info` and `trading_pair_info` tables look prettier in `crypto` template
* Fixed news dataframe by modifying the columns in `economy` and `forex`
* Modified `trail_maps.csv` and generated `sdk.py`
* fixing forecast dashboard
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* fix typing issue that prevents running
* news monitor integration for news
* UX improvements with news monitor integration
* italicize riskExtDesc
* minor cosmetic changes
* minor cosmetic changes
* minor cosmetic changes
* Update ultima_newsmonitor_view.py
* minor fixes to launch properly
* setting Ultima API key
* Ultima NewsMonitor integration into terminal done
* integration of the commands is done
* add Ultima to SDK trailmap, but SDK generation failed on M1 Mac
* add tests
* add unit tests
* Linting and sdk
* display message if not supported by Ultima News Monitor
* Update api-keys.md
* fix stock controller problem + remove source filtering from Ultima
* remove source filtering from Ultima
* add report issue message
* add some error handling in the view to ensure unsupported companies don't get fetched
* remove powered by Ultima Insights from console output
* ran black formatter to fix linting issues
* fix ruff issues
* fix pylint issues
* lint fix
* fixed linting issue and changed keys in the Feedparser model
* get all tests to pass
* proper testing with --record-mode=rewrite
* re-run tests for updated VCRs
* redid black formatting
* re-run test_print_help in stocks controller
* make breaking news output consistent and re-run tests
* remove unused import time
* reran tests with --rewrite-expected
---------
Co-authored-by: ovidysus0 <111447781+ovidysus0@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* simplifying the way we deal with the SystemModel by removing the need for system.json file
* removing the responsability of supression from the controllers
* supressing logs on reports
* fix etf report
* supressing logs on dashboards
* black
* typo
* ruff
* pylint
* refacotr def extract_parameters
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* adding BaseModel
* initial version of the system model
* creating setup functions and removing constants from config_terminal
* removing log_supress const
* fix test
* merge
* system handler
* fix import
* centralized configs setup
* repr to use the BaseModel
* updating i18n dict location
* ignoring warning on wrong type-var
* ruff
* Update openbb_terminal/core/models/system_model.py
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* Update openbb_terminal/core/models/system_model.py
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* import literal
* loading env files before the plot backend is called
* fix tests/openbb_terminal/test_terminal_helper.py
* tests need to have i18n initialized
* fix seeking_alpha tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* feat: adds bot docs to docu
* fix: file structure
* fix: brings changelog and switch platform button
* adding available options and changing Example text
* fix: detect whether iframe, fix availableoptions component, dynamic update third friday for options component
* fix: updated readme to reflect new changes
* fix: made it so from iframe only shows relevant sidebar
* PLAY BUTTON WOOO - works on discord/charting/chart
* comment
* fix: search bar, improve search
* fix: hijacks ctrl+k from iframe, adds visit to hub link
* about
* setting up play button for all images on Discord
* Bot docs updates
* terminal/faqs
* update main page
* add changelog to terminal
* SDK refactoring
* minor reordering
* bot struct in place
* move bot faqs over
* updating bot index and installation
* add new letterings
* fix: adds new navbar
* fix: new bot images and layouts
* updating installation and flow
* black linter
* spelling
* spelling
* The best commit
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@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>
* 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>
* Get rid of required ticker and add -t argument to all of fa
* ta to work without ticker
* Allow bt to be accessed without ticker
* Bt not ticker dependent (last commit was qa)
* Update stock controller
* UPdate tests
* Review changes + update tests
* 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
---------
* Remove undesired example files
* Update the documentation for routines
* Add in video
* Add some additional text
* Add in a routines example that can be activated with --example
* Remove default old examples
* Add portfolio example holdings file
* Add portfolio optimization example allocation file
* Add example files for the portfolio menus
* Remove code that unintentionaly prints the home menu on every routine
* Add home instead of /
* Remove requirement to add file if you have an example
* Ensure portfolio/po/params also talks about docs correctly
* Move all routine, portfolio and screener presets to the correct folder
* Remove presets since they are moved
* Remove presets since they are moved
* Same implementation as for file in po
* Adjust code so it works with new folder
* Adjust code so it works with new folder
* Adjust code a little since I changed folder
* Update screener documentation to include how to create a screener
* Remove old readme
* Update documentation to better reflect where to find the files
* Also update SDK notes
* Update exe with auto complete and more info
* Add images
* Update images and the last script
* Update text to make it more apparent that it has an example attached
* Add section for routine scripts on home menu
* Make call_about more robust and add record and stop
* Update the routine markdown with info about record/stop including video
* Update scripts
* Update portfolio report
* Update tests and report
* fix small load bug
* rewrite help test
* last fix was buggy
* example by default
* fix po integration test
* keep example on arg
* adapt integration test
* fix portfolio integration test
* fix more portfolio integration tests
* pa is not an option anymore
* portfolio report choices only holdings
* update integration test for portfolio report
* Small formatting improvements
* Remove sleep and fix inconsistent return
* Some spelling
* oops
* Fix tests
---------
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>