This adapter uses the Tradingeconomics WS stream
Base URL wss://stream.tradingeconomics.com/
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_URL | The URL of the WS endpoint | string | wss://stream.tradingeconomics.com/ or https://api.tradingeconomics.com/markets |
||
✅ | API_CLIENT_KEY | Your API client key | string | ||
✅ | API_CLIENT_SECRET | Your API client secret | string |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | price | price |
price
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , from |
The symbol of the asset to query | string |
Request:
{
"id": "1",
"data": {
"endpoint": "price",
"base": "EURUSD:CUR"
},
"debug": {
"cacheKey": "1CbLEKoATl+/z1X7pi4LVsQRqBs="
},
"rateLimitMaxAge": 7999
}
Response:
{
"jobRunID": "1",
"data": {
"result": 1.15591
},
"result": 1.15591,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License