Commit Graph

25 Commits

Author SHA1 Message Date
Colin Delahunty
99fc1be4cf Remove selenium (#2898)
* Removed selenium dependency

* Removed unused file

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 10:15:38 -04:00
montezdesousa
732a614937 Allow users to change api keys through OpenBB SDK (#2642)
* set fred keys through api

* linting

* doc change

* expose api keys dict

* allow optional persistency of api key change

* black

* place decorators

* add keys paths

* av and fmp keys

* some fixes

* rewrite av, fmp, fred cassettes

* quandl key

* polygon key

* rewrite polygon cassette

* news and tradier

* cmc key

* change some docstring

* change some docstring

* filtered keys dict on mykeys

* simplify mykeys collection

* revert arg to persist

* finnhub

* iex key

* reddit key

* reddit docstring

* check for prefix before removing

* glassnode key

* glassnode virtual path

* bitquery keys

* twitter key

* robinhood key

* degiro keys

* oanda key

* binance keys

* si key

* coinbase key

* refactor btcrb dates and logic

* walert key

* coinglass key

* regenerate cassettes

* cpanic keys

* ethplorer keys

* replace ouput status failed msg

* smartstake keys

* gitub keys

* messari keys

* eodhd keys

* santiment keys

* remove unused imports

* typo formatting test

* remove forbidden arg

* fix btcrb test

* fix test import

* revert cassette changes

* fix more tests

* fix last failing

* black

* try to change status to int code

* change status to int

* first try at keys controller refactoring

* fix some tests accordingly

* display msg on set

* change some vars

* remove elifs

* add progress bar and remove duplicate key check

* add mykeys and refresh to menu

* remove unused import

* change mykeys output to df

* remove check keys from keys ctrl tests

* update test split to new structure

* reduce duplicate code

* upper case

* change var name

* rename mykeys df cols

* add keys integrations tests

* add mykeys test to keys controller

* fix mykeys

* fix wrong eodhd var name

* pylint

* test_set_key

* black

* patch dotenv kinda

* fix mypy

* remove refresh

* filter mykeys df

* filter mykeys df

* update integration tests

* first unit test for set api key

* add 2 more test cases to fred

* add persist test to fred unittest

* add av unittest

* add polygon unittest

* generate av cassettes

* add unittests av, fmp, quandl, polygon, fred

* change si token to key

* forgot controller func

* unittest: news, tradier, cmc, finnhub, iex, bitquery

* add si unittest

* update eodhd key name

* add unittest: walert, glassnode, coinglass, cpanic, ethplorer, github, messari, eodhd, santiment

* black

* add reddit unittest

* refactor unittests to handle multi args

* regenerate cassettes

* add more unittests

* add degiro, oanda and rh unittest

* generate oanda records

* fix rh and degiro unittest

* fix oanda unittest

* black

* flake8

* fix si controller test

* move tmp

* pylint

* fix av test

* fix fmp key check

* rewrite fmp

* rewrite oanda output

* fix quandl check

* rewrite expected

* supress logger exception

* fix iex cloud key

* remove iex warning

* fix coinglass check key

* cpanic fix

* regenerate cpanic cassettes

* flake8

* fix smartstake keys check

* regenerate expected output

* fix eodhd

* try at binance

* black

* fix controller tests

* pylint

* disable warning

* flake

* add option to show keys

* add Enum to model

* regenerate test output

* update contributing

* flake

* fix type hint

* remove status msg dict

* pylint

* regenerate and remove unecessary cassettes

* remove duplicate return

* supress traceback

* remove unused imports

* update some docstrings

* add todo

* add export option to mykeys

* minor change

* refactor color scheme

* update contributing

* update contributing

* regenerate cassettes

* fix check output

* small msg change

* small details

* rewrite some tests

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-08 12:30:23 +02:00
Pietro Monticone
69baae4889 Fixed a few typos (#2136) 2022-07-22 18:01:11 +01:00
Theodore Aptekarev
c5c2f3f8d4 Update jupyterlab deps to resolve dependabot alerts (#2082)
* Remove old naming leftovers

* Update jupyterlab deps

* Bump jsdom to a patched version

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-07-17 12:45:02 +03:00
Sugato Ray
1ea75579ee update install instructions for jupyterlab (#1929)
- removed jupyterlab/gst* with jupyterlab/openbb*

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-06-13 15:08:46 +08:00
mrawdon
c5a88d3f6e Update README.md (#1604)
Updated jupyterlab documentation paths, replaced gst with openbb
2022-04-01 18:20:24 +03:00
Chavithra
9d33f638f1 Renaming GamestonkTerminal (#1596) 2022-03-30 13:14:00 +02:00
Artem Veremey
c6c711f1a0 Updating JupyterLab dependencies (#1589) 2022-03-29 09:20:24 -07: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
cfb1eb392f Update reports and dashboards with nicer looking examples (#1524) 2022-03-25 18:10:54 +03:00
minhhoang1023
0127c37c20 Fix ENABLE_RICH bug & fix test not catching the bug (#1448)
* Fix rich bug & fix tests not catching the bug

* Remove feature_flags diff

* Remove enable_rich and enable_rich_panel from ff

* Add back enable_rich_panel

* Setting default value back to True

* Disable rich when running tests

* Remove COLOR

* Fix tests

* Rewrite tests

* Remove default cassette

* Rewrite tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-14 14:15:12 +00:00
didierlopes.eth
f69bd5b449 sentiment investor key is unused, only token is used (#1453) 2022-03-09 01:14:56 +00:00
Theodore Aptekarev
e2299132d8 Explicitly resolve marked package to a secure version (#1295) 2022-02-01 16:23:11 +03:00
Theodore Aptekarev
0ca2583a6e Upgrade jupyterlab extension deps to mitigate vulns (#1258) 2022-02-01 08:34:28 +03:00
Colin Delahunty
eb0dde4603 Refactored Reports (#1123)
* First working program

* added Voila support

* Attempt to fix requirements

* Revert depen

* Another dependency test

* Fixed errors

* Small changes

* Fixed help

* Added port warning

* Fixed continued terminal use

* Last change, we good fam

* Added placeholder so we can have stored

* Didier changes

* Fixed exit

* Fixed issue
2022-01-04 20:51:11 -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
a616764601 Update jupyter dependencies to mitigate the vulnerabilities (#997)
* Update jupyter dependencies to mitigate the vulnerabilities

* Upgrade JupyterLab version

* Upgrade jupyterlab dependencies

* Update the package.json with the up-to-date jupyterlab version

* Explicitly resolve the latest version of the json-schema module

* Upgrade extension lock files

* Upgrade playwright and it's dependencies
2021-12-01 22:25:55 +03:00
Artem Veremey
ba783c74c0 Updating Jupyter Lab dependencies (#974) 2021-11-23 12:04:03 -08:00
Artem Veremey
7208174117 Juputerlab dependencies security updates (#934) 2021-11-09 23:28:09 +03:00
Artem Veremey
2b53b30380 Jupyter updates (#907)
* Jupyter updates

* Updating cvxpy and degiro-connector
2021-11-03 23:06:33 -07:00
Theodore Aptekarev
afff494296 Add Jupyter lab terminal launcher tests (#765)
* Add simple test for the jupyterlab terminal launcher extension

* Bump playwright version

* Update docs and docstrings
2021-10-15 10:20:39 +03:00
Artem Veremey
1106bd4838 Updating Jupyter extensions dependencies (#797) 2021-10-08 19:31:18 +03:00
DidierRLopes
6a2792ea8e Add documentation extension to Jupyter Lab (#745)
* Add documentation extension to Jupyter Lab

* Fix lint

* fix pyupgrade

* Change label from Documentation to Gamestonk Documentation

* Improve code after review
2021-09-12 23:07:29 +01:00
Artem Veremey
bb17974e7e Implement Jupyter Lab container (#741)
* Updating dependencies to address pillow security

* Implement Jupyter Lab container
2021-09-12 08:07:22 -07:00
Theodore Aptekarev
4b8a82f3ae Introduce Jupyter Lab extensions (#718)
* Add folder for Jupyter Lab extensions

* Add initial settings menu extension code

* Add initial terminal launcher extension code

* Add lab extension build files to ignore

* Update settings form sections to be populated from a loop

* Update terminal launcher

* Add script load env from settings

* Update settings schema

* Update settings forms to handle nested schema

* Satisfy eslint

* Lint python code black

* Remove unused python API

* Satisfy eslint

* Update extension icons

* Update terminal launcher menu commands

* Update settings infrastructure for both extensions

* Update docstrings

* Lint python code black

* Lint more python code black

* Add structure for website

* Update labels.yml

* Update the settings form population with user settings

* Add node_modules of the test folder to gitignore

* Add UI tests for the settings extension

* WIP: Update terminal launcher extension code and wip settings

* Add development setup documentation

* Pass settings to environment variables in the launcher

* Update settings extension schema to include custom python path

* Satisfy eslint and flake8

* Add setup.py to mypy exclude paths
The setup.py that goes with the jupyterlab extensions fails the mypy
check and excluding them is the only workaround atm

* Check mypy hook

* Fix linting error raised by pyupgrade

* Change setting name to be different from a system variable

* Update launcher to set env variables with bash stdin

* Clean up unused scripts

* Make jupyterlab mandatory in poetry

* Add Jupyter Lab extension installation docs

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: didier <dro.lopes@campus.fct.unl.pt>
2021-09-09 21:34:04 -07:00