Files
OpenBB/openbb_platform/providers/README.md
Pratyush Shukla 63fe4422fe Stock leftover cleanup (#5745)
* change to equity in `.md` files

* `HistoricalStockSplits`->`HistoricalSplits`

* `StockInsiderTrading`->`InsiderTrading`

* sorry fmp

* `EquityHistorical` cleanup

* `EquityNBBO` cleanup

* .md leftover

* the last of stocks
2023-11-16 22:03:18 +00:00

52 lines
1.3 KiB
Markdown
Vendored

# Providers
## Available Providers
See full list of available providers in the [PROVIDERS file](../PROVIDERS.md)
## 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:
```json
{
"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:
```{.bash}
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](../CONTRIBUTING.md) for more details