defi icon indicating copy to clipboard operation
defi copied to clipboard

PancakeSwap Historical Data

Open whittlem opened this issue 3 years ago • 1 comments

I would like to retrieve the historical data for a liquidity pool on PancakeSwap. Is this possible using your defi package? If not would you mind giving me some pointers on how to do it? Is the best/easiest way to use Web3 to iterate through the smart contract event log and construct 5 minute candlesticks manually in Python?

whittlem avatar Sep 11 '21 20:09 whittlem

Yes, its possible get a historial TVL by protocol, read documentation, function getProtocol()

gauss314 avatar Nov 03 '21 08:11 gauss314