Commit Graph

167 Commits

Author SHA1 Message Date
hjoaquim
948d2ef299 remove charting service tests 2024-01-25 11:05:51 +00:00
hjoaquim
1f0b063e74 filter functions not implemented in the module 2024-01-25 11:05:30 +00:00
hjoaquim
437dd71b42 removing charting service from command runner 2024-01-24 15:50:57 +00:00
hjoaquim
f11653cf47 tests for the obbject charting extension 2024-01-24 15:50:20 +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
hjoaquim
b5bd1b8359 better docstrings 2024-01-24 10:26:42 +00:00
hjoaquim
d742e2805f versions 2024-01-24 10:18:09 +00:00
hjoaquim
0ce80fa1ab pydocstyle 2024-01-24 09:55:07 +00:00
Henrique Joaquim
0ba0552ebf Merge branch 'develop' into feature/charting-obbject 2024-01-24 08:48:00 +00:00
Henrique Joaquim
604f5496f8 Add support for multiple symbols on obb.equity.price.historical (#5984)
* av - support for multiple symbols

* tiingo - support for multiple symbols

* include symbol only if necessary
2024-01-23 08:59:42 +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
Henrique Joaquim
a9b4d2070f Release OpenBB Platform v4.1.3 (#5983)
* fixing pyproject.toml

* adding pandas-ta to technical package for publishing

* bumping technical

* test for pyproject toml
2024-01-22 15:02:32 +00:00
Pratyush Shukla
f052666a5e remove yfinance from extras in toml (#5982) 2024-01-22 11:47:55 +00:00
Igor Radovanovic
55a0b7095f Merge branch 'develop' into feature/charting-obbject 2024-01-22 12:31:29 +01:00
Danglewood
9697aeb284 feature/add-yfinance-functions: Add equity.profile for yFinance (#5978)
* equity profile for yFinance

* pylint

* equity quote

* unused imports
2024-01-20 23:26:59 +00:00
Danglewood
cf5a6417a0 regex out any invisible control character from sales_conditions field (#5977) 2024-01-20 16:46:11 +00: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
Pratyush Shukla
7fd223d591 move government-us to community in dev_install (#5963) 2024-01-17 14:12:50 +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
Danglewood
711c6203ab hotfix/float-values: Convert Intrinio balance sheet values to float type (#5961)
* convert intrinio balance sheet values to float type

* unused import

* typo in alias dict
2024-01-16 17:52:37 +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
hjoaquim
b5188983d5 update the pyproject.toml file 2024-01-16 10:25:19 +00:00
Henrique Joaquim
5f91e614b6 Merge branch 'develop' into feature/charting-obbject 2024-01-16 10:14:12 +00:00
hjoaquim
18121cff10 moving to openbb_charting instead 2024-01-16 10:02:32 +00:00
hjoaquim
da35744e52 copying the exsting README from charting extension - needs to be revamped 2024-01-16 09:55:53 +00:00
hjoaquim
59ebe87f6c adding the example to the to_chart docstring 2024-01-16 09:42:41 +00:00
hjoaquim
252ec2bb73 fix on the show method 2024-01-16 09:39:01 +00:00
Danglewood
c8d5556858 hotfix/intrinio-dividends-limit: Fix Limit Param Alias (#5951)
* fix limit param

* pylint unused argument, recapture test cassette

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-01-15 10:21:24 +00:00
Danglewood
5333162bb5 Merge branch 'develop' into feature/charting-obbject 2024-01-13 20:19:37 -08:00
Henrique Joaquim
c6353ad00f Update openbb_platform/obbject_extensions/charting/charting/__init__.py
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-01-13 08:22:25 +00:00
montezdesousa
79c81497ed equity.fundamental.dividends: allow filter by date (#5932)
* allow filter by date

* ruff

* pylint

* fix tests

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-01-12 12:41:19 +00:00
Pratyush Shukla
e36ba9dc42 Custom deprecation message in API endpoints and Python commands (#5942)
* add custom deprecation message feature in routers

* add custom deprecation message feature in package builder

* using an actual DeprecationWarning instead

* fix tests

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-11 10:20:04 +00:00
Henrique Joaquim
e8460569a9 Merge branch 'develop' into feature/charting-obbject 2024-01-10 17:18:50 +00:00
Igor Radovanovic
d7c6918730 Disable auto_build on test run (#5937)
* Disable auto_build on test run

* Move to conftest
2024-01-10 15:40:01 +00:00
Henrique Joaquim
c3abc418a8 Improving Platform's import time (#5894)
* missing decorator

* missing optional statements

* us-gov to optional and right position

* removing redundant call

* lazy load mappings

* docstrings

* introducing the extension loader class

* misleading docstring

* using the extension loader on the router

* using the extension loader on the credentials

* docstrings

* lazy load of entry points

* checkout dev_install

* using the extension loader to get the entry points instead of recalling the function

* improved auth service and charting service

* using the extension loader on the registry

* typos

* adding properties to extension loader for easy access

* using the extension loader on the package builder

* avoiding circular imports by using forward references

* fix charting service tests

* test for the extension loader

* Update openbb_platform/core/openbb_core/app/model/credentials.py

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* Update openbb_platform/core/openbb_core/app/router.py

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* Update openbb_platform/core/openbb_core/provider/registry.py

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* adjustments

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-01-10 15:23:14 +00:00
montezdesousa
ee5388a81d Add date filter + symbols to comp (#5931)
* add date filter + symbols to comp

* make sure year is in d

* tests fix
2024-01-10 14:18:07 +00:00
Henrique Joaquim
cd08218c35 Merge branch 'develop' into feature/charting-obbject 2024-01-10 12:14:07 +00:00
Igor Radovanovic
a5396ac961 Fix vwap FMP error (#5936)
* Fix vwap FMP error

* Linting

* Painlint
2024-01-10 11:55:47 +00:00