Cross Prices
Last updated
Last updated
This endpoint calculates a synthetic price when there is no liquidity (historic trades) between two assets (fiat or digital). Let's say, for example, there was no liquidity between NEXO and GBP, but you need a price. To calculate this, the liquidity engine will use a series of intermediary assets where there is liquidity (lots of trading history) to calculate the price for NEXO > GBP. To demonstrate how this calculation works, the engine might take the price for NEXO > BTC (where there is plenty of liquidity) and then the price of BTC > GBP (where there is also lots of liquidity) and combine the two to determine a robust synthetic price for NEXO > GBP. The engine will always use the path of highest liquidity, meaning several intermediary assets might be used. Read the full methodology here.
Parameter | Required | Description |
---|---|---|
| Yes | |
| Yes | The data version. (v1, v2 ... or latest) |
| No | Start time in ISO 8601 (exclusive). Automatically included in continuation tokens. |
| No | Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens. |
| No | The interval parameter is suffixed with |
| No | See Pagination
Page size limits differ by the
Automatically included in continuation tokens. |
| No | Return the data in ascending ( |
| No | |
| No | |
| No | When |
| No | When |
Field | Description |
---|---|
| Timestamp at which the interval begins. |
| Aggregated Robust Weighted Median using liquidity path engine.
|
|
|
The desired base asset code
.
See
List of exchanges' code
to include in the calculation.
Default is all exchanges.
Automatically included in continuation tokens.
List of exchanges' code
to exclude in the calculation.
Automatically included in continuation tokens.
Cross Prices can also be accessed via on-chain delivery to power any smart contract. Learn how to set it up .