Commit Graph

27 Commits

Author SHA1 Message Date
andrewkenreich
e6aa412ef3 bump version on nsis installer and change execution type (#1772)
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-05-09 17:16:50 +03:00
Theodore Aptekarev
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>
2022-04-26 14:48:28 +03:00
Theodore Aptekarev
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>
2022-04-21 16:31:30 +03:00
andrewkenreich
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>
2022-04-12 21:46:57 +03:00
Theodore Aptekarev
0d9ba141a6 Fix packaged app default feature flags (#1590) 2022-03-29 21:13:46 +03:00
Theodore Aptekarev
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>
2022-03-29 20:10:00 +03:00
jmaslek
b71abcfbf4 Updating some names (#1575)
* 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>
2022-03-29 09:46:26 -04:00
Theodore Aptekarev
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 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>
2022-03-29 02:35:56 +03:00
jmaslek
d35d24b69d Update black in poetry + update requirements files (#1476)
* Update black in poetry + update requirements files

* might as well run poetry update

* fix env yaml with new cvxpy

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-12 23:04:09 +03:00
Theodore Aptekarev
8c60ae999b Bump all deps following breaking changes in multiple libraries (#1413) 2022-02-22 15:20:08 +03:00
Theodore Aptekarev
0ca2583a6e Upgrade jupyterlab extension deps to mitigate vulns (#1258) 2022-02-01 08:34:28 +03:00
jmaslek
14b1fe166e testing for pygments fix (#1162) 2022-01-08 13:37:48 -05:00
jmaslek
e437f29ae4 Mutual funds (#1106)
* Add mutual fund menu based primarily on investpy (investment.com)

* Add start/end date for loading + some bug fixes

* hugo

* poetry add investpy rich dnspython  then poetry update

* fix reset (need to load country) and dim yfinance commands when country not US

* Fix search and add better error handling

* Catch yfinance commands when country not US.  Improve loading to change country if symbol found but not in matching country.  Changed main menu printing.

* Fix poetry / reqs merge conflict

* review comments

* Once again update poetry

* Clean up poetry to match conda (numpy was culprit)

* cvxpy down

* Think i goofed on generating reqs full

* update poetry metadata

* cleanup after review 2

* move space

* another deps try

* bump pygmnets in yaml

* try something different

* rename console -> t_console (terminal_console) for mypy
2022-01-01 14:16:32 -05:00
Colin Delahunty
caa2c88c12 Stock Dashboard (#1018)
* Added notebook

* Massive refactoring

* Significant enhancements

* Error handling, variable renaming, refacotring

* Reformatted widgets

* Made rolling adjustable

* Fixed date bug

* Began transition to plotly

* Expanding dict

* Expanded analysis, formatted with black

* Added

* Replaced matplotlib with Plotly

* Slight updates

* Enhanced ability to format dashboard

* Fixed duplicate graph errors

* Fixed duplicate graph errors

* Found out which renderers work where

* removed unused code

* Final enhancements

* Updated requirements

* Added conda dependencies

* removing unneeded changes

* removing unneeded changes

* removing unneeded changes

* Updated git ignore

* Added notes

* removed unused code, added comma warning

* Allowed multi select

* Updated dependencies

* Simplified dependencies

* Fixed dependencies again...

* Added line endings

* Improved widgets and title

* Dider improvements

* Removed DS Store (sorry Nintendo)

* Updated requirements files

* Updated yml

* Updated yml

* Updated yaml

* Fixing change

* Allow for lab or Voila

* Updated toml

* Updated requirements.txt

* Update conda-3-8-env.yaml

* Update conda-3-8-env-full.yaml

* Updated

* A tragic forgetting

* Dependency reset (not ready to merge

* removed high entropy

* Another dependency update

* Added in my dependencies
2021-12-30 12:22:21 +00:00
Theodore Aptekarev
37d87c358d Bump dependencies and resolve dependabot warnings (#1092)
* Add pre-commit to dev dependencies

* Bump requirements

* Update charset-normalizer in conda env files

* Bump poetry and numpy in conda environments

* Explicitly add scipy to solve windows test error

* Revert "Explicitly add scipy to solve windows test error"

This reverts commit bb6b4d89bfb0c9d682930199e075af02a7885296.

* Explicitly add a windows supported version of numpy

* Explicitly specify numpy version in the lock file

* Specify supported numpy version in build files
2021-12-29 11:08:38 +00:00
Theodore Aptekarev
2db1a40c60 Update requirements-txt files to reflect latest dependency versions (#1011)
* Update requirements-txt files to reflect latest dependency versions

* Add latest version patches

* Upgrade charset-normalizer
2021-12-04 14:10:29 +03:00
Artem Veremey
5c65f7306d Major dependency updates including deprecation of python 3.7 (#970)
* Major dependency updates including deprecation of python 3.7

* Disabling unsubscriptable-object

* Updating pylint settings

* Updating conda env YAML
2021-11-23 08:25:46 -08:00
Artem Veremey
2b53b30380 Jupyter updates (#907)
* Jupyter updates

* Updating cvxpy and degiro-connector
2021-11-03 23:06:33 -07:00
Artem Veremey
0fd1fe75b4 Updating black and related packages (#790) 2021-10-06 09:03:34 -04:00
Artem Veremey
ecbff24cd2 Updating poetry to 1.1.11 (#789)
* Update python dependencies

* Downgrade jsonschema version

* Updating poetry to 1.1.11
2021-10-05 18:13:08 -07:00
Artem Veremey
6ad25442ee Update poetry to 1.1.7 (#577)
* Updating poetry to 1.1.7 and updating dependencies

* Downgrading pywin32

* Updating snok/install-poetry version
2021-07-29 16:07:27 -07:00
Artem Veremey
64c8fd10fc Adding charset-normalizer explicit version setting and adding Sphinx to dev dependencies (#551) 2021-07-16 19:07:14 +01:00
Artem Veremey
7f195fa3ea Pin a specific version of Sphinx in the conda env (#549) 2021-07-15 16:32:20 -07:00
Artem Veremey
b49c4f09be Removing last mentions of fbprophet and updating dependencies (#508)
* Removing last mentions of fbprophet and updating dependencies

* Adding pytest.ini

* Updating requirements.txt
2021-06-19 13:41:33 -07:00
Artem Veremey
030bec00e5 Dependency on black is fixed in pyproject.toml. Mirroring the setting in conda configs (#483) 2021-06-01 17:00:23 -07:00
Artem Veremey
fe443f1426 Pin jupyter_client==6.1.12 (#482) 2021-06-01 16:00:20 -07:00
Artem Veremey
d8ee258683 Restructuring Anaconda installations (#480) 2021-06-01 12:20:29 -07:00