Commit Graph

6554 Commits

Author SHA1 Message Date
Diogo Sousa
0850423afb expose available providers in provider interface 2023-08-24 17:07:34 +01:00
Diogo Sousa
f73bcc8ac9 avoid bug for placeholder and no provider 2023-08-24 16:36:31 +01:00
Diogo Sousa
3f9b446301 ruff 2023-08-24 16:18:56 +01:00
Diogo Sousa
add4d946a5 Revert "fix bug getting provider for placeholder cmds + ruff"
This reverts commit 1328c0b041.
2023-08-24 16:18:23 +01:00
Diogo Sousa
1328c0b041 fix bug getting provider for placeholder cmds + ruff 2023-08-24 16:16:08 +01:00
Diogo Sousa
4ab40ef085 py38 compat 2023-08-24 15:58:02 +01:00
Diogo Sousa
f1db8063ac pylint + regen fixedincome 2023-08-24 15:46:04 +01:00
Diogo Sousa
12a2bb9a41 supress linter errors if not debug mode 2023-08-24 15:41:50 +01:00
Diogo Sousa
4a708622d2 add black & ruff to core deps 2023-08-24 15:03:47 +01:00
montezdesousa
80b9759d31 Add @classproperty to fetcher for nested return types (#5371)
* add classproperty to fetcher and cpi.py

* type var bound

* validate model in registry map

* better exception msg

* fix fred mypy and add data_type

* typo

* specific model validation

* specific model validation

* reformat error msg

* better

* msg
2023-08-24 15:01:58 +01:00
Diogo Sousa
b5d23051a8 rebuild python interface + fix py38 2023-08-24 14:08:12 +01:00
Igor Radovanovic
1154a49865 Linting 2023-08-24 11:33:49 +02:00
Diogo Sousa
ee454af937 copy env to avoid problems w global state 2023-08-24 00:38:07 +01:00
Diogo Sousa
f3c3259088 update readme 2023-08-23 23:54:59 +01:00
Diogo Sousa
af6f625190 dev_mode hub service + openbb_ namespace to Env 2023-08-23 23:51:48 +01:00
Diogo Sousa
525b327b1c update readme with debug mode 2023-08-23 15:58:24 +01:00
montezdesousa
5d82fb3261 move debug_mode out of system settings (#5366)
* move debug_mode out of system settings

* Update router.py
2023-08-23 15:09:38 +01:00
Igor Radovanovic
2fb9f908a5 Feature/code cleanup (#5363)
* FMP Cleanup

* CBOE Cleanup

* yFinance Cleanup

* Rebuild static assets

* Linting

* linting with @IgorWounds

* fix tests dictstruction with @IgorWounds

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-08-23 01:03:40 +05:30
James Maslek
3044f8e742 Adding to sdk v4 (#5352)
* fix the cpi "audit"

* Add fixedincome.ycrv

* run black

* styling

* add SOFR rates

* add ESTR rates

* add SONIA rates

* add AMERIBOR rates

* add FED rates + run ruff

* clean up

* add fed projections

* Merge remote-tracking branch 'upstream/feature/openbb-sdk-v4' into feature/jm-sdk-v4-updates

* Merge remote-tracking branch 'upstream/feature/openbb-sdk-v4' into feature/jm-sdk-v4-updates
2023-08-22 20:56:55 +05:30
James Maslek
a2063752a9 Small v4 cboe refactor (#5338)
* Improve import speed for CBOE

* add pandas to cboe dep tree

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-08-22 20:53:27 +05:30
Diogo Sousa
f437f7a2f9 revert changes in provider toml 2023-08-22 16:09:08 +01:00
Theodore Aptekarev
5cb397ba83 Update pytest settings for better discoverability 2023-08-22 17:05:38 +02:00
Theodore Aptekarev
722327393b Merge remote-tracking branch 'upstream/feature/openbb-sdk-v4' into feature/openbb-sdk-v4 2023-08-22 17:05:11 +02:00
Diogo Sousa
fc7daf73f2 poetry lock provider 2023-08-22 15:38:30 +01:00
Theodore Aptekarev
e855edb816 Lint ruff 2023-08-22 15:59:54 +02:00
Theodore Aptekarev
8f34e1c4f7 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-22 15:58:14 +02:00
Theodore Aptekarev
fd8cf267d7 Update ruff and pytest configurations of the repository 2023-08-22 15:55:30 +02:00
Diogo Sousa
fa93242f67 remove run_in_isolation: cannot pickle nested classes 2023-08-22 14:30:33 +01:00
Diogo Sousa
b847a91743 ruff 2023-08-22 14:19:19 +01:00
Diogo Sousa
695bb8b331 update readme: command execution 2023-08-22 13:55:33 +01:00
Diogo Sousa
019ecbc17c disable black in App docstring 2023-08-22 13:55:21 +01:00
Diogo Sousa
b9192497bb doc detail 2023-08-22 12:42:57 +01:00
Diogo Sousa
9219bde5b8 update readme: remove journal 2023-08-22 11:53:49 +01:00
Diogo Sousa
a3b2a087e0 restore qa 2023-08-22 11:40:29 +01:00
Diogo Sousa
eece8ca3d4 doc ident 2023-08-22 11:35:26 +01:00
Diogo Sousa
aaad1afd18 fix py38 + metadata ref in docstrings 2023-08-22 11:26:15 +01:00
Igor Radovanovic
8363a8a281 Rebuild QA 2023-08-22 12:12:08 +02:00
Igor Radovanovic
33107bb6ad Linting and improvements 2023-08-22 11:51:48 +02:00
Henrique Joaquim
379cb0bf11 changing posthog project key (#5362) 2023-08-22 10:26:17 +01:00
Diogo Sousa
25d54a31ad improve __repr__ for sdk classes 2023-08-22 01:31:10 +01:00
Colin Delahunty
3147577fc9 bye bye shroom (#5351)
* bye bye shroom

* missed one

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-08-21 21:26:03 +00:00
Diogo Sousa
7045355194 .user got lost in merge 2023-08-21 22:19:16 +01:00
montezdesousa
cd2d7f21a3 Hotfix/squeeze import (#5358)
* remove commit_hash and branch references

* lazy load stats, scipy, pandas_ta

* black & ruff

* adding commithash back to log prefix

* fix test

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-08-21 21:53:11 +01:00
Igor Radovanovic
0359f5e5a3 Merge pull request #5307 from OpenBB-finance/feature/snake_case
Convert all return fields to snake_case
2023-08-21 21:49:22 +02:00
hjoaquim
f22df27501 ruff 2023-08-21 18:01:34 +01:00
hjoaquim
4f4c53596b static assets 2023-08-21 18:01:04 +01:00
hjoaquim
cc490e4558 Merge branch 'feature/openbb-sdk-v4' into feature/snake_case 2023-08-21 17:54:51 +01:00
Henrique Joaquim
0a521a087e Feature/remove unncessary stuff (#5346)
* removing the journal service from the command_runner

* remove the journal service and fix tests

* removing journal from the command_runner

* removing journal entry references and adding optional metadata

* rebuilding static assets

* removing all references to journal entry

* removing all references to journal and journal repository

* removing journal query references

* restructuring the command runner

* fix argument mismatch and settings to user mismatch

* dropping command runner session

* re generation of static assets

* ruff n black

* removing introduced bug

* removing duplicate reference due to merging

* 3.8 compatible static assets

* changing the way we deal with erros - removing the Error model

* removing unncessary filters

* fixing tests

* regenerating static assets

* remving mongodb references from user service

* remving mongodb references

* updating dependencies with removed pymongo

* updating dependencies with removed pymongo

* removing useless call

* fix typo

* ruff

* fixing tests

* ruff

* removing leftovers

* making registry map 3.8 compatible
2023-08-21 17:46:14 +01:00
tehcoderer
b925b8b32a Merge branch 'feature/snake_case' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/snake_case 2023-08-21 11:37:50 -04:00
tehcoderer
da7b1c8d7e fixes: major_indices_eod for intraday, optional company_overview atrs 2023-08-21 11:37:30 -04:00