Credentials Reference¶
Each data source that requires authentication expects a specific credential format in the credentials field of the request body.
Oanda¶
{
"credentials": {
"id": "101-004-XXXXXXXX-XXX",
"token": "your-oanda-api-token",
"environment": "practice"
}
}
| Field | Description |
|---|---|
id |
Your Oanda account ID (e.g., 101-004-12345678-001) |
token |
Your Oanda API token (from the Oanda portal) |
environment |
"practice" for demo, "live" for real accounts |
Get your credentials at Oanda's developer portal.
Alpaca¶
| Field | Description |
|---|---|
api_key |
Alpaca API key ID |
secret_key |
Alpaca API secret key |
Get your credentials at Alpaca.
Polygon¶
Get your API key at Polygon.io.
FRED¶
Get your API key at FRED.
Finnhub¶
Get your API key at Finnhub.
Public Sources (No Credentials Needed)¶
The following sources do not require credentials — omit the credentials field or pass null:
- Binance — public spot and futures market data
- Bybit — public perpetuals market data
- Kraken — public spot and futures market data
- Yahoo Finance — public equities, ETFs, indices, commodities