Files
OpenBB/openbb_platform/providers/cftc/README.md
Danglewood 554b38a1ed [Feature] Add CFTC Provider and Replace Nasdaq Datalink For COT Reports (#6643)
* add cftc provider and replace nasdaq for COT Reports

* linters

* more linting

* grammar police

* mock all url params in test cassette

* record test cassettes with no 6901app_token

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-08-28 08:23:34 +00:00

731 B
Vendored

CFTC Provider Extension

Installation

Install from PyPI with:

pip install openbb-cftc

Install this extension locally with:

pip install -e .

Credentials

Credentials are not required, but your IP address may be subject to throttling limits.

API requests made using an application token are not throttled.

Create a free account here: https://evergreen.data.socrata.com/signup

Then, generate the app_token by signing in with the credentials here: https://publicreporting.cftc.gov/profile/edit/developer_settings.

Credentials Key

If adding a token, use cftc_app_token as the key in the user_settings.json file. The value expected value is the app_token and not the secret or api_key.