Commit Graph

62 Commits

Author SHA1 Message Date
Chavithra
263840494b Docker : update publishing (#3545)
* Moving Docker folder into Build

* Workflows : update Docker

* Docker : update compose image version

* Docker : fix volumes path

* Docker : update doc
2022-11-23 10:38:50 -05:00
James Simmons
94e9e295e2 release 2.0.0rc1 (#3531)
* version change to 2.0.0rc1

* Update terminal_helper

* scipy to ^1.9.3

* signing files for intel

* Docker release for 2.0.0rc1

* scipy sign binary

* signing scipy removal

* Update build/pypi

* Checkout terminal_helper.py

* Make pypi build files executable

* changed the version checking

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Luqman Bello <lb@Luqmans-MacBook-Pro.local>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-11-22 19:34:10 -05:00
Theodore Aptekarev
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>
2022-11-22 12:33:59 -05:00
James Simmons
418fef58e4 Forecasting sdk and environment changes (#3381)
* Forecasting sdk and environment changes

* reverting back to correct pyproject version

* reqs update for protobuf

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-11-15 23:46:00 -05:00
martinb-bb
73a622058f removing explicit statsforecast version from conda and fixing numpy (#3291)
* removing explicit statforecast version

* changing numpy to 1.23.4

Co-authored-by: James Simmons <simmonsj330@gmail.com>
2022-11-04 07:04:31 +01:00
fede
826303eec1 [FEAT] StatsForecast AutoETS forecasting model (#2988)
* feat: add autoets model

* feat: update autoets index

* feat: add verbose option

* feat: freq preprocessing

* feat: improve test size call

* feat: add statsforecast dep to conda env full

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-31 14:58:16 -04:00
montezdesousa
a9787dd2d1 Refactor reports menu and make it work on installer (#2878)
* start papermill rollback

* move reports to templates folder

* comment some stuff

* refactor reports controller

* change var names

* clean ctrl class vars

* small refactoring on metadata search

* relocate some func

* breaking changes

* revert some changes

* destroying changes

* change menu appearance

* change menu appeaerance again

* update choices

* change some assets locations

* remove unused vars

* change some docstrings

* rename vars

* its working

* forgot one dash

* omg its working

* clean some code and doc

* change func name

* fix a bug and add some comments

* fix economy report startup

* add custom reports

* allow custom reports

* forgot to delete this

* unused import

* make somestuff more explicit, 5 min rule

* add helper func

* supress errors--no-verify

* add some type checks

* fix check ipynb func

* check inputs in run

* rewrite some integration tests

* remove unused import

* add some docs to website

* add auto completion

* warn if no forecast

* add to do

* add arg name if 1 arg

* add papermill pointing to github main

* add notebooks

* fix terminal spec

* relocated choices files

* merge main

* relocate website docs for reports

* limit user choices

* fix portfolio auto completion

* limit choices fix

* clean som edocstrings

* limit user choices in run command

* improve run parser

* fix msg

* add reports controller tests

* relax crypto choices limit

* contain commands

* pass pre commit

* flake8

* flake8

* ignore mypy

* pylint

* website

* move docs to jupyter tab

* add installer dep

* remove etf

* remove reports

* update reports to main

* handle events erros

* rever reports to previous commits before main merge

* add papermill installer strategies

* add flags to terminal

* avoid sdk crash

* execute notebook in thread

* remove unused sys

* execute report in a child process

* fix some notebook stuff

* fix portfolio report

* fix reports controller volatility

* change api to sdk

* move images

* remove som unucessary installer imports

* remove debugger warning

* move ipykernel launcher

* supress notebook crash

* remove portfolio decorator

* fix run command

* forgot to change this

* add images

* fix portfolio report

* fix crypto report

* linting and tests

* add run integration test

* pylint

* hide reports module args

* try at supressing args

* try at supreccing warning

* solve some os issues

* handle pm errors

* fix warning unrecognized arguments

* change comment

* avoid crash when parameters not found

* fix etf commands

* minor cleanup

* update forecasting check

* fix some linting

* fix futures test

* pylint

* limit user choices to prompt

* limit user choices to prompt

* supress warnings

* revert poetry lock back to main

* papermill pointing to main

* flake8

* forgot requirements

* Update helper_funcs.py

* Update reports_model.py

* choices

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com>
2022-10-26 21:27:30 +01:00
Chavithra
67a50d92c7 Docker + Pypi : update logs + builds (#3016)
* Log : move LOGGING_COMMIT_HASH

* Build : pypi

* Build : docker

* Poetry : pyproject.toml

* Docker : test cd

* Docker : test cd

* Docker : test cd

* Docker : update cd

* Docker : update workflow

* Docker : remove script

* Tests : loggers

* Docker : workflow

* Pypi : build script

* Pypi : adding MANIFEST.in

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2022-10-26 12:43:05 +01:00
Chavithra
eb244a1d8d Docker : building + publishing (#2904)
* fixed integrated test test_stocks_ba.openbb

* fixed integrated test test_stocks_dd.openbb

* improved and centralised the check

* fix lint

* Docker : update ci + build files

* Docker : update build and CD

* Docker : update CD

* Docker : test

* Docker : test CD

* Docker : test CD

* Docker : rename `build.sh`

* Docker : tests CD

* Docker : test CD

* Docker : update CD + build

* Docker : fix CD

* Docker : fix CD

* Docker : build

* Docker : test CD

* Docker : CD

* Docker : CD

* Docker : test

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : build + CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : build

* Docker : test CD

* Docker : build + cd

* Moving `scripts`

* Checkout `helper_funcs.py` from main

* Docker : remove test file with alpine

* fixing readme errors

* fixing missed readme errors

* Docker : build

* Logging : handle docker app name

* Docker : test CD

* Docker : cd

* Doc

* Doc

* Doc : linting

* Doc

* Docker

* Doc

* Fixing `terminal_controller`

* Linting

* Doc : fixing links

* Version 1.9.1

* Docker : fix name

* Doc : add volumes in command

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Simmons <simmonsj330@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-19 18:00:59 +02:00
James Simmons
7196ed1521 Adding documentation for builds and integration tests (#2754)
* Adding doucmentation for builds and integration tests

* trying fixes

* more fixes

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 15:33:40 -04:00
Chavithra
77106c2f83 Moving scripts and routines into openbb_terminal folder. (#2854) 2022-10-17 10:40:12 -04:00
Chavithra
40e486f93b Moving portfolio and data_sources_default.json into openbb_terminal folder. (#2857)
* Move `portfolio` to `openbb_terminal\miscellaneous\portfolio_examples`

* Fixing build

* Portfolio : fixing path

* Add `data_sources_default.json`

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-10-17 15:04:51 +02:00
James Simmons
da7ee5c623 installer fix by changing numpy version (#2806)
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-12 14:09:33 -04:00
Colin Delahunty
0c9a4fafc4 Nhits (#2779)
* Added nhits, updated docs

* Added nhits docs

* Updated docs image

* Added funot docs

* Fixed martin changes

* Added nhits tests

* Fixed hugo issues

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-11 12:03:28 -04:00
Theodore Aptekarev
c7ab888223 Revert "Update env requirements to enable forecasting on m1 macs"
This reverts commit 9be74cee1f.
2022-10-09 23:33:47 +02:00
Theodore Aptekarev
9be74cee1f Update env requirements to enable forecasting on m1 macs 2022-10-09 23:32:47 +02:00
Colin Delahunty
ec9b940626 Update conda-3-9-env-full.yaml (#2753) 2022-10-09 16:10:10 +02:00
Colin Delahunty
17ec68fa44 Update darts (#2750) 2022-10-09 14:07:42 +02:00
Colin Delahunty
35b3faad6d Removed duplicate dependencies (#2744)
* Removed duplicate dependencies

* Updated dependency stuff

* Fixed pytest

Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
2022-10-09 12:22:33 +02:00
martinb-bb
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>
2022-10-08 14:54:43 +02:00
James Simmons
0dbfd1b7dd Release 1.9.0 (#2694)
* version change and pylint ignore

* Resolve black and pylint errors

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-10-06 17:56:29 -04:00
Colin Delahunty
926508c5ca Docker Volume Support and Remove the Last of the Files (Last Docker PR I Promise) (#2715)
* Added fixes

* Added fixes to readme

* Added fixes to readme

* Removed unneeded files

* Final fixes, we ready

* Removing docker/lab-settings.json

* Docker : update doc

* Added fixes

* Added fixes

* Added fixes

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-10-06 10:39:37 +02:00
James Simmons
d0c5c8e288 Portfolio binary bug fix (#2700)
* Removing unused dylib

* Deleting commented out code

* actually removing the binary

* refactoring
2022-10-04 19:10:10 -04:00
Om Gupta
5a3a9f94e5 New path for portfolio data (#2611)
* start portfolio path change

* portfolio path changes

* some more changes

* fix

* allow default files to be imported

* portfolio changes

* allow default portfolios to be imported

* black

* fix pylint

* add files in terminal spec for reports

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-09-26 12:28:58 +01:00
James Simmons
7342b07fc1 Revert back version (#2527)
* Update setup.nsi

* Update pyproject.toml

* Update feature_flags.py
2022-09-09 20:21:23 -04:00
James Simmons
85d1a43127 Release/1.8.1 (#2526)
* Update pyproject.toml

* Update setup.nsi

* Update feature_flags.py
2022-09-09 18:50:35 -04:00
James Simmons
ce0858ac4f Adding feedparser to spec file (#2525) 2022-09-10 00:56:32 +03:00
James Simmons
10fce6d1d7 Release/1.8.0 (#2521)
* Update pyproject.toml

* Update setup.nsi

* Update feature_flags.py

* M1 macos build system (#2504) (#2514)

* Create m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out notarize and staple

includes codesigning tho

* changing prediction install

I am expecting a code sign error instead of a running the actual executable error. trying with -e prediction instead of -e prediction-m1-mac

* Changing prediction, keeping code signing

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* taking out integration tests

* rerun

* Update m1_macos_build.yml

* adding pred back to turn to false

* making same as upstream release

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* Changing detatch disc location

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-09-08 19:21:01 -05:00
James Simmons
926cf0c147 Intel installer bug fix (#2505)
* solution try 1

* solution 2

* Delete entitlements.plist

* fixing locations

* uncommenting integration tests

* Changing names

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-09-06 16:39:28 -04:00
James Simmons
0f01b8437d Release 1.7.0 (#2300)
* Version Bump

* Changing pred install for intel workflow

* Disabling prediction menu

* Fixing codesign paths

* Changing disk location for detach

* Making sure to not pull from main

* changing windows build

* Hopefully final change for the release

* codesign fix

* fixing package stuff

* Fixing feature flags and env

* Adding comments about feature flags

* Changing windows build back

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-12 13:44:27 -04:00
Theodore Aptekarev
507cbfab39 Small fix (#2240) 2022-08-03 07:48:45 -04:00
James Simmons
d6291ead84 Release/1.6.0 (#2106)
* 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>
2022-07-21 00:19:13 -04:00
Theodore Aptekarev
5267af2876 Bump python version (#2061)
* Add python 3.9 conda environment

* Bump dependency versions

* Bump default python version in github actions to 3.9

* Update install documentation

* Update tests

* Bump black version in conda environments

* Skip test_display_norm in econometrics menu tests

* Bump black and tensorflow versions in pyproject toml

* Attempt to fix failing concurrent windows tests

* Skip test_display_norm in econometrics menu tests

* Bump python in conda test workflows

* Update requirements.txt

* Fix old version fallback tag
2022-07-12 16:30:59 +03:00
Theodore Aptekarev
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
2022-06-10 21:32:13 +02:00
Theodore Aptekarev
83f35e80c2 Release/1.4.0 (#1909)
* 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>
2022-06-07 16:14:36 +03:00
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