* poetry, req files
* installer spec pywry 0.6.0 changes
* fix `df_volume` being sent as `pd.Series` on Macs
* more `pd.Series` fixes
* bump pywry to 0.6.1 -fixes linux install
* 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>
* Change installation from pip to poetry
* Change env name to obb
* Change shell for mac build
* Activate the env
* Shell again
* Shell from bash to bash -l {0}
* windows poetry
* fix
* provactive fix
* fix
* venv
* removing pathex
* artifact to v2.2.4
* v3
* zip and unzip test
* fuzz fix
* numpy stupid
* asdf
* cmd line
* forgot to activate
* asdf
* asdf
* i dunno anymore
* back to old faithful
* fix spec
* fixing zip maybe
* path fix
* fix path
* code cleanup
* change artifact back
* test new nsis info
* didnt like my version
* add start program to end of install
* adding launch button to installer
* testing version file
* Copy over mac os
* poetry
* reqs
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
* small bug
* small bug on routines list
* guest as default
* limit logout to users2
* simpler this way
* add logout
* move logout to account & add env var
* put authentication under env var
* fix tests
* remove login
* remove openbb vars on login
* ruff
* revert .toml
* Delete Icon
* Update .env
* fix sdk guest not loading keys
* ruff
* remove press enter & --login
* ruff
* move env load
* load env
* move dot env loading to terminal.py
* fix user sdk login mixing .env with user
* now it works
* fix reset
* fix tests
* ruff
* Login on the SDK using the OpenBB Personal Access Token (#4206)
* openbb key on keys menu
* adding sdk endpoints
* adding login via token to the sdk
* base url
* rename to personal access token
* added docstrings and examples
* openbb is special
* removing extra break line
* making keys working with the personal access token
* resolve conflicting tests
* Revert "resolve conflicting tests"
This reverts commit 2fca2c0ec3.
* using custom requests
* tests
* tests
* tests
* using process_session_response instead
* rewriting some tests
* Fix sdk guest not loading keys (#4207)
* fix sdk guest not loading keys
* ruff
* remove comment
* tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* test record mode vcr none
* remove yes from tests yml
* specify modules to reload
* try disable check api
* UPdate spec file
* Small stocks bug
* avoid reloading in test mode
* will this work?
* skip session tests
* try with env var as well
* mock sdk reload
* pylint
* bump poetry on python 3.8
* adapt to python 3.8
* adapt to python 3.8 remaining tests
* Tests : update cassettes
* Fix linting
* Makes login conditions simpler
* Tests : txt
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* 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
* bump
* Update release branch
* revert conda yaml
* logging hash
* Update version number
* Added scipy to intel
* Add xgboost to intel
* add scipy libs to windows only
* add scipy sparse
* update scipy and pywin
* update tests
* UPdate installation.md to reflect 2.2
* fix yf unit tests
* Try to get futures tests working
* Ignore tz in yf download
* Found another end date needed
* delelte yf cache
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* removing astropy and riskfolio
* trying to find forecast error
* adding back in signing and notarizing
* adding import checker command
* adding darts to spec file
* removing darts and adding all entitlements
* removing debug entitlement
* adding back in debug
* reverting changes
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Fixing paths for build procedure
* Adding back env file
* Updating pyproject and setup.nsi files for release
* Update version on feature_flags.py
* Fix default sources path not working in installers
* Fix crypto/ov/wf
* Remove old and slow tests from openbb scripts folder
* Adding a note about to explain that prediction is not available for Mac users
* Disabling prediction menu via env file
* Fix tkinter bug on windows ci by specifying the mpl backend
* Adding prediction back in and deleting previous comments about prediction not being available
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Add more build assets and all notebook checkpoints to ignore
* Delete old reports that were accidentally added to the repo
* Fix portfolios not bundling
* Add mac installer image assets
* Update license
* Make the code folder hidden in macOS package
* Add folder and launcher icons programmatically during build
* Change dmg creation tool to create-dmg
* Update macOS installation docs
* Bump project version
* Update macOS installation instruction image links
* Fix macOS installation instructions styling
* Unify macOS install instructions image size
* Point download links to the website vs github
* Fix macOS launcher self-quarantine command
* Fix routines not launching in packaged apps
* Fix .openbb test mode not displaying filenames during test run
* Remove file with weird apple character in path
* Fix stocks_bt integration test script
* Stop keeping parts of third-party libraries that are bundled
* Update pre-commit
* Disable false positive pylint in some crypto models
* Add i18n support to packaged apps
* Add more sklearn hidden imports
* Fix routines files path
* Fix stocks/pred openbb test script
* Fix website not building because of expo command removed
* Bump project version and update deps
Co-authored-by: Chavithra <chavithra@gmail.com>
* Decouple export path composition into a separate function
* Fix typos, linting and text formatting
* Improve cross platform compatibility of user home path handling
* Fix export path for pir and dcf
* Remove excessive iteration from fa integration test
* Add investpy data to fix funds menu
* Clean up logs dir before build on macOS
* De-quarantine terminal package on launch on macOS
* Add docstring
* Update dcf test data
* Remove recording new data every time pycoingecko tests run
* Skip pycoingecko tests
* Update deps to fix CI tests on main
* Bump Pygments version to fix the CI
Co-authored-by: piiq <piiq@tinag.ru>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Remove defaults json in favor of a .env in a cross platform specfile
* Use ENV_FILE from obff across the app
* Add venv packaging support to the specfile
* Make silencing explicit
* Fix bug in integration tests report printout
Co-authored-by: piiq <piiq@tinag.ru>
* Adding Necessary files to fix the windows installer splash screen
* Bundle defaults json into project root location on mac
* Bundle linearmodels and statsmodels with pyinstaller on mac
* Tell dotenv to override defaults
* Fix a typo and add a "todo" in comments
* Explicitly silence bandit's false positives
* Fix typo
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* quick econ fix
* black
* keys and feature flags
* terminal name 👀
* some more replacements
* some more replacements
* edit pyproject
* gst -> openbb
* add example portfolios back to git
* Update api from gst
* sorry. skipping some tests
* another round of names
* another round of test edits
* Missed some .gst refs and update timezone
* water mark stuff
* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS
* Add statsmodels and linearmodels datasets to bundle
* Update openbb test scripts to exit after they're done
* Fix default export path for packaged apps
* Update packaging settings after rename
* Exclude jupyter and report from packaged apps and testing
* Fix typo
* Remove divcal from test because it freezes the terminal
* Add openbb mac icon
* Add windows icon and splashscreen
* Fix markdown linting
* Fix gov & economy failed test (#1585)
* fix more GST to OpenBB Terminal
* Fix gov & economy fail tests
* Small changes
* Patching valuation & performance command
* Change GTFF to OBBFF
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* Resolve no-else and inconsistent return
* Set default predict to true
* Fix multiple bugs: Add ylabels to bt menu & Fix reports bug (#1581)
* Add y labels to all bt commands
* Fix reports bug
* Update crypto market
* Update crypto market
* Remove gst folders and remaining files
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Break CI
* Break CI again
* Fix small rsi bug (#1588)
* Add y labels to all bt commands
* Fix reports bug
* Update crypto market
* Update crypto market
* Remove gst folders and remaining files
* Add back crypto market
* Update report controller
* Remove bt view from gst
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Clean up remainder of Gamestonk
* Fix CI back
* Force CI to install pytest
* Tests : fix test_menu
* Fix loggers linting
* Rename default OPENBB feature flags
* Rename defaults feature flag file
* Loggers : fix mypy
* OBBFF to OPENBB in terminal.spec
* Change flair to butterfly
* Force CI to create a new cache
* Force CI to create a new cache in conda tests
* Skip test
* Clear other caches
* Fix linting
Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* quick econ fix
* black
* keys and feature flags
* terminal name 👀
* some more replacements
* some more replacements
* edit pyproject
* gst -> openbb
* add example portfolios back to git
* Update api from gst
* sorry. skipping some tests
* another round of names
* another round of test edits
* Missed some .gst refs and update timezone
* water mark stuff
* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS
* fix more GST to OpenBB Terminal
* Logging : merge conflicts with main
* Revert wrong files
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* Add dashboard widget assets
* Add ipywidgets and ipyflex to project
* Add currencies dashboard notebook
* Update docs and docstrings
* Add pyinstaller to project deps
* Add pyinstaller artifacts to gitignore
* Fix linter errors in terminal.py
* Update cspell hook and action with a pyinstaller specific word
* Add pyinstaller specfile and artifacts
* Add splashscreen image
* Add app icon
* adding splash screen support to terminal.spec and terminal.py
* Restore the conda env build files
* Sync deps
* Add border to the splashscreen image
* Clean up terminal launcher
* Add support for default feature flags in packages apps
* Fix types and linting
* Add splashscreen management to app bootup
* Check prediction feature flag when entering crypto/pred
* Update pyinstaller spec file
* fix .spec file to work for splash and icon - removed the ".."
* Allows to export when using installer (#1568)
* fix export for packaged apps
* fix filename
* Git : replace commit_hash when it is set in config_terminal
* Add update of the git commit hash in gtff default during build
* Add packaged app name and feature flag to logs
* Add platform specific icon assignment
* Add macOS build assets
* Add tensorflow to hidden imports
* Move LOGGING_COMMIT_HASH to gtff
* Adding files/folders needed to .spec and pyinstaller folder. This will make certain commands work again.
* Linting
* Workflow : ignore ./build/pyinstaller from codespell
* Workflow : exclude ./build/pyinstaller from flake8
* Poetry + Workflow : add types-six
* Pyinstaller : remove property_cached, user_agent and vaderSentiment
* Revert "Pyinstaller : remove property_cached, user_agent and vaderSentiment"
This reverts commit dbb3e2b810.
* Clean up local paths in specfile
* Validate deps have correct Jinja version (they do)
* Fix logging commit hash to be set correctly for the logger to see it
Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>