ccxt / ccxt

A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
https://docs.ccxt.com
MIT License
32.94k stars 7.52k forks source link

New exchange: DEX/swap historical data, eg price data #12129

Open cdcv opened 2 years ago

cdcv commented 2 years ago

Until ccxt includes DEXs, can folks suggest some of the best sources/APIs to get historical DEX data, ideally from several/multiple DEX's/swaps? Hopefully can get at least 1y worth of 1m data.

Thank you! PS Hope CCXT includes DEX/swaps soon.

drewgillen commented 2 years ago

+1

sc0Vu commented 2 years ago

Hey,

Before we implement the Dex/Swap, I think for EVM based Dex, you can find data from https://thegraph.com or https://dune.com/browse/dashboards. If you want to swap on Dex, you might need to interact with smart contract or their SDK, eg. Uniswap.

BTW, any dex you like us to add first?

drewgillen commented 2 years ago

Uniswap and PancakeSwap. How do you aggregate market data from these DEXs? Are you going to run our node or use the graph or 0x?