Query editor
with priced_trades as (selectcasewhen token_bought_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248and token_sold_address = 0x55d398326f99059ff775485246999027b3197955and cast(token_bought_amount as double) > 0then cast(token_sold_amount as double) / cast(token_bought_amount as double)when token_sold_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248and token_bought_address = 0x55d398326f99059ff775485246999027b3197955and cast(token_sold_amount as double) > 0then cast(token_bought_amount as double) / cast(token_sold_amount as double)else nullend as price_usdtfrom dex.tradeswhere blockchain = 'bnb'and block_time >= now() - interval '24' hourand ((token_bought_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248and token_sold_address = 0x55d398326f99059ff775485246999027b3197955)or (token_sold_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248and token_bought_address = 0x55d398326f99059ff775485246999027b3197955)))selectmin(price_usdt) as low_24hfrom priced_tradeswhere price_usdt is not nulland price_usdt > 0and price_usdt < 1000