Commit Graph

106 Commits

Author SHA1 Message Date
Henrique Joaquim
bb28a40473 Merge branch 'develop' into feature/charting-obbject 2024-02-02 10:40:29 +00:00
montezdesousa
5f8fca5a4a [BugFix] Fix package builder (#6022)
* fix: remove specific imports

* adjustments for correct deprecation

* static assets

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-02-02 10:34:26 +00:00
Henrique Joaquim
b8bf6015c3 Merge branch 'develop' into feature/charting-obbject 2024-02-01 10:21:45 +00:00
Henrique Joaquim
d4baba0284 [Feature] - Custom deprecation (#6005)
* custom deprecation

* custom deprecation

* using the new deprecation

* custom deprecation on the package builder

* remove comment

* ruff

* black

* static assets

* tests

* using parametrization instead

* test for deprecated endpoints (#6014)

* Deprecation warning on the reference docs (#6015)

* typo/fix

* bring back methods needed for markdown generation

* add deprecation warning to docs

* contributor docs for deprecating endpoints - tks @deeleeramone

* small changes on publishing procedure per @the-praxs

* moving the deprecation summary class to deprecation file instead

* explanation on class variables

* Update website/content/platform/development/contributor-guidelines/deprecating_endpoints.md

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* Update website/content/platform/development/contributor-guidelines/deprecating_endpoints.md

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* Update website/content/platform/development/contributor-guidelines/deprecating_endpoints.md

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* Update openbb_platform/openbb/package/index.py

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* Update website/content/platform/development/contributor-guidelines/deprecating_endpoints.md

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* Update website/content/platform/development/contributor-guidelines/deprecating_endpoints.md

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* deprecating on 4.3 instead @the-praxs

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-02-01 10:00:47 +00:00
hjoaquim
e4a52ce29f black 2024-02-01 09:44:48 +00:00
Henrique Joaquim
120a731050 Merge branch 'develop' into feature/charting-obbject 2024-02-01 08:09:42 +00:00
hjoaquim
f39a46925e fixing the df_to_basemodel function: it should include the index in the columns either if flagged or if the index is named 2024-02-01 08:04:05 +00:00
James Maslek
bbf5da0e58 Add OECD unemployment (+more) + data cache idea (#5917)
* Add OECD unemployment + data cache idea

* Docstring edits

* Tests

* Add composite leading indicator

* i truested ruff --fix too much

* Add short + long term interest rates

* pylint

* pylint2

* was not committing.  my b

* add csv cache + make it default.  remove pyarrow from poetry

* Clean up

* Didnt run on this file.  My bad

* Why was this ignored /shrug

* pylint

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-31 00:34:09 +00:00
Igor Radovanovic
7a07970fc8 Remove Ultima provider (#6012) 2024-01-30 09:57:01 +00:00
James Maslek
35bfb708cb Merge branch 'feature/charting-obbject' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/charting-obbject 2024-01-29 09:57:31 -05:00
James Maslek
522efd3d9f black for henrique 2024-01-29 09:56:56 -05:00
hjoaquim
321e01f60e Revert "black"
This reverts commit 21d76ad689.
2024-01-29 14:22:25 +00:00
hjoaquim
21d76ad689 black 2024-01-29 13:52:06 +00:00
Henrique Joaquim
1a7cac50ab Merge branch 'develop' into feature/charting-obbject 2024-01-29 11:24:11 +00:00
Henrique Joaquim
8d3ad2437a Merge branch 'develop' into feature/charting-obbject 2024-01-29 11:17:42 +00:00
Igor Radovanovic
4755711be6 [Feature] - Field order added to the OBBject extra as preference (#5999)
* Disable auto_build on test run

* Add field order to OBBject

* Improvements

* Remove noxfile

* Disable auto_build on test run

* Add field order to OBBject

* Revert

* lint

* Add docs

* Not sure how this happened

* lint
2024-01-29 11:15:21 +00:00
Igor Radovanovic
c6eefd26b9 [Feature] - Support for custom examples in router commands (#5993)
* Disable auto_build on test run

* Add support for custom router examples

* Revert odd file change

* Fix API pollution

* Refactor examples with @montezdesousa

* Check if model is inside the PI

* Fix

* feat: add & fix examples (#6001)

* feat: add & fix examples

* fix: ruff + comment

* feat: read parameter pool from file

* feat: typing + unit test

* Disable auto_build on test run

* Add field order to OBBject

* Revert

* lint and revert

* fix test

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-01-26 23:22:21 +00:00
hjoaquim
d66dea280d Merge remote-tracking branch 'OpenBB-finance/develop' into feature/charting-obbject 2024-01-26 18:10:11 +00:00
Pratyush Shukla
13283fbfce CI listing quick fix (#6002)
* BIGGGG LINTING

* fixing lints

* fixing lints

* black

* very ruff

* no export

* fix hedge_view again

* lints

* platform lints

* lints

* black

* black it @hjoaquim

* fix some more linting

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-26 17:08:42 +00:00
Henrique Joaquim
445d91a30e Merge branch 'develop' into feature/charting-obbject 2024-01-26 09:48:09 +00:00
Danglewood
f7c9865de7 hotfix/insider-trading: Fix #5988 (#5990)
* fix validation errors

* empty strings

* validator

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
2024-01-25 20:55:46 +00:00
Danglewood
305b865637 hotfix/intrinio-index: Drop None Rows From intrinio Historical Index (#5987)
* drop None rows from intrinio historical indexes

* add empty data error

* static assets
2024-01-25 20:41:53 +00:00
Henrique Joaquim
1486ed0ad6 Merge branch 'develop' into feature/charting-obbject 2024-01-25 16:16:54 +00:00
teh_coderer
dff51f25d3 don't include custom_headers in openapi schema (#5994) 2024-01-25 16:00:32 +00:00
hjoaquim
48de17d65d fix tests 2024-01-25 15:49:03 +00:00
hjoaquim
711020c202 added debug_mode to the system settings 2024-01-25 15:04:33 +00:00
hjoaquim
387252acce fix command_runner tests 2024-01-25 12:38:32 +00:00
hjoaquim
1a00fb2ed5 fix obbject tests 2024-01-25 12:02:49 +00:00
hjoaquim
10eb798b49 removing charting service file 2024-01-25 11:42:36 +00:00
hjoaquim
948d2ef299 remove charting service tests 2024-01-25 11:05:51 +00:00
hjoaquim
437dd71b42 removing charting service from command runner 2024-01-24 15:50:57 +00:00
hjoaquim
7ccecc33b1 Merge branch 'feature/charting-obbject' of github.com:OpenBB-finance/OpenBBTerminal into feature/charting-obbject 2024-01-24 12:53:44 +00:00
hjoaquim
f78ac8053a deprecating ChartingService to use the new extension instead - adding function discovery capabilities using it 2024-01-24 12:53:34 +00:00
Henrique Joaquim
e2f3dd007b Fixes linting for the logging service (#5992)
* lints

* typing.Type instead
2024-01-24 12:21:36 +01:00
hjoaquim
5a62a097aa removing access to extra/metadata and use designated private attrs instead 2024-01-24 10:58:54 +00:00
hjoaquim
8ec4d64ce3 removing unnecessary credentials variable cc @montezdesousa 2024-01-24 10:38:49 +00:00
hjoaquim
c3a6d76da4 making accessors public 2024-01-24 10:30:02 +00:00
Henrique Joaquim
0ba0552ebf Merge branch 'develop' into feature/charting-obbject 2024-01-24 08:48:00 +00:00
Danglewood
04df52d06a feature/finviz-provider: Adds Community Finviz Provider Extension (#5952)
* add finviz provider

* recapture tests

* recapture tests again?

* invalid test param

* static packages

* units_measurement -> unit_measurement

* static packages as core only

* openbb_core version bump in pyproject.toml

* try adding user-agent to test response

* fix tests

* linting

* provider model cosmetic changes

* fix install script and typo in openbb toml

* static

* fix: re-record unittests

* empty data error

* definitions as a file

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-01-22 20:21:48 +00:00
Danglewood
e2f7e597fa feature/cboe-async: Refactor Cboe for Async (#5900)
* refactor cboe for async

* codespell

* unused imports

* pylint

* more pylint

* platform metadata

* classmethod decorator

* test params

* intrinio quote

* test param names

* date in test needs to be a datetime.date not string

* make fmp unix timestamp tz-aware and normalize percent change

* different way of parsing datetime string

* recapture cboe equity historical test

* unused import

* index snapshot update

* black

* extension map

* pylint

* cboe pyproject.toml

* proposal to standardize equity_quote

* one more file

* removing changes on static assets

* index_historical

* index_historical again

* last_time -> last_timestamp

* obsolete router path

* fix tests

* test param

* restore market index deprecation that I forgot about

* fixing tests

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-22 15:17:42 +00:00
Igor Radovanovic
55a0b7095f Merge branch 'develop' into feature/charting-obbject 2024-01-22 12:31:29 +01:00
teh_coderer
237defad95 hotfix/ allow multiple identify calls (#5976)
* allow multiple `identify` calls

* Update posthog_handler.py
2024-01-19 21:31:03 +00:00
Henrique Joaquim
a7f5e73e34 Fixing Posthog handler for thread safety (#5968)
* fixing posthog handler for thread safety

* removing loggging init from the global scope - per sensei juan

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-19 18:59:17 +00:00
montezdesousa
80f5cbfd6d Release 4.1.1. (#5964)
* update dev_install

* fix effr test

* Update dev_install.py

* fix fundamental balance test

* fix equity price historical test

* fix price target model

* black

* rebuild static files

* update publish.md

* fixed dev_install

* update publishing doc

* updated `openbb-core` to 1.1.1

* updated extensions

* updated providers

* updated `openbb` package

* updated static extension map

* updated publishing doc

* fixed toml for `openbb-finra`

* @jmaslek yfinance IS DEFAULT

* updated static

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-19 11:53:58 +00:00
Igor Radovanovic
31308ffd89 Merge branch 'develop' into feature/charting-obbject 2024-01-18 22:01:00 +01:00
Pratyush Shukla
2f4abee46c [DEPRECATION] index.market renamed to index.price.historical (#5962)
* deprecate index.market and add index.price.historical

* add index.historical standard model

* add index.historical provider models

* index extension tests

* provider tests

* linting
2024-01-18 05:34:11 +00:00
Henrique Joaquim
31d03eb5f1 equity.estimates.price_target - Integrate with Benzinga (#5946)
* deprecation message

* fix lints

* adding equity.estimates.ratings and fmp as its provider

* unit tests for fmp

* removing unused file

* typos

* add benzinga to AnalystRatings

* revert changes to estimates router

* moving it to price target instead

* reverting changes

* fmp support for multiple ticker

* benzinga price target

* ruffy

* unused argument

* fix type hints

* tests for the new fetcher

* new integration tests

* fixing tests

* missing std arg

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-17 18:39:40 +00:00
Danglewood
37c7b14605 hotfix/fix-company-filings: Fixes too many mandatory fields. (#5909)
* Fixes too many mandatory fields.

* black

* black again

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-01-17 15:16:40 +00:00
montezdesousa
a2e3f04711 Log custom headers (#5966)
* add custom headers

* fix: send on startup and defaults

* pylint

* unittests
2024-01-17 12:22:29 +00:00
hjoaquim
d00c22f3e3 Merge branch 'feature/charting-obbject' of github.com:OpenBB-finance/OpenBBTerminal into feature/charting-obbject 2024-01-16 10:25:42 +00:00