* fixed the type error in issue #5120
* fixed type error in issue #5120
* apply black formatter
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* 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
* 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>
* vscode/Github Codespaces dev container
* move badge to new line
* actually move badge to new line
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* fix: year to string
* don't slice data if line chart, display message if sliced
* Update plotly.html
* improve autoscaling when data sliced
* fixes#5078
* add past contract prices to curve table
* adds secondary curve to viz
* includes error message when no data for selected date
* linting
* adds back linespace
* changed as-of parameter to d and date
* fixes ruff
* more linting and tests
* fixes for pylint test
* edit the xaxis formatting
* fix the tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* no guest if installer
* prevent guest if logout from account
* this not true
* rename reloop var
* ask for email again if no email
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* upload routine to hub on stop
* write cassette
* write cassette
* remove .openb from name
---------
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>
* Add a while condition for futures curve
* Fixes#5047
* Fixes#5014
* point root commands to /usage to avoid 404
* Black wont run in the nightly vs code build lol
* #5071
* mypy
* pylint
* tests
* Fix wrong queue to fa
* Change logic in print_rich_table and display_spacc_community
* changed comment
* Changed logic in print_rich_table
* Got rid of whitespace
* changed comments
* changed formatting
* changed formatting
* changed formatting
* Fixed linting
* sort imports
* added TypeError to exception block and moved print_reddit_post to after the ticker iteration loop so that tables and tickers would be loaded at the same time
* Changed logic in display_space_community to print all reddit posts to a single table
* Quick fix wsb command
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>