This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | API key for REST endpoint | string | ||
✅ | API_ACCOUNT_ID | API Account ID | string | ||
API_ENDPOINT | Endpoint for REST prices | string | https://exchange-rates-api.oanda.com/v2 |
||
INSTRUMENTS_API_ENDPOINT | Endpoint for REST instruments list | string | https://api-fxtrade.oanda.com/v3 |
||
✅ | SSE_API_KEY | API key for SSE endpoint | string | ||
SSE_API_ENDPOINT | Endpoint for SSE streaming prices | string | https://stream-fxtrade.oanda.com/v3 |
There are no rate limits for this adapter.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | forex, price | price |
Supported names for this endpoint are: forex
, price
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "price",
"base": "CAD",
"quote": "USD"
}
}
MIT License