Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.71 KB

File metadata and controls

80 lines (60 loc) · 2.71 KB

Chainlink External Adapter for EOD Historical Data

1.2.36

This document was generated automatically. Please see README Generator for more info.

Environment Variables

Required? Name Description Type Options Default
API_KEY string
API_ENDPOINT string https://eodhistoricaldata.com

Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string price, stock stock

Stock Endpoint

NOTE: the price endpoint is temporarily still supported, however, is being deprecated. Please use the stock endpoint instead.

Supported names for this endpoint are: price, stock.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
base asset, from, symbol The symbol of the currency to query taken from here string

Example

Request:

{
  "id": "1",
  "data": {
    "base": "FTSE"
  },
  "debug": {
    "cacheKey": "fc55ce9152c7ea4eed85318698956965d803ccc8"
  },
  "rateLimitMaxAge": 960
}

Response:

{
  "jobRunID": "1",
  "data": {
    "code": "FTSE.INDX",
    "timestamp": 1637858100,
    "gmtoffset": 0,
    "open": 7286.3198,
    "high": 7311.9399,
    "low": 7286.3198,
    "close": 7310.3701,
    "volume": 0,
    "previousClose": 7286.2998,
    "change": 24.0703,
    "change_p": 0.3304,
    "result": 7310.3701
  },
  "result": 7310.3701,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License