* 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>
* Began the fax
* Bumped ruff
* Fixed a BUNCH of ruff errors
* Fixed a lot of ruff errors
* Simplify if statements
* Fixed black
* Updated some stuff
* Updated some stuff
* A lot more ruff fixes
* Added a fix
* Added a fix
* Fixed mypy
* Fixed some stuff
* Reverted one thing
* Small fix
* Small fix
* Small fix
* Added fix
* Added fix
* Update requirements
* remove twitter functions
* remove twitter functions and all references to it
* remove twitter functions
* remove twitter functions and all references to it
* Fix units on cpi
* crlf - lf
* missed one
* update ba menu integration test
---------
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
* Update all_api_keys.json
* Update CONTRIBUTING.md
* Create json-yaml-validate
* Update release-drafter.yml
* Update json-yaml-validate
* fix test
* add json lint to general
* Update tsconfig.json
* Add a json_validate exclude to not check tests and certain known violations
* fix workflow
* not sure why this didnt exclude?
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Adds details/image for installing C++ Build Tools
* Update installation_updates.md with screenshots
* Update installation_updates.md
Screenshots for MS C++ Build Tools
* definitely not juan walking me through everything
* trying to pretty it
* start doing same axis with hold
* actually do the sameaxis correctly
* Better docstring
* Fix mypy
* mypy3
* pylint fixes
* Add message about candle
* might work, might now
* Update stocks_controller.py
* Update plotly_helper.py
* Update plotly_helper.py
* Make fmp view legends nice
* Update helper_funcs.py
* Add custom legends for when hold on
* bigger font
* add colors to new axes
* add custom title, remove location
* Start guide.
* Update plot-holds.md
Add figures
* More words
* Update plot-holds.md
* Finish guide
* tests
* Sneak in test updates for release
* guess not sneak test
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
* 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>
* 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>
# Description
Simply edit to explain new feature
- [ ] Summary of the change / bug fix.
- [ ] Link # issue, if applicable.
- [ ] Screenshot of the feature or the bug before/after fix, if applicable.
- [ ] Relevant motivation and context.
- [ ] List any dependencies that are required for this change.
# How has this been tested?
* Please describe the tests that you ran to verify your changes.
* Provide instructions so we can reproduce.
* Please also list any relevant details for your test configuration.
- [ ] Make sure affected commands still run in terminal
- [ ] Ensure the SDK still works
- [ ] Check any related reports
# Checklist:
- [ ] I have adhered to the GitFlow naming convention and my branch name is in the format of `feature/feature-name` or `hotfix/hotfix-name`.
- [ ] Update [our documentation](https://openbb-finance.github.io/OpenBBTerminal/) following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/website). Update any user guides that are affected by the changes.
- [ ] Update our tests following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/tests).
- [ ] Make sure you are following our [CONTRIBUTING guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md).
- [ ] If a feature was added make sure to add it to the corresponding [integration test script](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_terminal/miscellaneous/integration_tests_scripts).
# Others
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* improving handling of logging handlers
* removing alias
* lint
* removing debug print
* adding alias back
* adding the commithash to the system so it gets logged
* doing posthog on hub_user login
* ruff
* tacking this on - docs update
* identify and alias together
* fixing conditions
* the juan way
* ruff
* don't send logs to S3 if posthog is an active handler
* branch name on the posthog logs
* removing duplicate import
* fixing tests
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Adds a flag for Heikin Ashi Candles on stocks/candle
* ruff
* pylint
* doc strings
* fix typo
* update integration test file
* updates the docs accordingly.
* remove second if statement
* requested change
* adds check for the expected columns
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>