Commit Graph

3481 Commits

Author SHA1 Message Date
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
Colin Delahunty
6fa85372c6 Added error handling (#2922)
* Added error handling

* Added fixes
2022-10-19 17:09:44 +02:00
Colin Delahunty
2c41a7b642 Make tests work with the pip package (#2916)
* Fixed bad darts import

* Fixed spelling

* Added fixes
2022-10-19 14:28:20 +02:00
Theodore Aptekarev
820cd5176d Fix internationalization dictionary not being loaded (#2907)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 07:06:33 +02:00
hjoaquim
ace5ac607f SDK logs improved (#2893)
* added console prints

* little refactor for degiro company news

* fixed message always showing even on login fail

* initial test with the api logs

* changes log_settings location in order to use it on the sdk; also, modified the actual settings logging to a json.dumps - in order to get a well formed json str

* added logger to the api

* adding decorator to the function as it's copied

* added arguments to the logging

* remove the double log_start_end decorator

* added func_name_override

* Revert "added console prints"

This reverts commit 61d8224e97.

* Revert "little refactor for degiro company news"

This reverts commit ca5239fa9e.

* Revert "fixed message always showing even on login fail"

This reverts commit 05793bff8b.

* added typing ignore

* fixed litting

* added logging of theme and keys

* added virtual path to the logging

* fix flake8

* fixing mypy

* removed predict from the settings

* changed the way we get the keys - after the keys controller pr was merged

* dict escaped to json str

* moved the settings logging for a different file

* added different logging for keys, configs and feature flags

* fixing typo

* removed locals - using directly the args and kwargs gives us the same

* fixed black

* adding sensitive words to exclude from logs

* adding chart arg to logging

* adding all args to logs - default or not

* fix linting

* suppressing logs for reports

* solving conflicts

* fix linting

* little change on the way suppression occurs

* changing decorator to get keys state during notebook execution

* removing unused import

* black

* added dashboards to supress logging on sdk
2022-10-18 19:05:28 +01:00
hjoaquim
7136806103 Renaming api to sdk (#2897)
* renamed api to sdk

* changing docstrings and comments

* changing documentation

* changing .md files

* sdk to SDK

* fix imports on dashboards

* fixed the website docs generator

* re-generate website docs

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 12:02:40 -04:00
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
Colin Delahunty
84b04351de Fix settings not updating right away (#2851)
* Loads env file after creating a new one

* Continued work

* improved error handling

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 09:08:01 -04:00
Colin Delahunty
4fa0b98fb8 Allowed for newly exported files to be loaded (#2894) 2022-10-18 14:28:40 +02:00
Colin Delahunty
779eb7a5dd Fixes Streamlit (#2876)
* Added fixes for streamlit

* Fixes

* Fixed: Remove columns for title section

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-18 13:53:09 +02:00
hjoaquim
2e0012e4a7 SDK logs (#2695)
* added console prints

* little refactor for degiro company news

* fixed message always showing even on login fail

* initial test with the api logs

* changes log_settings location in order to use it on the sdk; also, modified the actual settings logging to a json.dumps - in order to get a well formed json str

* added logger to the api

* adding decorator to the function as it's copied

* added arguments to the logging

* remove the double log_start_end decorator

* added func_name_override

* Revert "added console prints"

This reverts commit 61d8224e97.

* Revert "little refactor for degiro company news"

This reverts commit ca5239fa9e.

* Revert "fixed message always showing even on login fail"

This reverts commit 05793bff8b.

* added typing ignore

* fixed litting

* added logging of theme and keys

* added virtual path to the logging

* fix flake8

* fixing mypy

* removed predict from the settings

* changed the way we get the keys - after the keys controller pr was merged

* dict escaped to json str

* moved the settings logging for a different file

* added different logging for keys, configs and feature flags

* fixing typo

* removed locals - using directly the args and kwargs gives us the same

* fixed black

* solving conflicts

* fix linting

* removing unused import

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-18 10:09:31 +02:00
James Simmons
0a54dacb8e Adding installation method to api readme (#2885)
* Adding installation method to api readme

* Fixed line length

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-18 08:18:40 +02:00
martinb-bb
80f857a22a Allow users to export predictions into raw csv (#2884)
* expo and theta

* rnn + controller updates

* changes and fixes to the rest

* updated docs

* format csv

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 19:47:18 -04:00
Colin Delahunty
a6428a5533 Allows oanda menu to be entered and updates no key message (#2869)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:34:05 -04:00
James Simmons
453832254c Updating Integration Tests Location (#2883)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:29:31 -04:00
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