Home / Market & alternative data
Trading Strategy
Download DeFi exchange and lending protocol price data in Python
What it is
A Python package for downloading price data from decentralised exchanges and lending protocols. It provides historical market data from on-chain DeFi venues in a form ready for backtesting and strategy research. Developers and researchers working on DeFi trading strategies are the intended users, especially those who do not want to index blockchain data themselves. Coverage is limited to the DeFi venues the package supports, so centralised exchange data must come from elsewhere.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Data source, Data analysis |
| Markets | Crypto |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Commits today |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): 0 over the period, now 379. Gaps mean no snapshot was taken that day.
download price data for decentralised exchanges and lending protocols (DeFi).
Similar tools
Unified crypto OHLC candles from seven exchanges into pandas
On-chain pool, swap and token candle data
Historical tick-level crypto replay and CSV downloads
Wire-level accounting for market-data WebSocket feeds
Pythonic downloader for Yahoo! Finance market data
Free searchable database of 300,000+ financial symbols