sushiswap / sushi-data

A utility to query for data on SushiSwap.
MIT License
81 stars 115 forks source link

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

Open d-sfounis opened 3 years ago

d-sfounis commented 3 years ago

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.