mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +00:00
cd08218c35aed534ad59309ff2ca99d08e94de6a
10 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
aabf0fc80f |
Feature/pkginstall (#4341)
* Added basic package building stuff * Full mock 1 * Got the thing working Part 1 * Added some signing * Got things working * Starting M1 CI * Got things looking better * Made a fix to env vars * Switched to correct env * Made developer installation * Updates * More updates * Trying again * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * Trying to get signing to work * Did some cleanup * Did some cleanup * Added fixes * Fixed issues * Updated Jereon library * Updated Jereon library * Remove temp fix * Remove temp fix * Updated things * Added fixes * Made one fix * Added fixes * Trying an ACTION * Final fix * Final fix * Final fix * More fixes * Made small changes * Made small changes * Lets see how far we get * Updated output format * Trying to get signing to work * Trying to get signing to work * Trying to get signing to work * Improved the command * Added fixes * Pls work * Theo is a GOAT * THeo is the BIGGEST GOAT * Got more ready * Maybe intel works now * Renamed to correct thing * Renamed to correct thing * Updated singing * Updated singing * Added fix * Added fix * Added fix * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Addede icon generation to CI * Addede icon generation to CI * Addede icon generation to CI * Fixed * Fixed * Fixed * Fixed * Fixed * Update macos_build.yml * Update macos_build.yml * Fixed * Fixed * Fixed |
||
|
|
602cfa2c8c |
[POC] Plotly Backend (#3941)
* Update portfolio_view.py * mypy 1.0 test * Update helpers.py * black * ruff * Update thought_of_the_day.py * isort * Update portfolio_view.py * Update business_insider_view.py * funds,bt,ca,fa view updates * economy,etf,futures view updates * econometrics regression * mypy * reports notebooks, PlotlyTA class adjustments, crypto finbrain view * crypto views updates * crypto views done?, ba, econometrics, funds, reports * update docstrings * Update sec_view.py * portfolio reports * Update equity.ipynb * ruff * mypy + equity reports * Update yahoo_finance_view.py * Update economy_controller.py * clean up returns * mypy * finished dashboards/reports templates * update some tests * Update common.py * Update account_controller.py * Update banner.txt * update tests * tests * Update helpers_denomination.py * tests * tests * finished tests, refactor add_histplot/add_corr_plot * ruff * Update backend.py * mypy * Update backend.py * pywry linux libs for tests * pywry version bump * OpenBBFIgure import changes * Update business_insider_view.py * Update backend.py * tests * bump pywry version * forecast plot_explainability converted to plotly * Update helpers.py * tests * Update helpers.py * tests * Update helpers.py * Update helpers.py * default plotly annotation `showarrow` to false * Update backend.py * fixes * Update poetry.lock * docker * Update openbb.dockerfile * up * Update style.css * bump pywry version * Update unit-test.yml * Update unit-test.yml * figure to image/pdf export * requirements txt files, pywry version bump * mypy, pylint * cleanup * Update covid_view.py * Update helper_funcs.py * Update backend.py * updates * Update backend.py * Update backend.py * bump pywry version * Update poetry.lock * Update trailmap.py * update reports * Update custom_indicators_plugin.py * Update momentum_plugin.py * equity report * reqs files * Update fred_view.py * ruff * Update po_view.py * bump pywry version * reqs txt files * fix installer icons for mac * test updated torch/darts/pyinstaller on mac * Update dashboards_controller.py * Update terminal.py * Update terminal.spec * Update terminal.spec * test * Update poetry.lock * Report adjustments, improved dashboard subprocesses termination * pylint * Update plotly_helper.py * Update plotly_helper.py * pylint * revert darts * test * test * fix * improve shap scatter plot * Update helpers.py * Update helpers.py * cleanup * Update runa_view.py * more cleanupp * fixes * update tests * Update intrinio_view.py * Update intrinio_view.py * Update intrinio_view.py * reqs files, poetry lock * Update backend.py * test for new icon * Update fmp_view.py * updates * Update plotly_helper.py * Update businessinsider_view.py * ruff * pylint * fix previous merge * Update plotly_helper.py * update reqs files * Update directories.py * fix alt covid * fix display_candle data is None load being unreachable, get covid views ready for sdk server * Update covid_view.py * refactor cleanup * plotly_ta adjustments * terminal wide ignore print_table if export * Update plotly_helper.py * forgot to save a few * added edge case fallback if figures are in queue before backend fail * Update ta_class.py * Rename env variable name required to return plotly json * Resolve pydocstyle warnings * Resolve linting errors * revert forecasting/pyinstaller versions * Update terminal.spec * finished incoming fixedincome menu, improve get_ecb_yield_curve speed with multiprocessing * update deps * Update backend.py * fix fred model/view from switch to DataFrame, improve ecb_model * Update config_terminal.py * Update backend.py * black * clean up * Update fred_view.py * Update ta_class.py * Update ta_class.py * Update plotly_helper.py * sync fixedincome * Update ecb_model.py * convert excel to csv for faster processing * cleanup * remove excel files * Update terminal_controller.py * update tests * adjustments/missed figs in export_data * Update cryptocurrency_helpers.py * fixes * account for volume column with no volume when plotting indicators , images autogen POC * Update plotly_helper.py * Update etf_controller.py * Update etf_controller.py * margin arg for export_data func figures, some plot adjustments * logic for numpy array for plotly helper `get_dateindex` function * cleanup * update * req file updates * views * Update backend.py * update tests * Update test_load_none[btc-usd].yaml * convert merged cpi chart * linting * updates * clean * tests * Update openbb.dockerfile * remove test docker in root * Update CONTRIBUTING.md --------- Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com> Co-authored-by: Chavithra <chavithra@gmail.com> |
||
|
|
15d1870194 |
Reorganize project extras for a pip installable package (#3432)
* Re-solve the dependencies for optimization extras * Remove unused reportlab helpers * Update install from source and troubleshooting docs * Fix typos found by cspell * Prevent po menu from launching when optimization toolkit not installed * Add optimization dependencies to default requirements.txt for the CI * Add optimization toolkit installation to the CI * Fix markdown linting * Update CI test dependency installation for matrix tests * Fix markdown linting * Update source installation docs * Clean up ToC in the main readme * Update the SDK documentation * Fix markdown linting after making readme sections linkable * Fix more markdown linting * Fix more markdown linting * Update secrets detection with exclusion rules * Bump detect-secrets configuration * Tune secret detector * Fix more markdown linting * Add optimization toolkit install to installer GH actions * Add optimization toolkit install to docker build * Fix typos * Add "all" extras setting to install torch and riskfolio * Move forecasting dependencies to pyproject.toml * Update CI build configs * Update documentation to feature the "all" extra * Lint markdown * Update docs to specify requirement of having a C compiler * Added log Id to codesigning steps in inteel Macos workflow * Changed disk for the m1 macos build * Changed disk for the m1 macos build * Changed disk for the intel macos build * taking out sigtool removal line * Remove dev version number from pyproject.toml * removing sigtool from all build steps * changes to m1 build and commenting test_report_economy * more m1 build changes * testing exit on conda setup * some more * changing shell to bash to setup conda * bash on lines * bash on all lines * small bash removals * intel fix and test_crypto int test * upgrading setupminiconda version * adding back in intel conda init and reset * intel removal of init * taking bash back out from m1 * removing old codesign lines * adding codesign specific binaries * ssl fix for all terminal * removing if installer * various ssl fixes across commands * fixing ssl mistake * integration test changes * Linting + remove comment * Update poetry.lock * Update requirements * Update the docs to mention that PO is not working on arm arch * Update deps to pin setuptools * Disable reports on pyinstaller packaged version * Update reports * small grammar change for forecast report message * Pin grpcio following introduced regression in 1.51.0 * Update docs to reflect changes in how optimization is installed Co-authored-by: Luqman Bello <lb@Luqmans-MacBook-Pro.local> Co-authored-by: James Simmons <simmonsj330@gmail.com> Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com> Co-authored-by: James Maslek <jmaslek11@gmail.com> Co-authored-by: Chavithra <chavithra@gmail.com> |
||
|
|
7fd72d9ee1 |
Forecasting Menu [Work in Progress] (#1933)
* Gave forecasting memory * Fixed scripts, refactored * FIxed poetry lock * edge case check for forecast target * Improved combine and load functionality * Cleaned up translations * Fixed issue with covariates * Fixed issue checking covariates * Another covariates check fix * Ignored regr and linregr warnings * Fixed covariate issues * switched from forecasting to forecast * Finished transition to forecast * Can add entire dataset with one command * Improved combine description * Removed naming covariates * Created new installation * typo * Make plot show dates if available * Added better handling or users without the menu * Removed unused file * Fix * Better handling for nontraditional datasets * Fixed black and pylint * Fixed tests * Added darts install to main tests * Working on darts with CI * Added back test file * Made large tables print better * naive baseline * typo * Finished naive * no dollar on prediction * fixed positive MAPE bug * quick refactoring * Fixed two different args for same thing * added extra patience * linreg mape fix * info fix * Refactored API, bumped to Darts 0.21.0 * Added fixes * Increased verbosity for wrong column * Updated dependencies * Hid warnings * Fixed importing * Fixed tests * Fixed ugly seasonal plotting * Fixed forecast line color * Switched chart output to blue * Simplified lambda_price_prediction_color * fixed residuals * Chnage * Removed darts from CI per Chavi * Added fixes to tests * Added knnfix * Fixed issue where n!= o * Added changes * Added changes * Imrpoved forecast dash * Added Theo notebook * Added enhancements to dash * Added notebook * Added fix for jupyter lab * Added debug stuff * Change * Updated docs * Fixed formatting * Fixed formatting * Removed prints * Filtered some info * Added button to run model * Improved api * Added secret feautr (no peeking Martin) * Cleaned code * Fixed tests * Added test fixes * Added fixes * Fixes * FIxes for pres * Remove bad tests * Removed knn * Fixed issues with removing mc * doc for conda * Added forecast improvements * Added streamlit support * Fixed issues * fix expo with streamlit due to quantile() * fixed performance issues with streamlit for now.. * clean up historical forecast with new trainer * quick fix for regression trainer params * Added fixes * quick fix for other fix for regression trainer params * table formatting for timestamp * potential fix for inf in feature engineered datasets * Basic working in new format * dw * Trying * Fixed issues * Improved graphing * fixing trainer for LR and formatting * doge and linting * page break * automatic cleaning of datasets * automatic cleaning of datasets- fix * Fixed forecast dates * Made dashboard prettier * Added fixes * Added fixes * Added options * Fixed error * remove caching * adding in spinner * Added vairable n_predict in streamlit * Added mypy fix * renaming and range change * new index for n predict * check positive float for window size * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * renaming * reorg files * Update _index.md * hidden which command for versions * Update _index.md * Update _index.md * which: ns parser * hugo for: which * hugo for: forecasting fix * formatting black * update stock controller test * Lay groundwork for better residual plotting * improved delete to allow for periods in title * improved automatic cleaning of inf * Added new API * Added new API * Added new API * formatting for black * Updated our testing CI * Reverted changes * Added forecast docs * Fixed mypy issues * Fixes tests * Did some refactoring, added a report * new api in streamlit * Added integrated tests * Update _index.md * improved loading in custom dataset * menu spacing * installer fixes * Added docs fixes * Adding comments to test if commit working * Fixed report * naming conventions * formatting * removing unused var * Made last report imporvements * Update README.md * Added fix * Switched to warning * Added fixes * Added fixes * Added fixes * Added fixes * Update economy av view test * Remove forgotten print statement * Update depencencies * Added verbosity to pytest * Added fixes * Fixed pylint * Fixed actions checkout * Added fixes Co-authored-by: colin99d <colin99delahunty@gmail.com> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Co-authored-by: James Simmons <simmonsj330@gmail.com> Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com> Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com> |
||
|
|
79e9275ccf |
Release/1.5.0 (#1926)
* 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 |
||
|
|
53049003f2 |
Fix user path (#1737)
* 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> |
||
|
|
a5b414bf1a |
Default env for packaged apps (#1693)
* 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> |
||
|
|
ccb0b6ca69 |
Adding Necessary files to fix the windows installer splash screen (#1653)
* 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> |
||
|
|
3c2a8cf97f |
Installer fixes (#1584)
* 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> |
||
|
|
ab4de1dd70 |
Create a packaged app bundle with Pyinstaller (#1525)
* 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
|