Skip to main content

Introducing USD Price and Price Asymmetry metric

· One min read
Divyasshree
Technical Writer
  • We are excited to announce the introduction of USD pricing for V2 chains, a feature many of you have eagerly awaited. You can query USD price now as shown below.

We have a 3-minute candle data based on token trading volume on centralized exchanges, so we refresh the USD price every 3 minutes.

subscription {
Solana {
DEXTrades(where: {
Trade: {
PriceAsymmetry: {
le: 0.5
}
}
}) {
Block {
Time
}
Trade {
PriceAsymmetry
Buy {
Amount
AmountInUSD
PriceInUSD
Currency {Symbol}
}
Sell {
Amount
AmountInUSD
PriceInUSD
Currency {Symbol}
}
}
}
}
}

Check more examples in Examples section

  • Taking insights from our V1 APIs, we've introduced an improved price asymmetry metric to filter outliers. Read more here