Skip to main content

dvcp

Get daily volume for given pair [Source: https://graphql.bitquery.io/]

Source Code: [link]

openbb.crypto.onchain.dvcp(limit: int = 100, symbol: str = "UNI", to_symbol: str = "USDT", sortby: str = "date", ascend: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
limitintLast n days to query data100True
symbolstrERC20 token symbolUNITrue
to_symbolstrQuote currency.USDTTrue
sortbystrKey by which to sort datadateTrue
ascendboolFlag to sort data ascendingTrueTrue

Returns

TypeDescription
pd.DataFrameDaily volume for given pair