Files
OpenBB/openbb_platform/providers
Danglewood 5c4ac285b0 hotfix/financials-field-maps: Updates A Couple FMP/Polygon Income Statement Fields (#5907)
* update income statement fields

* another polygon field

* ratio -> margin

* black

* explicit fmp fields

* add reported_currency for standardized intrinio

* # pylint: disable=unused-argument

* another unused-argument

* black..

* patch tests

* polygon income: eps -> basic earnings per share

* re-capture terminal portfolio menu test

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-03 16:21:10 +00:00
..
2023-11-30 18:48:27 +01:00
2023-12-15 14:08:15 +00:00
2023-11-30 18:48:27 +01:00
2023-11-30 18:48:27 +01:00
2023-11-30 18:48:27 +01:00
2023-11-30 18:48:27 +01:00
2023-11-30 18:48:27 +01:00
2023-11-30 18:48:27 +01:00
2023-12-04 15:45:46 +00:00
2023-12-15 14:08:15 +00:00
2023-11-30 18:48:27 +01: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