Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PancakeSwap Historical Data #6

Open
whittlem opened this issue Sep 11, 2021 · 1 comment
Open

PancakeSwap Historical Data #6

whittlem opened this issue Sep 11, 2021 · 1 comment

Comments

@whittlem
Copy link

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?

@gauss314
Copy link
Owner

gauss314 commented Nov 3, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants