Skip to content

Latest commit

 

History

History
90 lines (72 loc) · 2.85 KB

File metadata and controls

90 lines (72 loc) · 2.85 KB

Chainlink External Adapter for dxFeed

Version: 1.2.31

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

Environment Variables

Required? Name Description Type Options Default
API_USERNAME string
API_PASSWORD string
API_ENDPOINT The endpoint for your dxFeed string https://tools.dxfeed.com/webservice/rest

Input Parameters

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

Price Endpoint

Supported names for this endpoint are: commodities, crypto, forex, price, stock.

Input Params

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

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "price",
    "resultPath": ["Trade", "TSLA", "price"],
    "base": "TSLA"
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "status": "OK",
    "Trade": {
      "TSLA:BFX": {
        "eventSymbol": "TSLA:BFX",
        "eventTime": 0,
        "time": 1636744209248,
        "timeNanoPart": 0,
        "sequence": 775394,
        "exchangeCode": "V",
        "price": 239.255,
        "change": 0.03,
        "size": 3,
        "dayVolume": 700004,
        "dayTurnover": 167577930,
        "tickDirection": "ZERO_UP",
        "extendedTradingHours": false
      }
    },
    "result": 239.255
  },
  "result": 239.255,
  "statusCode": 200,
  "debug": {
    "batchablePropertyPath": [
      {
        "name": "base",
        "limit": 120
      }
    ]
  },
  "providerStatusCode": 200
}