spread between them.spread shows how
far those source prices are apart. A small spread means the sources are close.
A large spread tells you to inspect the individual markets before treating the
rate as a single signal.volume_weighted_average, each source's effective weight is its configured
or roll weight multiplied by its cumulative contract or share count:
Σ(price_i · weight_i · count_i) / Σ(weight_i · count_i). Event-contract
(claim-price) rates and NTI sleeve rates use volume alone:
Σ(price_i · count_i) / Σ(count_i). On those rates, sources[].weight is
that source's share of in-print volume; a source that did not enter the print
keeps its catalog weight and omits latest_price. Other supported methods are
simple_average and median.volume_weighted_average when trading volume should affect the result.
Choose simple_average when each source should count equally. Choose median
when you want the middle source price and less sensitivity to an outlier.ADJ_TOKEN to an API key before running these examples. See
Authentication.1curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/rates"
1curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/rates/adj_redp"
1curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/rates/adj_redp/prices?interval=1hour&per_page=24"
roll_schedule
blends adjacent contracts during the roll window.sources=true with price history to see the roll weight for each contract at
each point.12# Rolling rate price history, with per-leg roll weights curl -H "Authorization: Bearer $ADJ_TOKEN" "https://api.adjacent.markets/api/v1/rates/adj_redp/prices?interval=1hour&per_page=24&sources=true"