Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

all_perps_pair_stats

24-hour stats for every active pair.

Signature

def all_perps_pair_stats(self) -> list[PerpsPairStats]

Example

from dango.info import Info
from dango.utils.constants import MAINNET_API_URL
 
info = Info(MAINNET_API_URL, skip_ws=True)
for stats in info.all_perps_pair_stats():
    print(stats["pairId"], stats["currentPrice"], stats["volume24H"])

Returns

list[PerpsPairStats] — one entry per pair. See PerpsPairStats.

See also