# Error in getting ATH

**URL:** https://community.bitquery.io/t/error-in-getting-ath/1738
**Category:** GraphQL API
**Created:** [November 21, 2023, 2:46pm UTC](https://community.bitquery.io/t/error-in-getting-ath/1738 "2023-11-21T14:46:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pedro1x](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@pedro1x](https://community.bitquery.io/u/pedro1x)
#### Post date: [November 21, 2023, 2:46pm UTC](https://community.bitquery.io/t/error-in-getting-ath/1738/1 "2023-11-21T14:46:36Z")

</div>

Hi,  
I am trying to get ATH and ATL for some token, it works well with some tokens, but any new token it fails.  
This is my query:

{  
ethereum(network: ethereum) {  
dexTrades(  
baseCurrency: {is: “0x4206931337dc273a630d328dA6441786BfaD668f”}  
quoteCurrency: {is: “0xdAC17F958D2ee523a2206206994597C13D831ec7”}  
time: {}  
priceAsymmetry: {lt: 1}  
tradeAmountUsd: {gt: 5000}  
options: {limit: 10, desc: “timeInterval.year”}  
) {  
timeInterval {  
year(count: 5)  
}  
baseCurrency {  
name  
}  
quoteCurrency {  
name  
}  
high: quotePrice(calculate: maximum)  
low: quotePrice(calculate: minimum)  
}  
}  
}

---

<div class="post-metadata">

### Author: ![Divya](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Divya](https://community.bitquery.io/u/Divya)
#### Post date: [November 24, 2023, 5:26am UTC](https://community.bitquery.io/t/error-in-getting-ath/1738/2 "2023-11-24T05:26:56Z")

</div>

Here’s my take:  
New tokens that have been in circulation for a short period of time may not have sufficient trading data or price consolidation to meet the criteria of your query. This is because the price of a new token is still highly volatile and has not yet established a clear trend.

```auto
  priceAsymmetry: {lt: 0.1}
      tradeAmountUsd: {gt: 5000}

```
