* add model file for Montreal Options Exchange
* mypy fixes
* define attributes under __init__
* type error fix
* another pylint fix
* adds tests for tmx_model
* black
* mypy
* adds expirations test and re-records
* black
* capture error message in test
* mypy
* add __docformat__ line
* improves get_all_ticker_symbols
* removes python magic command for new cell
* adds TMX as source for SDK chains
* starts on a new method for loading options data returning a standardized object
* add load_options as SDK endpoint
* intrinio response - not complete
* adds tradier to load_options
* add source attribute to options object
* restore legacy nasdaq last price function
* yFinance underlying_price fixes
* yFinance model fix
* adds cboe to sdk options load
* table fix
* creates options_chains_model.py and updates SDK map
* docstrings added for the class.
* updates tmx_model tests
* fix options_controller test
* adds cboe_model tests
* spelling in docstring
* ruff - unused import
* mypy fixes
* more mypy fixes
* pylint
* attempt to manually resolve merge conflict.
* nasdaq_model fix
* adds test coverage for options/nasdaq_model
* docstrings update for nasdaq_model
* mypy fix
* adds unit testing for options_chains_model
* adds additional tests for intrinio_model
* unused import fix
* fix for .TO symbol and TMX EOD chains
* make CBOE Pydantic
* cboe update
* adds switch for pydantic output from all sources
* black
* index options error handling for Intrinio
* add warning message for index options from Intrinio
* tmx_model enhancements
* cleans up get_ticker_iv() in cboe_model
* fix ticker info for index symbols from cboe
* typo in comments
* adds test for tradier_model.load_options
* cboe optionType as lower case
* add function for calculating chains stats
* black
* trailmap for calculate_chains_stats
* adds test for calculate_stats()
* more details to nasdaq.underlying_price
* typo in docstrings
* mypy - options_chains_model.py
* black - options_chains_model.py
* pylint options_chains_model.py
* standardize response from intrinio underlying price
* add function to validate input of function
* missed type hint
* additional error handling for stats
* adds DTE as column for all sources
* adds strategies function and input validation
* add yFinance test for load_options()
* add Nasdaq test for load_options()
* tests for new functions in options_chains_model
* update sdk trailmap
* rewrite tests
* fixes for tests
* fix tmx_model test
* more pytest
* pytest..
* add vertical call spread function
* some cleanup
* update nasdaq tests
* more cleanup
* black
* pylint
* black
* ruff
* black
* pylint
* black
* pylint..
* tests rewrite
* more pytest
* recapture tests
* Different tests were collected between gw1 and gw0
* adds vertical spreads
* vertical_put_spread
* improve calculate_stats
* mypy
* edge cases
* black
* update tmx,yfinance tests
* new cboe tests
* new tmx_model tests
* fix nasdaq test
* test updates
* fix nasdaq tests
* add test_options_chains_model
* refactor data sources
* black
* pylint
* fixing stuff
* forgot a file..
* codespell
* linting
* mypy...
* refactor OptionsChains class
* pylint
* reconfigure SDK entry point
* fix error handling when data request fails
* ruff
* pylint
* pylint
* Add inheritance and a repr string
* add method for skew
* add method for skew
* fix nasdaq test
* add skew to tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.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>
* 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
* 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
* updating readme
* updating unit tests readme
* integration tests readme
* minor to ref it on the comment
* chaging the example and removing unused files
* updating path
* changing the controller example to follow view and model
* obeying conventions
* mathcing the right controller
* matching examples
* include details on creating a new branch
* removing old references to stocks/dd
* adding sheet name to the export_data example
* circle back autocompletion to queue-and-pipeline
* fixing the list numeration
* Doc
* fixing the tests (were failing bc of changed function name)
* Remove tests/FIXTURES.md
* reverting
* small edit
* lint
* mardown linting
* fixing forecast dashboard
* fixing forecast dashboard
---------
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* 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>
* WIP - command name refactor + eliminate need for an API key to make < 25 requests per day
* check for no Ultima API Key properly
* test_print_help fixes
* reflect changes from #4697
* re-run test_ultima_newsmonitor_view with --rewrite-expected
* re-run tests without breaking news
* 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>
* 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>
* 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>