* 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>
* 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>
* updates Terminal Intro Guide for Equity Options
* adds the images.
* grammar
* makes changes
* adds Terminal Intro Guide for Mutual Funds
* adds screenshots to mutual funds intro
* html correction
* Translate Swedish description into English for Codespell
* remove unusual options table
* updates some links in Terminal FAQ
* Updates Terminal Basics Guide for 3.0. Images to follow.
* spelling
* Adds the images.
* missing ! from markdown image
* Grammar correction.
* small wording changes
* updates Terminal Forecast intro
* adds screenshots to Forecast intro
* spelling in Forecast intro
* Forecast intro - grammar in last sentence
* Adds section for Support, removes themes sections, updates page description
* Adds images for support section.
* Add list of tips for support ticket info
* update metaphor
* make path jumping a standout note
* round of revisions - image to follow
* Image example for selecting a new data source.
* change tables sentence to say preferences are updated directly on the table.
* fix double note
* fix typo
* Makes annotated font brighter and easier to read.
* swap data source change pic.md
* Updates Terminal Technical Analysis Intro
* Adds screenshots to TA Intro
* typos
* make intro spin up pywry window with usage basics (#4871)
* fix ruff - unused import
* This indent keeps changing
* words
* updates Terminal Customization Guide
* adds image for table index locking
* chart/table cheat sheets
* Add another cheat sheet header
* fix
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@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>
* 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>
* hi didier
* Add files
* Add the changelogs from GH
* Api keys + cleaning up spelling + found some old refs
* spelling
* Merge branch 'feature/documentation3p0' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/documentation3p0
* updates to faq sections
* spelling
* fixing FA so it runs
* adding guides - need pics
* telegram/discord docs markdown format conversion
* fix: added new reference styles
* adding examples to discord - remove play button
* updating bot docs
* image showing on docs
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
* feat: added imageurl for examples
* updates Stocks SDK intro
* bot pics update
* updating rest of bot docs
* adding code for generating index and bot updates
* linting
* Downgrade scikit-learn to avoid DistanceMetric32 not being found
* add some updates to guide for auto select commands
* Add pytest-recorder to requirements.txt
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
* fix: new table design
* fix: added trillions
* fixing some raw data
* fix: trying to fix global+resize
* feat: improving design
* fix: new styling and lot of reorganizing
* title fix
* feat: new html
* fix: bottom bar
* fix: table dates
* fix: table html
* fix: new filtering
* fix: new filtering
* fix: long
* Lint
* Lint again
* fix: beautiful james suggestions
* fix: some more fixes
* fix: typo
* fix economy bug
* feat: added toast to notify user and some more cleanup
* fix: more issues
* tests
* fix: james updates
* fix: added banner to charts as well
* fixing title
* better fix
* feat: added column resizing and any number of columns
* auto column width - poc
* feat: added colors toggle, support to display source, fixed some more issues
* fix: table deploy
* fix: table issue
* fix header
* fix: some fixes
* fix: remember pagination and default pagination to 30
* mypy
* Colins tests
* Fix economy test
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.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>