Commit Graph

3466 Commits

Author SHA1 Message Date
Colin Delahunty
e126ad4e42 Sunsets the web_ui folder (#2879)
* Remove web_ui

* Removed some unused stuff

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:24:34 -04:00
Colin Delahunty
0278804387 Added error handling (#2871)
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:12:41 -04:00
James Maslek
d273dd5510 Eliminate update for packaged app (#2889) 2022-10-17 17:09:17 -04:00
James Maslek
c913e29182 Initialuze econonmetrics choices so that -h can be used (#2890) 2022-10-17 17:08:55 -04:00
James Maslek
7a8f8a0118 actions (#2892) 2022-10-17 16:49:41 -04:00
James Maslek
d8a6509afc Enhance economy menu with custom math functions (#2559)
* Initial test commit

* Trying to improve

* Handle a duplicate column

* Temp solution for mismatched timeframe indices

* Cleanup + website

* tests

* Fixed black

* Update error handling + fix concat bug

* spelling error

* pred was still haning around

* unit tests

* blackformat

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-10-17 16:18:20 -04: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
Colin Delahunty
222c01577f Added non check (#2870)
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-10-17 13:03:00 -04:00
Colin Delahunty
12797d7e45 Attempting to improve accuracy of latest version message (#2874) 2022-10-17 13:01:39 -04:00
0xDareDevil
7c68217eb4 Fixed bug in calling function get_balance and added enhancements to use to_symbol argument (#2877)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 12:59:37 -04:00
Theodore Aptekarev
d7a5b33f13 Clean up docker documentation (#2880) 2022-10-17 11:58:48 -04:00
Chavithra
77106c2f83 Moving scripts and routines into openbb_terminal folder. (#2854) 2022-10-17 10:40:12 -04:00
Chavithra
081ccd2fbd Moving custom_imports into openbbterminal folder. (#2858)
* Move custom_imports

* Tests : updating paths

* Removed custom imports

* Fixed the futures dashboard

* Removed old tests

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-17 15:35:19 +02: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
Colin Delahunty
f03af510a3 Semantics (#2872) 2022-10-17 14:29:59 +02:00
Colin Delahunty
f081375d13 Fixed bad controller call (#2873)
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-10-17 13:56:03 +02:00
hjoaquim
467fe6bd0f Fixes stocks integration tests (#2862)
* fixed integrated test test_stocks_ba.openbb

* fixed integrated test test_stocks_dd.openbb

* improved and centralised the check

* fix lint

* reverted the generalisation and used it localy instead

* fixed typo and removed comments

* replaced 2 if for or condition

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-17 11:36:07 +01:00
John Inge
7c3572daed Bug/2804 e comman wont exit term (#2816)
* add branch

* fix e not working

* fix e not working again

* Delete microsoft.gpg

Co-authored-by: john <john@debian-BULLSEYE-live-builder-AMD64>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: erlandsen-tech <john@erlandsen.tech>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-10-17 10:24:42 +02:00
James Simmons
baf72720da Workflow Changes for New Machines (#2828)
* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update intel_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update m1_macos_build.yml

* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update intel_macos_build.yml

* Update windows10_build.yml

* Update intel_macos_build.yml

* Update windows10_build.yml

* Update intel_macos_build.yml

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-17 09:41:26 +02:00
0xDareDevil
54c5016f01 Exception: variable coin referenced before assignment (#2832)
* Fixed variable referenced before assignment error in source Coinpaparika, Binance, Coinbase

* Changed argument name from query to coin

* Using query instead of coin

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-10-17 07:43:24 +02:00
Raffaele Abate
ecb36bf561 Fix of #2833 (#2861)
* Fix of #2833

* removed debug prints

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-10-15 23:47:10 +01:00
Chavithra
74c8eae2d3 Moving exports into openbb_terminal folder. (#2859)
* Move export

* Black

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-10-15 18:56:51 +01:00
Colin Delahunty
689223957e Fixed crypto dashboard (#2838)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-15 17:26:00 +01:00
Chavithra
bbd971b958 Moving styles into openbb_terminal folder. (#2856)
* Move styles

* Linting
2022-10-15 18:17:42 +02:00
martinb-bb
26c491281c Notify users of old darts version (#2853)
* notify users of old darts version

* format

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-14 23:33:21 -04:00
Colin Delahunty
cbd11209d5 Fix hashrate (#2845)
* Fixed onchain issues

* Fixed onchain issues

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-14 16:56:22 -04:00
Colin Delahunty
137f56ff3f Update bug_report.md (#2848) 2022-10-14 14:24:23 -04:00
Colin Delahunty
5f134b2a3f Updated vsurf and forecast API call (#2843)
* Updated vsurf API call

* Added fixes to forecast dashboard

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-14 18:44:55 +01:00
James Maslek
0b76e5b4c3 Add cboe top of book (#2830)
* Add cboe top of book

* test + merge 1 print table

* unit test + add stocks int test
2022-10-14 13:16:06 -04:00
Colin Delahunty
ff3f0f450a Fixed stocks dashboard tz issue (#2844)
* Fixed stocks dashboard tz issue

* Trying to fix gh-pages CI

* Trying to fix gh-pages CI
2022-10-14 11:47:36 -04:00
Chavithra
53b2377716 Move i18n into openbb_terminal (#2840)
* Move i18n

* Update feature_flags : adding variable i18n_dict_location
2022-10-14 15:48:25 +02:00
Chavithra
aebdddc286 Moving terminal.py file (#2837)
* Move terminal file

* Update terminal_controller + paths

* Add new terminal.py

* Change constant : USER_CUSTOM_IMPORTS_DIRECTORY

* Changing constant : USER_PORTFOLIO_DATA_DIRECTORY

* Changing constant : ROUTINES_DIRECTORY

* Changing constant : DATA_SOURCES_DEFAULT_FILE

* Changing constant : PRESETS_DIRECTORY

* Update paths

* Update `terminal_controller` module

* Apply black

* Update worfklow + precommit hook

* Update workflow

* Tests : terminal_controller

* Tests : terminal_controller
2022-10-14 15:12:22 +02:00
minhhoang1023
cfd2a03d2c Update SDK Hugo server (#2822)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-14 11:53:34 +01:00
hjoaquim
37c39c3191 Degiro fix (#2747)
* little refactor for degiro company news

* fixed message always showing even on login fail

* added if there is a session before trying to retrieve holds

* minor fix to reset the session id

* added a creds reset on logout

* added credentials verification

* adds a test for degiro key

* added 2fa to the test

* added verification for topnews

* fixing pylint

* fixing tests

* fixing import order

* fixing keys tests
2022-10-14 12:13:35 +02:00
Michael Henrique
0ee286b972 fix: numeric_only deprecated FutureWarning message (#2827)
Co-authored-by: Michael Henrique <michael.oliveira@khomp.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-14 08:41:23 +01:00
minhhoang1023
a74439125f Fix wrong export path (#2621)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-10-13 23:51:42 +01:00
Danglewood
67a0c70826 Stocks Menu SDK Introduction - Revised. (#2813)
Revises guide with the requested, @JerBouma.  https://github.com/OpenBB-finance/OpenBBTerminal/pull/2795

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-13 23:50:53 +01:00
martinb-bb
983933faec Regression Models Explainability (XAI) using SHAP (#2766)
* SHAP for regression models

* fixed Xai

* fix colours of axis

* raw explain DF

* naming convention

* removed printing. exports to csv now

* i18n update

* re-add back in. need to set new fix

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-13 17:39:44 -04:00
montezdesousa
1cc76a22a3 Interest rates and spread matrix command - economy menu (#2799)
* add matrix command

* start heatmap

* connect to investpy

* add heatmap to command

* add title

* finetune decimals

* add maturity and change options

* 1 decimal on change matrix

* be explicit about images location

* colorize warning

* add docs to website

* prettify

* specify decimal places

* fix issue with controller

* remove frame

* remove comments

* add more groups

* wrong group name fix

* change command name to spread

* missed website

* add docstrings

* change api path to spread

* ignore flake8

* add some colors

* codespell

* func name

* rewrite expected

* website help

* add unit tests

* flake8

* fix tests

* mypy

* rewrite test

* pylint

* fix integration tests

* fix integration tests

* fix ycrv website info

* add doctring to create matrix

* openbb to default

* clean warning

* update defaults

* add spread to main yml

* forgot openbb here

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-13 15:22:09 -04:00
Michael Henrique
b14484ac81 Fixed iteritems deprecated message #2807 (#2808)
* fix: iteritems deprecated message

* style: Follow pylint rules

Co-authored-by: Michael Henrique <michael.oliveira@khomp.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-13 20:09:27 +01:00
0xDareDevil
56a587edb3 Big Fix: 2815. Updated if condition that was raising exception (#2821)
* Big Fix: 2815. Updated if condition that was raising exception

* Assign Coin to Query. This was raising an error

* Formatting change

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-10-13 19:12:05 +01:00
Colin Delahunty
0254d78741 Improves the forex menu to include the forecast command (#2818)
* Added forecast to forex menu

* Fixed tests

* fix test print

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-13 17:46:52 +01:00
Colin Delahunty
33955fa591 Fixed big, added ability to bring data to forecast menu (#2823) 2022-10-13 11:46:47 -04:00
Colin Delahunty
fcb58ca910 Fixed plotting command (#2809)
* Fixed plotting command

* Added Martin change requests

* Fixed pylint

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-13 10:50:38 -04:00
Colin Delahunty
4304a5c664 Enhances error handling in economy menu (#2819)
* Lots of bug fixes

* Fixed issue
2022-10-13 15:13:50 +01:00
James Maslek
4c09877dc8 Add --export to load functions (#2811)
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-13 08:28:24 +01:00
James Maslek
ad71fe777a Small fixes (#2810)
* Economy/futures source and econometrics load -h

* economy script

* error message

* tests

* remove `trend` from stocks/ba

* integration test scripts
2022-10-13 00:52:53 +01:00
Colin Delahunty
74a79b8572 Fixed warning message (#2805)
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-12 17:02:12 -04: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
martinb-bb
c24e620b83 Forecast i8n name changes (#2790)
* i8n name changes

* including regr models

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-12 13:38:18 -04:00