Files
OpenBB/openbb_platform/providers
teh_coderer da7886d0a7 Make Pro Fetchers async by replacing ThreadPoolExecutor with asyncio.gather (#5822)
* init

* Update helpers.py

* filter URL on raise

* polygon, fmp done, update cassettes

* updates

* cleanup

* revert tests for now

* Update discovery_filings.py

* Update helpers.py

* add `async` overload to `Fetcher.extract_data`

* update merged fred models

* tests, improve fred series

* Update insider_trading.py

* insider

* tests

* intrinio

* Update equity_historical.py

* implement abstract async extract on Fetcher, with simple switch

* cleanup

* Update helpers.py

* Update helpers.py

* fix fmp historical deprecated urls

* Revert "fix fmp historical deprecated urls"

This reverts commit 1a760a2473.

* fix fmp `index.market` 1day url missing query params

* Update test_fmp_market_indices_fetcher.yaml

* field fixes

* `extract_data_async` -> `aextract_data`, `async_request` -> `amake_request`

* `async_requests` -> `amake_requests`

* Update company_news.py

* add sort to index `integration` params

* add `client.py` tests

* Update equity_search.py

* Add lost v in platform api version string

* Resolve linter errors here and there

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2023-12-08 14:41:37 +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-11-30 18:48:27 +01:00
2023-12-04 15:45:46 +00:00
2023-11-30 18:48:27 +01:00
2023-12-06 13:01:39 +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