sushiswap / sushi-data

A utility to query for data on SushiSwap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I pull 24 or 48 hour data for a Sushi pair?

d-sfounis opened this issue · comments

The lack of documentation is really busting me here, guys.

What's the easiest way to grab an Array filled with hourly or minutely data for a trading pair on Sushi, for example SafeFantom - FMT?

The only way I was able to get SOME results was by listing all pairs via exchange.subscribe and manually working through the resulting array to find the IDs of the pair I wanted.