24H trade volume
Last updated
Was this helpful?
Last updated
Was this helpful?
Let's build a text chart to show the trading volume of past 24 hours.
Search all the transactions which contain SellBaseToken(seller, payBase, receiveQuote) or BuyBaseToken(buyer, receiveBase, payQuote) logs. And to be completely accurate, you also want to limit the logs.address
to all the trading pairs on DODO.
What data looks like now:
The trade volume is in the third parameter of BuyBaseToken log, payQuote
It can be referred as $$this.params.2.value
What the data looks like now: