Commit Graph

11 Commits

Author SHA1 Message Date
Chavithra
b93671ad0b SDK : faster and simpler architecture (#3289)
* SDK : split features

* Fix linting

* SDK : remove functions

* SDK : update openbb object building

* SDK : comments

* Typing

* Typing

* Typing

* SDK : update logs

* SDK : Breadcrumb

* SDK : Breadcrumb + Operation

* SDK : spell

* Linting

* Tests : SDK

* SDK : Operation

* SDK : Operation

* Linting

* enable wrong import position

* added logging info

* added log supression

* reverted the order

* SDK : update trail_map

* log suppresion as configuration

* changes reports to use the new sdk

* changes dashboards to use the new sdk

* changes dashboards to use the new sdk

* updated the documentation

* Tests + Linting

* Replace old sdk by new sdk

* Linting

* SDK : import + map_dict

* Linting

* Linting

* SDK : sdk + trail_map

* Linting

* SDK : forecasting

* SDK : update import path

* SDK

* SDK : md

* Linting

* removed unused functions

* trunc args to a max of 100 characters

* added logging when exceptions

* .md files

* SDK : add signature on operation + linting + remove trail on Breadcrumb

* Linting

* Move tests

* Linting

* Linting

* Linting

* Linting

* Linting

* Linting

* Linting

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2022-11-09 22:25:12 +01:00
Colin Delahunty
9a4251987d Handle bad network connections (#3116)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-28 09:52:50 +01:00
hjoaquim
66f7d25edb fix logging (#2923)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 21:17:07 +01: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
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
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
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
jose-donato
4b4e86ad3b Integration with Shroom (#2367)
* adding shroom

* added more shroom functions

* temp commit

* temp commit

* updated to use helper

* added tvl

* added shroom to keys

* tests

* updated to match didier fixes

* little fix in the example

* adding tests with Mr.Donato

* fixing decorator for models

* fixed tests for model w Mr.Donato Mr.Delahunty and Mr.Sousa

* feat: added shroom to keys

* added integration test

* re run tests

* fixing pylint

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: @montezdesousa
2022-10-10 14:22:43 +01:00
DidierRLopes
f14fdfe7a2 Improve SIA experience as based on feedback (#2264)
* improve sia experience

* Pytest : stocks/sector_industry_analysis controller

* Tests : rewrite expected files

* refactor based on Jer feedback

* add the code that I forgot to push lol

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-22 13:10:27 +01:00
Colin Delahunty
002d1a4ce4 Added fix for alphavantage key and fraud command (#1660) 2022-04-08 12:22:49 -04: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