Commit Graph

6839 Commits

Author SHA1 Message Date
Igor Radovanovic
9a9cc14ec1 Test API integration tests 2023-10-02 17:34:58 +02:00
Igor Radovanovic
2a4e93e8c5 Fix imports 2023-10-02 17:13:57 +02:00
Igor Radovanovic
3c38f999f4 Merge 2023-10-02 16:15:35 +02:00
Henrique Joaquim
a8e6d646fc Hotfix/colab logs (#5480)
* forcing logging.basicConfig() so that it overrides default calls (on notebooks)

* chaging terminal_version to platform_version instead
2023-10-02 14:50:32 +01:00
Henrique Joaquim
d2471a9c4f Hotfix/int tests python fixture (#5504)
* fix command runner tests that were generating logs

* use the import behind a fixture

* updating the generator
2023-10-02 14:43:27 +01:00
Danglewood
ad0bb2428b rename sec_filings -> company_filings (#5501) 2023-10-02 17:16:19 +05:30
Igor Radovanovic
c3c9633a11 Merge 2023-10-01 20:51:54 +02:00
Igor Radovanovic
16e94db6d1 Add toml to dev deps, fix to_df() edge case 2023-09-30 16:58:28 +02:00
Henrique Joaquim
45a1241849 Feature/charting service unit tests (#5477)
* test_check_and_get_charting_extension_name

* test_check_charting_extension_installed

* using fixtures

* test_get_extension_router

* ruff

* test_handle_back_end

* test_get_chart_format

* test_get_chart_function

* test_get_implemented_charting_functions

* test_to_chart

* test_to_chart

* test_chart

* ruff and mypy
2023-09-30 10:29:27 +01:00
Pratyush Shukla
04dae11217 deleted leftover file 2023-09-29 17:25:08 +05:30
Igor Radovanovic
dfd48d2605 Cleanup 2023-09-29 12:08:10 +02:00
Theodore Aptekarev
f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00
Pratyush Shukla
e4dee0fbb2 contributing guidelines and dev install script 2023-09-29 10:59:33 +02:00
Theodore Aptekarev
951abdb0d9 Merge branch 'develop' into feature/openbb-sdk-v4 2023-09-29 10:33:36 +02:00
Theodore Aptekarev
009699928f Rebrand sdk to platform in code (#5496)
* Relink sdk/sdk -> platform/platform

* Relink sdk -> platform

* Rename folders

* Fix dev_install script

* Fix test generators

* Fix test generators

* Fix test generators

* Organize imports
2023-09-29 10:31:45 +02:00
Igor Radovanovic
a92dfa5650 Test params and providers 2023-09-29 00:04:35 +02:00
James Maslek
08aaae8734 Merge pull request #5495 from OpenBB-finance/hotfix/fdpin
Pin financedatabase
2023-09-28 14:24:41 -04:00
James Maslek
ca8eb1fe9c Merge branch 'develop' into hotfix/fdpin 2023-09-28 11:20:11 -04:00
Theodore Aptekarev
b570102ab0 Merge branch 'develop' into feature/openbb-sdk-v4 2023-09-28 17:00:00 +02:00
DidierRLopes
40ae229494 Fix bug that doesn't allow to iterate through tickers with a dot (#5489) 2023-09-28 14:38:45 +00:00
James Maslek
a1d1fbf515 Merge pull request #5493 from ferreiratiago/refactor/reviewpad
refactor: reviewpad configuration
2023-09-28 10:40:07 -04:00
James Maslek
4eb8ad0270 pin financedatabase 2023-09-28 10:09:44 -04:00
James Maslek
b0f992acb0 Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTerminal into develop 2023-09-28 10:06:05 -04:00
Igor Radovanovic
74a232c830 Test provider coverage of the python interface integration tests 2023-09-28 15:30:16 +02:00
Tiago Ferreira
788c78242e chore: update rule should run reviewpad 2023-09-28 14:27:17 +01:00
Tiago Ferreira
e87772821b refactor: reviewpad configuration 2023-09-28 14:12:50 +01:00
Theodore Aptekarev
2807a7b7ed Switch off reviewpad because we have been rate limited (#5492) 2023-09-28 14:22:45 +02:00
montezdesousa
81849a820c Hotfix/crypto hist yf (#5491)
* handle empty df for crypto historical

* check for empty data

* forgot this one

* polygon and intrinio
2023-09-28 17:35:14 +05:30
Theodore Aptekarev
ab4b3e418a Remove old scripts and update the readme (#5482)
* Remove old scripts and update the readme

* Update CI installation instructions

* Fix typo

* Install toml into test environment

* Fix ruff linting regression introduced by merge of develop

* The return of the lost line

* Add mention of toml to the dev install section of the readme

* fix incorrect numbering and added note for installing all packages

* Revert "fix incorrect numbering and added note for installing all packages"

This reverts commit d43f880f0c.

* Fix tests

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-09-28 12:23:21 +02:00
Henrique Joaquim
ccbb49eb2a Hotfix/run to private (#5490)
* use run as private method instead

* static assets
2023-09-28 10:53:33 +01:00
Diogo Sousa
1d7546e5ff hide Container.run from python autocompletion 2023-09-28 10:51:40 +01:00
montezdesousa
f0daeb88d2 fix description 2023-09-27 22:07:57 +01:00
montezdesousa
4538126a53 change output_type preference spec 2023-09-27 22:05:34 +01:00
Diogo Sousa
c8a3968bd2 rename preference: obbject_method -> output_type 2023-09-27 19:15:29 +01:00
tehcoderer
d28f9e07ce add calendar_year to fmp key_metrics 2023-09-27 11:40:51 -04:00
Theodore Aptekarev
7b6dbe7a6e Merge branch 'develop' into feature/openbb-sdk-v4 2023-09-27 15:22:59 +02:00
Diogo Sousa
2aeb694ef3 forgot to add all to_ methods to preference 2023-09-27 13:12:35 +01:00
Diogo Sousa
d2b3a0a2f3 to_dict minor update 2023-09-27 13:03:34 +01:00
montezdesousa
e66193d556 OBBject updates for python package (#5471)
* OBBject.chat()

* override run method

* create extra prop in obbject, move metadata

* add user_settings to extra inside container

* avoids commands changing original obj

* allow extra credentials in runtime

* allow to_dict

* remove chat package

* run typing

* Update credentials.py

* remove user_settings from extra

* minor fix

* rebuild

* update readme

* rename pref

* ruff

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-09-27 12:44:47 +01:00
Diogo Sousa
d11da02a2d omg!: fix obbject repr 2023-09-27 12:14:40 +01:00
teh_coderer
6a9308c3e7 Feature/sdk v4 pydantic v2 (#5458)
* init

* Update provider_interface.py

* docstring

* pydantic v2

* Update __init__.py

* build package v2 support

* `alises` to `aliases`

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

* `alises` to `aliases`

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

* `alises` to `aliases`

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

* updates

* Update registry.py

* validate_arguments -> validate_call

* update terminal classes

* response_model_by_alias = False

* query_params by alias

* Update major_indices_constituents.py

* add alias to Query in `provider_interface`

* yfinance

* build package, add param defaults and correct `OBBject` results type

* fix cpi validation errors

* Update risk_premium.py

* fix `forex_pairs` active query param annotation, set default when only 1 provider

* fix and refactor intrinio `options_chains`

* Update poetry.lock

* fix benzinga news, build package, add intrinio fred_historical fetcher

* Update extension_map.json

* ruff

* Update unit_test_generator.py

* updates

* add `default=None` on Optional fields

* `parse_obj` -> `model_validate`

* add alias to dup fields on providers with `__alias_dict__`, fix `test_generate_model_docstring`

* Update package_builder.py

* fix validation errors, fix tests

* tests http

* `fred_historical` record

* Update test_intrinio_fetchers.py

* Update test_intrinio_fetchers.py

* Update test_intrinio_fetchers.py

* Update available_indices.py

* Update stock_historical.py

* build package

* build package without optional

* change `SystemSettings` -> `MockSystemSettings` in `test_system_settings.py`

* `openbb_figure.py`/`backend.py` terminal changes  , update deps/lock files

* `linearmodels>4.26`  auto installs `setuptools-scm` which cause error messages

* clean up

* `dev_install.py` for local development

* ruff

* dup `# noqa`

* build

* Update bitquery_model.py

* records

* rec

* f

* worky?

* update `integration_test_generator.py` and `unit_test_generator.py`

* renamed test to tests in file

* fix import due to change in file name

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-09-27 09:40:07 +01:00
Igor Radovanovic
1e41378770 Merge pull request #5469 from OpenBB-finance/feature/integration-tests
Feature/integration tests
2023-09-26 14:58:10 +02:00
Pratyush Shukla
e4a5c4cef0 static 2023-09-26 18:23:22 +05:30
Pratyush Shukla
638fc5f064 Merge branch 'feature/openbb-sdk-v4' into feature/integration-tests 2023-09-26 17:50:03 +05:30
Igor Radovanovic
d9de893723 Working tests 2023-09-26 14:13:13 +02:00
Pratyush Shukla
84f97525bb fix yfinance futures historical issue with setting date as index 2023-09-26 17:20:20 +05:30
Diogo Sousa
93617986af fix missing fstring 2023-09-26 12:33:17 +01:00
Henrique Joaquim
2f4b5ca334 adjustments on to_df (#5479) 2023-09-26 12:25:51 +01:00
hjoaquim
71c962b8c0 adding the marker to the templates 2023-09-26 12:19:02 +01:00
Henrique Joaquim
cc1ed750aa Feature/integration marker (#5478)
* nox file to account for all dirs inside sdk (core+provider)

* adding integration marker
2023-09-26 12:16:34 +01:00