Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/hungry-walls-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-turtles-build.md

This file was deleted.

8 changes: 4 additions & 4 deletions MASTERLIST.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/external-adapters-js",
"version": "1.227.0",
"version": "1.228.0",
"license": "MIT",
"private": true,
"workspaces": [
Expand Down
6 changes: 6 additions & 0 deletions packages/sources/data-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @chainlink/data-engine-adapter

## 1.1.0

### Minor Changes

- [#4307](https://github.com/smartcontractkit/external-adapters-js/pull/4307) [`4e7dfc0`](https://github.com/smartcontractkit/external-adapters-js/commit/4e7dfc0e62554c31de9f458600fde2fd78673141) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Add v11 schema

## 1.0.4

### Patch Changes
Expand Down
33 changes: 29 additions & 4 deletions packages/sources/data-engine/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DATA_ENGINE

![1.0.4](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/data-engine/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
![1.1.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/data-engine/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)

This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.

Expand All @@ -23,9 +23,9 @@ There are no rate limits for this adapter.

## Input Parameters

| Required? | Name | Description | Type | Options | Default |
| :-------: | :------: | :-----------------: | :----: | :----------------------------------------------------------: | :---------: |
| | endpoint | The endpoint to use | string | [crypto-v3](#crypto-v3-endpoint), [rwa-v8](#rwa-v8-endpoint) | `crypto-v3` |
| Required? | Name | Description | Type | Options | Default |
| :-------: | :------: | :-----------------: | :----: | :--------------------------------------------------------------------------------------------------------------: | :---------: |
| | endpoint | The endpoint to use | string | [crypto-v3](#crypto-v3-endpoint), [deutscheboerse-v11](#deutscheboerse-v11-endpoint), [rwa-v8](#rwa-v8-endpoint) | `crypto-v3` |

## Crypto-v3 Endpoint

Expand Down Expand Up @@ -77,4 +77,29 @@ Request:

---

## Deutscheboerse-v11 Endpoint

`deutscheboerse-v11` is the only supported name for this endpoint.

### Input Params

| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
| :-------: | :----: | :-----: | :-------------------------------------------------: | :----: | :-----: | :-----: | :--------: | :------------: |
| ✅ | feedId | | The feedId for Deutsche Boerse feed with v11 schema | string | | | | |

### Example

Request:

```json
{
"data": {
"endpoint": "deutscheboerse-v11",
"feedId": "0x0008707410e2c111fb0e80cab2fa004b215eea2d95b106e700243f9ebcc8fbd9"
}
}
```

---

MIT License
2 changes: 1 addition & 1 deletion packages/sources/data-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/data-engine-adapter",
"version": "1.0.4",
"version": "1.1.0",
"description": "Chainlink data-engine adapter.",
"keywords": [
"Chainlink",
Expand Down
6 changes: 6 additions & 0 deletions packages/sources/finalto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @chainlink/finalto-adapter

## 1.2.0

### Minor Changes

- [#4304](https://github.com/smartcontractkit/external-adapters-js/pull/4304) [`e8ea8b5`](https://github.com/smartcontractkit/external-adapters-js/commit/e8ea8b535733b4dc31c18205a65750656207111c) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Add stock quotes endpoint

## 1.1.3

### Patch Changes
Expand Down
50 changes: 45 additions & 5 deletions packages/sources/finalto/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,49 @@
# FINALTO

![1.1.3](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finalto/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
![1.2.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/finalto/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)

This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.

# Known Issues

## Quote Endpoint Response Structure

The quote endpoint returns a response with nested data structures and some redundant fields. Below is an example response:

```json
{
"result": 272.04499999999996,
"data": {
"result": 272.04499999999996,
"bid": 272.02,
"mid": 272.04499999999996,
"ask": 272.07,
"mid_price": 272.045,
"bid_price": 272.02,
"bid_volume": 10000,
"ask_price": 272.07,
"ask_volume": 10000
}
}
```

## Field Relationships

### Price Fields

- **`result`**, **`data.result`**, and **`data.mid`**: All three fields contain the same value, calculated as `(bid + ask) / 2` (simple arithmetic mean)
- **`data.mid_price`**: Contains the liquidity-weighted mid price, which differs from the simple arithmetic mean

### Redundant Fields

- **`data.bid`** = **`data.bid_price`** (same value)
- **`data.ask`** = **`data.ask_price`** (same value)

### Volume Fields

- **`data.bid_volume`**: Volume available at the bid price
- **`data.ask_volume`**: Volume available at the ask price

## Environment Variables

| Required? | Name | Description | Type | Options | Default |
Expand All @@ -22,13 +62,13 @@ There are no rate limits for this adapter.

## Input Parameters

| Required? | Name | Description | Type | Options | Default |
| :-------: | :------: | :-----------------: | :----: | :---------------------------------------------------------------------------------------------------------------------------------: | :-----: |
| | endpoint | The endpoint to use | string | [commodities](#quote-endpoint), [forex](#quote-endpoint), [fx](#quote-endpoint), [quote](#quote-endpoint), [stock](#quote-endpoint) | `quote` |
| Required? | Name | Description | Type | Options | Default |
| :-------: | :------: | :-----------------: | :----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----: |
| | endpoint | The endpoint to use | string | [commodities](#quote-endpoint), [forex](#quote-endpoint), [fx](#quote-endpoint), [quote](#quote-endpoint), [stock](#quote-endpoint), [stock_quotes](#quote-endpoint) | `quote` |

## Quote Endpoint

Supported names for this endpoint are: `commodities`, `forex`, `fx`, `quote`, `stock`.
Supported names for this endpoint are: `commodities`, `forex`, `fx`, `quote`, `stock`, `stock_quotes`.

### Input Params

Expand Down
2 changes: 1 addition & 1 deletion packages/sources/finalto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/finalto-adapter",
"version": "1.1.3",
"version": "1.2.0",
"description": "Chainlink finalto adapter.",
"keywords": [
"Chainlink",
Expand Down
Loading