Commit Graph

2837 Commits

Author SHA1 Message Date
Colin Delahunty
ea0a3bbc5c Fixed import bug in report and dashboard notebooks (#1632) 2022-04-05 12:34:04 +03:00
minhhoang1023
b4e44d23d0 Update test documentation (#1630)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-04 22:15:05 +03:00
jose-donato
01391c2564 New Open Source menu (#1603)
* adds os menu

* remove tests

* fixed tests

* fixed date in sh

* updated alt controller tests

* updated api fecthing/handling

* lint

* updated website folder name and tests

* alt tests

* tests

* tests

* keys for github

* updated tests

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-04 19:08:50 +03:00
minhhoang1023
1f92bb9d97 Fix coin_map_df returns nan (#1627) 2022-04-04 19:02:45 +07:00
didierlopes.eth
39d6955a04 Fix logging for users that don't rename parent folder to OpenBBTerminal (#1613)
* Fix terminal for issues when the repository keeps GamestonkTerminal name

* the logs will work regardless of parent folder they are in

* Logging : move log folder

* Fixing bug + Refactoring + Allow calling Terminal from outside the repo

* Black

* Remove comment

* SettingsController : fix

* Black

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-04-04 12:29:50 +03:00
Colin Delahunty
826cd8a723 Add tests for bots/stocks (#1616)
* Added test_quote

* Added dps tests

* Added more tests

* Added government tests

* Added insider tests

* Added options tests

* Added sia tests

* Added ta tests

* Readd coverage rc

* Added test
2022-04-03 21:13:14 -04:00
meatpi
406a6dc1be Added helpful messages to twitter model (#1622)
* Added helpful messages

* ran black on file

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-04-03 14:40:59 -04:00
didierlopes.eth
1e24d02e1e Powerful stock search (#1617)
* improve stock search dramatically

* docs

* Update _index.md

* fix tests

* black formatter

* fix tests, some...

* Tests : Fixing stocks>stocks_controller

* Tests : Fixing stocks>stocks_helper

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-04-03 16:20:20 +01:00
didierlopes.eth
5cc2ee9e14 add star history (#1619) 2022-04-03 09:14:02 +02:00
Colin Delahunty
43ba21a51e Shorten CI Time (#1615)
* Remove dual linting

* Runs tests concurrently
2022-04-02 21:19:49 +01:00
Colin Delahunty
6538c0ce14 Expanding bot tests (#1561)
* Expanding bot tests

* expanded tests

* Added tests

* Added stock test

* Fix filepath

* Attempted mock

* Bots : test_run_telegram

* Enhance tests

* Fixed black

* Expanded tests

* Added fix

* Ingore interactive files

* Removed bot dependency installation from tests

* Fix one black

* Fixed black

* Added init.py

* Added pylint disables

* Added skip

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-04-02 14:47:46 -04:00
jmaslek
ffbce37aeb Edit portfolio value for add as well as a spelling error (#1614) 2022-04-02 12:19:47 -04:00
Szymon Błaszczyński
0f7154b584 Get into oanda submenu (#1611)
Comment-out not needed checks for `to` and `from` currency.
Add `oanda` forex source in dictionary.
Fix #1608
2022-04-02 09:31:36 -04:00
Arjun V
d52032836e Rename Gamestonk Terminal to OpenBB Terminal in the web version (#1609) 2022-04-02 02:51:46 +02:00
Mabel Oza
870a4a3071 chore: updated the readme, removed the use of the slang Karen and Gan… (#1606)
* chore: updated the readme, removed the use of the slang Karen and Gang, using these words lightly diminishes the weight of harm it caused minorities in the past

* Update README.md

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-04-01 16:19:16 -04:00
mrawdon
c5a88d3f6e Update README.md (#1604)
Updated jupyterlab documentation paths, replaced gst with openbb
2022-04-01 18:20:24 +03:00
Chavithra
6346268f91 Logging : fix filter (#1602) 2022-03-31 19:42:58 +02:00
Chavithra
057180df4c Bug : Fix #1600 (#1601)
* Fix 1600

* Revert file

* Linting

* Linting
2022-03-31 16:38:55 +02:00
Zedris
3ae7defb8f Add Raspberry PI installation (#1562)
* Update README.md

I added a Raspbian (Raspberry Pi) installation section for the readme.
this entire installation took had me nuking my installation about 10-15 times to figure it out so it worked:P
Thanks for all the help Dangle!!

* Fixing link

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-31 02:16:22 +02:00
Chavithra
f35b426531 Bug : fix #1597 (#1598) 2022-03-31 00:24:48 +02:00
Chavithra
9d33f638f1 Renaming GamestonkTerminal (#1596) 2022-03-30 13:14:00 +02:00
Jeroen Bouma
453f388ff9 Fix API Keys images not showing in README (#1595) 2022-03-30 12:09:56 +02:00
Artem Veremey
fe1068882e Updating and renaming Docker images (#1594)
* Updating and renaming Docker images

* Renaming OpenBB Terminal.bat
2022-03-29 14:44:44 -07:00
Jeroen Bouma
f5582a5218 Redo images and update the README (#1591)
* Redo images and update the README

* Last fixes

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 22:54:37 +02:00
Artem Veremey
b7d30c22dd Updating dependencies and putting kaleido into a shibajail (#1592)
* Updating dependencies and putting kaleido into a shibajail

* Downgrading jinja2 to accomodate papermill

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 12:26:12 -07:00
Chavithra
eb6b39cf14 Fix missing website links (#1593) 2022-03-29 20:48:54 +02:00
Theodore Aptekarev
0d9ba141a6 Fix packaged app default feature flags (#1590) 2022-03-29 21:13:46 +03:00
jose-donato
6d2ad33e11 Hugo docs renaming (#1587)
* renaming

* image

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 20:45:58 +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
Jeroen Bouma
938d987855 Re-add installer README after name change (#1586)
* Re-add installer README after name change

* New image and move legacy images

* Update Twitter handle

* Change Gamestonk to OpenBB

* Add download links
2022-03-29 19:27:08 +03: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
Chavithra
e884d606fa Logging : masOS+DiscordBot (#1580)
* Log Generation : refactor log_dir handling

* Data Collection : fix boto3 edge case

* Logging : linting
2022-03-29 14:32:33 +02: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
minhhoang1023
8bdc35e82f Apply dynamic magnitude (KMBTP) to y-axis plots (#1565)
* Apply magnitude functions to y-axis ticker

* Fix testing failing

* Adjust datetime format for x-axis

* Handle small magnitude case

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-28 16:27:35 -04:00
minhhoang1023
94d3242a3f fixing timezone bugs (#1566)
* fixing timezone bugs

* Revert tz settings

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-28 13:42:19 -04:00
jmaslek
3cde8bdca7 Fix reversed options hist (#1569) 2022-03-28 13:05:12 -04:00
Chavithra
07537790fe Log Collection : Enabling (#1567)
* Privacy : update md

* Log Collection : markdown

* Log Collectiong : linting

* Log Collection : Enabling

* refined text

* refined text2

* Log Collection : update privacy md

* Log Collection : markdown

* refined text3

* Log Collection : disabling rolling clock

Co-authored-by: LBolte29 <lbolte@gmx.net>
2022-03-28 17:47:19 +02:00
Chavithra
b2ac3465e5 Log Collection : Change endpoint (#1564)
* Log Collection : change url

* Log Collection : settings update + retry policy

* Log Collection : change sending order on close
2022-03-28 13:35:00 +02:00
didierlopes.eth
684b644ef5 fix regression (#1563) 2022-03-28 01:25:17 +01:00
Jeroen Bouma
644095bbc6 Update README files to reflect new installation method (#1551)
* Add Installation process + new GIF

* Add in user-friendly API Keys documentation

* Grammar

* Testing Markdown hook?

* Ain't working apparently

* Add Markdown linting fix

* Change malicious software message

* Add Markdown linting fix

* Add in Installation menu into the main README.md

* Small fix

* Is this the fix?

* Work.

* Found it

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-28 00:34:06 +01:00
jmaslek
bb45e4a7a6 Add qa to updated crypto menu (#1557)
* Add yf to crypto load

* silence pylint too many branches

* Add yf chart

* Add exception handling when coins are not found

* Fix tests failing

* Address PR Comments

* Change the backwards yf crypto chart and volume label

* fix gst file

* add qa to crypto

Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-26 15:37:42 +00:00
Colin Delahunty
2444b4e53f Fix main tests (#1560)
* Fixing tests

* Fixed embarassing mistake
2022-03-26 09:35:27 -04:00
Colin Delahunty
c2b035c4da Fixing tests (#1559) 2022-03-26 08:53:42 -04:00
Chavithra
20ce4aa734 Log Collection : fixes (#1558)
* Log Collection : expired files issue

* Log Collection : add timeout at exit

* Log Collection : fix access keys issue

* Log Collection : linting
2022-03-26 10:19:50 +01:00
Colin Delahunty
dd4734bd90 Added Tests for Bots (#1523)
* Added common/helper tests

* expanded bot testing

* few changes

* import fix

* missed removing test config

* column order fix

* import fix

* removed df2img add new deps

* req

* update readme

* add dep for image export, fix

* get rid of yahoo-fin, add image export lib

* import issues in some machines fix

* images dir fix

* init fix

* fix?

* test

* test

* Fixed text handling

* missed a tbl

* Fixed tests

* Fixed poetry

* Fixed kaliedo

* Fixed codecov

* Fixed dependencies

* Added fix

* FIxed tests

* Added image cleanup

* Added tests

* Fixed tests

* Added test fix

* Added conda

* Updated bot path

* refactor

* poetry

* update dict/ fix slack image upload

* Update config_discordbot.py

* Updated

* Fixed tests

* Skipped energy

* fixes

* black

* fix

* import

* fix nan on smile

* added env settings

* add cmds_text dict, some chgs

* merge bot test fixes

* fix duplicate

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: Colin Delahunty <colindelahunty@MacBook-Pro.local>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-03-25 18:21:41 -04:00
minhhoang1023
9923c6974c Add YahooFinance to crypto load (#1533)
* Add yf to crypto load

* silence pylint too many branches

* Add yf chart

* Add exception handling when coins are not found

* Fix tests failing

* Address PR Comments

* Change the backwards yf crypto chart and volume label

* fix gst file

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-25 17:19:27 -04:00
teh_coderer
8fe51328d9 Refactor/multi img (#1535)
* few changes

* import fix

* missed removing test config

* column order fix

* import fix

* removed df2img add new deps

* req

* update readme

* add dep for image export, fix

* get rid of yahoo-fin, add image export lib

* import issues in some machines fix

* images dir fix

* init fix

* fix?

* test

* test

* Fixed text handling

* missed a tbl

* refactor

* poetry

* update dict/ fix slack image upload

* Update config_discordbot.py

* fixes

* black

* fix

* import

* fix nan on smile

* added env settings

* add cmds_text dict, some chgs

* make own file for help_text

* better feargreed handling

* plt close

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: DjangoServer <colin99delahunty@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-03-25 16:39:31 -04:00
Colin Delahunty
600590f1aa Fixed tables (#1554)
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-25 13:16:13 -04:00
Theodore Aptekarev
cfb1eb392f Update reports and dashboards with nicer looking examples (#1524) 2022-03-25 18:10:54 +03:00