Skip to main content

lt

Get trades on Decentralized Exchanges aggregated by DEX [Source: https://graphql.bitquery.io/]

Source Code: [link]

openbb.crypto.onchain.lt(trade_amount_currency: str = "USD", limit: int = 90, sortby: str = "tradeAmount", ascend: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
trade_amount_currencystrCurrency of displayed trade amount. Default: USDUSDTrue
limitintLast n days to query data. Maximum 365 (bigger numbers can cause timeouts
on server side)
90True
sortbystrKey by which to sort datatradeAmountTrue
ascendboolFlag to sort data ascendingTrueTrue

Returns

TypeDescription
pd.DataFrameTrades on Decentralized Exchanges aggregated by DEX