LeaderboardEntry
Documentation for eth_defi.hyperliquid.api.LeaderboardEntry Python class.
- class LeaderboardEntry
Bases:
objectA single trader from the Hyperliquid public leaderboard.
The leaderboard contains 32K+ traders who have opted in. Fetched in bulk by
fetch_leaderboard().Attributes summary
Ethereum address (lowercased)
Display name chosen by the trader (
Noneif not set)Account value in USD at time of leaderboard snapshot
All-time PnL in USD
All-time ROI as a ratio (e.g.
All-time trading volume in USD
Methods summary
__init__(address, display_name, ...)- address: eth_typing.evm.HexAddress
Ethereum address (lowercased)
- account_value: decimal.Decimal
Account value in USD at time of leaderboard snapshot
- all_time_pnl: decimal.Decimal
All-time PnL in USD
- all_time_roi: decimal.Decimal
All-time ROI as a ratio (e.g.
0.25= 25%)
- all_time_volume: decimal.Decimal
All-time trading volume in USD
- __init__(address, display_name, account_value, all_time_pnl, all_time_roi, all_time_volume)
- Parameters
address (eth_typing.evm.HexAddress) –
display_name (str | None) –
account_value (decimal.Decimal) –
all_time_pnl (decimal.Decimal) –
all_time_roi (decimal.Decimal) –
all_time_volume (decimal.Decimal) –
- Return type
None