Query editor
-- @todo: header-- @goal: Alternative way to calculate price when it is missing in dune's tables <prices.day>withalternative_pricing as (select dt, blockchain, symbol, price_address, token_address, share_price, price_usdfrom dune.steakhouse.result_core_shares_based_price -- Core - Shares-based price [query_5030027 -- test]-- query_4532733union allselect dt, blockchain, symbol, null as price_address, token_address, null as share_price, price_usdfrom query_4534624 -- Core - Oracle-based price [query_5032500 -- test]union allselect dt, blockchain, symbol, null as price_address, token_address, null as share_price, price_usdfrom query_4565771 -- Core - Trades-based priceunion allselect dt, blockchain, symbol, price_address, token_address, share_price, price_usdfrom query_4568025 -- Core - Pendle tokens price [query_5084521 -- test]union allselect dt, blockchain, symbol, null as price_address, token_address, null as share_price, price_usdfrom query_4516512 -- Core - Others' price [query_5036876 -- test])selectdt,blockchain,symbol,token_address,price_address,share_price,price_usdfrom alternative_pricing