Commit Graph

118 Commits

Author SHA1 Message Date
montezdesousa
07e8faee5d rename parsers, not good name 2023-07-12 20:48:58 +01:00
montezdesousa
d44c4ae250 update README with settings location 2023-07-12 20:23:09 +01:00
montezdesousa
9e8e711737 rename command_runner_wrapper and clean up refs 2023-07-12 20:07:35 +01:00
montezdesousa
ea9220cf25 move user_settings.json to .openbb_sdk 2023-07-12 19:41:11 +01:00
montezdesousa
99f3182cba don't build if there is nothing to build 2023-07-12 19:21:56 +01:00
montezdesousa
474cc7c7d8 don't build if there is nothing to build 2023-07-12 19:18:47 +01:00
Theodore Aptekarev
b11f37d904 Update readme 2023-07-12 20:12:55 +02:00
Theodore Aptekarev
e5a9a7f427 Update folder structure for the SDK v4 (#5212)
* Move openbb_provider

* Add lock file for provider core

* Move sdk core

* Move openbb-provider readme text to the correct location

* Move data providers code

* Remove decoupling leftovers

* Lower the supported python version to 3.8

* Move sdk extensions

* Rename provider imports

* Update openbb pyproject toml

* Fix import statements after the move

* Update lock files

* Change ignored path for the static assets

* Add obb mascot

* Fix providers not being available in the openbb package

* Remove providers extension in favor of the coverage router in sdk core

* username is optional

* linting

* Change openbb_sdk_core to openbb_core

* Bump ruff pre-commit to latest version

* Bump ruff to latest in github actions

* Make ruff and pylint lint only the code in diff in GHA

* Attempt to fix broken linting action

* Attempt to fix the broken linting action II

* Lint code with pre-commit

* Revert all changes to github actions

* Revert to using ruff 0.0.256

* Use dot for local imports

* Re-commit lost forex pairs

* Fix fmp's typo that made it to the openbb data points

* Add other_investing_activities field that has a typo in fmp's api

---------

Co-authored-by: montezdesousa <montezdesousa@gmail.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-07-12 18:43:30 +02:00
Pratyush Shukla
f61ffb56ca Add forex.pairs to get available forex pairs 2023-07-12 18:39:21 +05:30
Igor Radovanovic
d46e6859ae Improvements 2023-07-12 14:58:25 +02:00
montezdesousa
6db1f50e4f username is optional 2023-07-11 20:21:22 +01:00
montezdesousa
0273c902cf typo on results 2023-07-11 16:56:43 +01:00
Igor Radovanovic
fa172be157 Feature/docstring generation (#5209)
* Docstring poc

* Linting

* Improve docstrings

* linting

* Docstring improve

* Docstring cleanup

* Docstring cleanup

* Cleanup

* Docstring improve

* Docstring improve

* Cleanup

* Improvements

* Improvements

* Fix bug

* Improvements
2023-07-11 14:11:38 +01:00
montezdesousa
5b1a13d6ef black 2023-07-11 11:49:44 +01:00
montezdesousa
734b923ded update class docstring 2023-07-11 11:48:15 +01:00
montezdesousa
63a880d2c1 fix prov interface typing 2023-07-11 11:46:48 +01:00
montezdesousa
5eb24734d6 fix prov interface typing 2023-07-11 11:46:02 +01:00
montezdesousa
a616111dd8 expose data as property 2023-07-11 11:37:02 +01:00
montezdesousa
e8772f1590 move classmethod 2023-07-11 11:33:31 +01:00
montezdesousa
8eb70b1f4f add func name to error 2023-07-10 21:13:44 +01:00
montezdesousa
1955663f98 add coverage router, remove providers 2023-07-10 19:05:54 +01:00
montezdesousa
c652cd2dd3 Merge branch 'feature/openbb-sdk-v4' of github.com:OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-07-10 19:03:50 +01:00
montezdesousa
f1aa6b6f63 darren fix for date index 2023-07-10 19:02:04 +01:00
Theodore Aptekarev
eceb4a232e Make packagebuilder not crash if linter doesn't exist 2023-07-10 16:06:36 +02:00
montezdesousa
6f0e3946ec another round of clenaning in provider interface 2023-07-10 14:15:13 +01:00
montezdesousa
5efa9d18d9 make extra_params mandatory 2023-07-10 02:22:24 +01:00
montezdesousa
b2cbdc65e2 removee optional extra_params 2023-07-10 02:16:28 +01:00
montezdesousa
e765ff5c1c add username to hub session and rename session folder to .openbb_sdk 2023-07-10 01:31:27 +01:00
montezdesousa
63e2072822 fix forex load and add crypto load 2023-07-10 00:56:02 +01:00
montezdesousa
03645bb826 add forex load 2023-07-10 00:43:31 +01:00
montezdesousa
e191d14fc9 add fred provider 2023-07-10 00:36:44 +01:00
montezdesousa
1edaf8edd7 remove need to send back provider explicitly 2023-07-10 00:21:31 +01:00
montezdesousa
10e2921d25 add default if no default defined 2023-07-09 23:56:11 +01:00
Pratyush Shukla
fb0cde0f76 added comsplit as stock split calendar from fmp 2023-07-09 17:32:39 +05:30
Pratyush Shukla
6f2966e300 added benzinga to global news command 2023-07-09 17:25:20 +05:30
montezdesousa
d197acf220 add support for default providers by route 2023-07-08 18:05:56 +01:00
Theodore Aptekarev
38c8edc76e Fix imports for installed python packages 2023-07-07 21:28:53 +02:00
Diogo Sousa
a9de3ea554 add input parsing layer to builder 2023-07-07 15:44:13 +01:00
Diogo Sousa
7ee48aa09e add space before validate_arguments 2023-07-07 14:25:58 +01:00
Igor Radovanovic
b79613cb20 Ruff 2023-07-07 14:46:25 +02:00
Diogo Sousa
71854ee86d full utils path 2023-07-07 12:09:11 +01:00
Diogo Sousa
fc6e995a15 reduce code duplication 2023-07-07 11:55:25 +01:00
Diogo Sousa
ee1d77a68d revert provider default changes, not ready yet 2023-07-07 10:30:23 +01:00
Diogo Sousa
df6dbf1db6 remove unused code and add comment 2023-07-07 10:23:29 +01:00
Diogo Sousa
7e53774b25 fixes on provder router 2023-07-07 10:18:56 +01:00
Diogo Sousa
d11c00c7d6 move imports on command runner wrappers 2023-07-07 09:51:07 +01:00
Diogo Sousa
3e99a5f0ac fix providers router 2023-07-07 09:48:23 +01:00
Diogo Sousa
6fc8a70254 pin&lock urllib3 2023-07-07 09:40:22 +01:00
Diogo Sousa
c951b5f930 fix method in coverage router 2023-07-07 09:28:24 +01:00
Diogo Sousa
b2527d4ba5 add comment 2023-07-06 17:34:39 +01:00