Skip to content

Latest commit

 

History

History
109 lines (85 loc) · 4.2 KB

File metadata and controls

109 lines (85 loc) · 4.2 KB

Chainlink External Adapter for Fmp Cloud

1.3.32 v2

Base URL https://fmpcloud.io

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://fmpcloud.io

Data Provider Rate Limits

Name Requests/credits per second Requests/credits per minute Requests/credits per hour Note
free 10.4 only mentions daily limit and calls the plan 'limited' no other limiting mentioned for other plans
starter 10
teams 10
business 10

Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string price, quote, 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, quote, stock.

Input Params

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

Example

Request:

{
  "id": "1",
  "data": {
    "base": "AUD",
    "endpoint": "quote"
  },
  "debug": {
    "cacheKey": "dLSVCsbn8V6tc3epL5j5NxGI7+M="
  },
  "rateLimitMaxAge": 384615
}

Response:

{
  "jobRunID": "1",
  "data": {
    "payload": [
      {
        "symbol": "AUDUSD",
        "name": "AUD/USD",
        "price": 0.71222,
        "changesPercentage": -1.329799,
        "change": -0.009471,
        "dayLow": 0.71128,
        "dayHigh": 0.71988,
        "yearHigh": 0.82076,
        "yearLow": 0.71073,
        "marketCap": null,
        "priceAvg50": 0.73820853,
        "priceAvg200": 0.74431854,
        "volume": 0,
        "avgVolume": 0,
        "exchange": "FOREX",
        "open": 0.71903,
        "previousClose": 0.71903,
        "eps": null,
        "pe": null,
        "earningsAnnouncement": null,
        "sharesOutstanding": null,
        "timestamp": 1637945956
      }
    ],
    "result": 0.71222
  },
  "result": 0.71222,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License