Files
OpenBB/openbb_platform/providers
Danglewood 754e14ca71 [BugFix] Fixes to_df() where the date series contains multiple TZ-offsets. (#6099)
* allow mixed utc offset in a tz-aware date column

* enforce ascending from all providers for price.historical

* fix tests

* add comments and apply treatment to basemodel_from_df before JSON output

* yfinance consistency

* add unit test

* add unit test

* better test

* ruff

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-21 12:37:09 +00:00
..
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2024-02-15 11:37:00 -05:00
2023-11-13 15:03:31 +00:00
2023-11-16 22:03:18 +00:00

Providers

Available Providers

See full list of available providers in the PROVIDERS file

Default Provider Configuration

To configure the default providers for each route, edit the .openbb_platform/user_settings.json file in your home directory using the following template:

{
    "defaults": {
        "routes": {
            "/equity/price/historical": {
                "provider": "fmp"
            },
            "/equity/fundamental/balance": {
                "provider": "polygon"
            },
            ...
        }
    }
}

Provider Information

Every provider is located within a directory, with the following structure:

openbb_platform
└───providers
    └───<provider_name>
        |   README.md
        │   pyproject.toml
        │   poetry.lock
        |───tests
        └───openbb_<provider_name>
            │   __init__.py
            |───models
            |   |───<some model>.py
            |   └───...
            └───utils
                |───<some helper>.py
                └───...

The models define the data structures that are used to query the provider endpoints and store the response data.

See CONTRIBUTING file for more details