Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.47 KB

File metadata and controls

41 lines (32 loc) · 1.47 KB

Chainlink External Adapter for Tradingeconomics

This adapter uses the Tradingeconomics WS stream

Environment variables

Required? Name Description Options Defaults to
API_URL The URL of the WS endpoint wss://stream.tradingeconomics.com/ or https://api.tradingeconomics.com/markets
API_CLIENT_KEY Your API client key
API_CLIENT_SECRET Your API client secret

Input Params

Required? Name Description Options Defaults to
base, from, or asset The symbol of the asset to query one of SYMBOLS

Sample Input

{
  "id": "1",
  "data": {
    "base": "EURUSD:CUR"
  }
}

Sample Output

{
  "jobRunID": "1",
  "result": 1.21066,
  "statusCode": 200,
  "data": {
    "result": 1.21066
  }
}