Skip to main content

ttcp

Get most traded crypto pairs on given decentralized exchange in chosen time period.

Source Code: [link]

openbb.crypto.onchain.ttcp(network: str = "ethereum", exchange: str = "Uniswap", limit: int = 90, sortby: str = "tradeAmount", ascend: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
networkstrEVM network. One from list: bsc (binance smart chain), ethereum or maticethereumTrue
exchangestDecentralized exchange nameUniswapTrue
limitintNumber of days taken into calculation account.90True
sortbystrKey by which to sort datatradeAmountTrue
ascendboolFlag to sort data ascendingTrueTrue

Returns

TypeDescription
pd.DataFrameMost traded crypto pairs on given decentralized exchange in chosen time period.