Commit Graph

6484 Commits

Author SHA1 Message Date
Diogo Sousa
3b312138a6 move get_branch request to logging_settings 2023-08-18 16:41:59 +01:00
Igor Radovanovic
e0776b4e55 MyPy improvements 2023-08-18 15:52:29 +02:00
Igor Radovanovic
379ece5dd2 Build static 2023-08-18 15:00:59 +02:00
Igor Radovanovic
c38e3908a8 Fix more mypy warnings 2023-08-18 14:48:13 +02:00
Igor Radovanovic
fb8872ea09 Fix chart-related mypy errors. Co-Author: ’hjoaquim’ 2023-08-18 14:02:22 +02:00
Igor Radovanovic
d912d622c7 Linting 2023-08-18 13:29:51 +02:00
Diogo Sousa
695f33f8f0 add futures to app docstring 2023-08-18 11:57:23 +01:00
Diogo Sousa
ae65f5b503 pylint 2023-08-18 11:54:47 +01:00
Diogo Sousa
0bda5f3ae6 add OBBject class docstring 2023-08-18 11:49:49 +01:00
Diogo Sousa
9bb64998e2 move OpenBBError class to error model 2023-08-18 11:45:50 +01:00
Diogo Sousa
0d5a7bd1e0 black 2023-08-18 11:28:47 +01:00
Diogo Sousa
82a209e1cc rename sdk_token to pat to follow hub convention 2023-08-18 11:28:33 +01:00
Diogo Sousa
eb2c85899a mypy provider interface 2023-08-18 11:19:01 +01:00
Diogo Sousa
de2fc465ec mypy package builder 2023-08-18 11:14:00 +01:00
Diogo Sousa
7549b648c1 mypy reg map 2023-08-18 11:11:38 +01:00
montezdesousa
3e89ce3ab3 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-18 11:00:52 +01:00
Igor Radovanovic
6af3053ad2 Feature/fetcher cleanup (#5330)
* Linting

* added extra params and file cleanup in yfinance

* `yfinance` Fetcher refactored

* `cboe` Fetcher refactored, pydocstyle pass and cleanup

* `yfinance` Fetcher cleanup and pydocstyle pass

* `cboe` Fetcher cleanup

* ruff + black

* Linting

* Fetcher cleanup and typing, bug fixes

Co-authored-by: montezdesousa

* Fix CPI

* Fix CBOE typing

* Fix yfinance typing

* MyPy improvements

* remove pass

* property reorder

* update get_data_many to return raw data and refactor treasury rates

* refactor stocksplits

* stockquote

* change data one and stock peers

* stock ownership

* stock news

* stock multiples

* insider trading

* stock eod

* share stats

* sec fillings

* risk premium

* revenue business line

* revenue geographic

* price target

* black

* treasury rates descriptions

* more descriptions

* remove The from descriptions

* remove The from descriptions

* price target consensus

* polygon forex pairs

* fix `Annotated is not defined` in static files

* cboe Fetcher relisted data and pyproject cleanup

* major indices eod

* yfinance relisted data

* major indixes const

* key metrics

* key executive

* institutional ownership

* forgot futures curve

* income statement

* income statement growth

* remove unecessary var

* black

* rename var

* change generic var names

* rename abstract fetcher inner properties

* remove unused provider helpers

* add class description

* import from ParamSpec regardless of version

* specific imports hub service & ruff

* remove useless inspect import

* update comment

* remove mypy comment

* fmp Fetcher refactor, pydocstyle pass and cleanup

* ruff

* query.Dict to query.dict and set dates to 1 year diff

* polygon date interval is 1 year

* typing

* mypy

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-08-18 10:59:49 +01:00
Igor Radovanovic
374dd96aed Feature/fetcher cleanup (#5330)
* Linting

* added extra params and file cleanup in yfinance

* `yfinance` Fetcher refactored

* `cboe` Fetcher refactored, pydocstyle pass and cleanup

* `yfinance` Fetcher cleanup and pydocstyle pass

* `cboe` Fetcher cleanup

* ruff + black

* Linting

* Fetcher cleanup and typing, bug fixes

Co-authored-by: montezdesousa

* Fix CPI

* Fix CBOE typing

* Fix yfinance typing

* MyPy improvements

* remove pass

* property reorder

* update get_data_many to return raw data and refactor treasury rates

* refactor stocksplits

* stockquote

* change data one and stock peers

* stock ownership

* stock news

* stock multiples

* insider trading

* stock eod

* share stats

* sec fillings

* risk premium

* revenue business line

* revenue geographic

* price target

* black

* treasury rates descriptions

* more descriptions

* remove The from descriptions

* remove The from descriptions

* price target consensus

* polygon forex pairs

* fix `Annotated is not defined` in static files

* cboe Fetcher relisted data and pyproject cleanup

* major indices eod

* yfinance relisted data

* major indixes const

* key metrics

* key executive

* institutional ownership

* forgot futures curve

* income statement

* income statement growth

* remove unecessary var

* black

* rename var

* change generic var names

* rename abstract fetcher inner properties

* remove unused provider helpers

* add class description

* import from ParamSpec regardless of version

* specific imports hub service & ruff

* remove useless inspect import

* update comment

* remove mypy comment

* fmp Fetcher refactor, pydocstyle pass and cleanup

* ruff

* query.Dict to query.dict and set dates to 1 year diff

* polygon date interval is 1 year

* typing

* mypy

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-08-18 10:59:20 +01:00
Colin Delahunty
b27bb59ef6 Added fixes (#5344) 2023-08-17 21:39:34 +00:00
Danglewood
a6e66f7a73 hotfix/fix-stocks-search-sdk3: Fixes the stocks search so that it doesn't print_rich_table() for SDK. (#5329)
* fixes the stocks search on SDK so the ticker symbol is returned.

* export data

* unused argument

* fix test

* more test fixy

* test_print_help.txt
2023-08-17 16:25:13 +00:00
Colin Delahunty
f07d116f23 Fixed URL for uploading to the hub (#5340)
* Fixed URLs

* Added a fix
2023-08-17 16:18:26 +00:00
Diogo Sousa
1129789c31 remove unecessary pass statement 2023-08-17 16:12:37 +01:00
Colin Delahunty
f78449924b Fixed the request function (#5336)
* Fixed the request function

* Added fix

* Added fix

* Added fix

* Added fix

* Added fix
2023-08-17 14:12:20 +00:00
Diogo Sousa
ada849c663 add cboe missing deps 2023-08-17 11:52:39 +01:00
hjoaquim
3ea9ee26dd Merge branch 'feature/openbb-sdk-v4' of github.com:OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-08-17 11:36:05 +01:00
hjoaquim
84552cbfd5 making static assets compatible with python 3.8 2023-08-17 11:35:50 +01:00
Diogo Sousa
bd0ed33fd6 change importlib_metadata import statement 2023-08-17 10:34:22 +01:00
Diogo Sousa
925373eb33 add missing dep to provider package 2023-08-17 10:34:22 +01:00
Henrique Joaquim
ab6c8f4804 Merge branch 'develop' into feature/openbb-sdk-v4 2023-08-17 09:40:02 +01:00
James Maslek
cedd48f41b Merge pull request #5335 from OpenBB-finance/release/3.2.1
Release/3.2.1
2023-08-16 14:01:05 -04:00
Pratyush Shukla
254864d65c Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/openbb-sdk-v4 2023-08-16 19:49:34 +05:30
Pratyush Shukla
b3bf514646 update period in descriptions 2023-08-16 19:49:29 +05:30
James Maslek
6a3aeb5568 Merge branch 'main' into release/3.2.1 2023-08-16 09:31:30 -04:00
montezdesousa
4435e1cbe7 Feature/gen docstring (#5326)
* update package builder

* sort childpath

* rewrite docstrings

* black & ruff

* add futures to interface

* typo

* rename funcs

* rename vars

* rename vars

* typo

* wrong descripton news

* rebuild python interface func fix

* fix package builder tests

* update docstring tests
2023-08-16 11:47:44 +01:00
James Maslek
a2d0c571cd update changelog 2023-08-15 13:49:39 -04:00
hjoaquim
de0f9a7b45 black 2023-08-15 16:00:45 +01:00
Igor Radovanovic
7b9e348395 Merge pull request #5309 from OpenBB-finance/feature/fix-tests
Fix existing tests and add new ones
2023-08-15 16:58:37 +02:00
hjoaquim
17ca41fdbb black 2023-08-15 15:54:56 +01:00
hjoaquim
16ebf40b3b fixing tests 2023-08-15 15:49:33 +01:00
Igor Radovanovic
b7fb375297 Regenerate static files 2023-08-15 16:25:22 +02:00
hjoaquim
543082f5f2 remove artifact 2023-08-15 15:19:12 +01:00
hjoaquim
cb33ce217a ruff 2023-08-15 15:18:02 +01:00
hjoaquim
59696c0aea Merge branch 'feature/openbb-sdk-v4' into feature/fix-tests 2023-08-15 15:16:44 +01:00
hjoaquim
1a8dd753fb fixing remains of oobject 2023-08-15 15:15:47 +01:00
hjoaquim
ecc92a6029 using typing.OrderedDict instead to satisfy 3.8 2023-08-15 14:52:12 +01:00
hjoaquim
ce1ea5854c Merge branch 'feature/openbb-sdk-v4' into feature/fix-tests 2023-08-15 14:36:26 +01:00
James Maslek
08b32c5fb5 Merge pull request #5311 from OpenBB-finance/feature/sdk-j2
Adding to v4
2023-08-15 09:07:48 -04:00
James Maslek
c8c3faaf71 lock file 2023-08-15 09:04:14 -04:00
James Maslek
385a28e49a Merge remote-tracking branch 'upstream/feature/openbb-sdk-v4' into feature/sdk-j2 2023-08-15 09:01:12 -04:00
hjoaquim
307f03fcfb Merge branch 'feature/openbb-sdk-v4' into feature/fix-tests 2023-08-15 13:59:55 +01:00