This endpoint is in Alpha. Changes to the format or data constraints might change without prior notice.
What is this endpoint for?
The Custom Valuation endpoint allows you to build completely customizable single-asset or multi-asset price feeds for NAV calculations, portfolio valuation, asset allocation strategies, and indices.
Percent of the price distribution centered around the median price.
price
The composite price, with a base of 100.
pair
The constituent pair.
contribution
The asset contribution to the composite price.
ref_price
The reference price per asset.
weight
The weight per asset.
bases
Yes
quote
Yes
The fiat pricing currency.
percentages
Yes
List of percentages for outlier management.
Min: 1
Max: 5
To not enforce any outlier management, use 1
semi_length_window
Yes
The time interval to compute the transaction.
weights
Yes
Weighting list of base assets.
The order and length of bases and their respective weights must match in the request.
Weights must sum up to 1.
For single-asset price feeds use an asset weighting of 1
continuation_token
No
See Pagination
Each response will only contain maximum 7 days of data.
To get more data, the continuation_token should be used.
end_time
No
Last fixing of the calculation in ISO 8601 (exclusive).
exchanges
No
interval
No
Frequency in time unit after the first fixing.
Must be greater than twice the semi_length_window
Default: 1d.
start_time
No
First fixing of the calculation in ISO 8601 (inclusive).
sources
No
boolean. If true, returns all prices and volumes which were used to calculate valuation price.
Default: false
List of portfolio base components.
Min: 1
Max: 5
See
The order and length of bases and their respective weights must match in the request.
List of exchanges to source data from.
See
Default: All exchanges