AccountTradeHistory

Documentation for eth_defi.hyperliquid.trade_history.AccountTradeHistory Python class.

class AccountTradeHistory

Bases: object

Complete trade history snapshot for a Hyperliquid account.

Combines current open positions, historical closed trades, open trades, all fills, and funding payments into a single result.

Attributes summary

address

snapshot_time

open_positions

closed_trades

open_trades

fills

funding_payments

margin_summary

start_time

end_time

fills_truncated

Methods summary

__init__(address, snapshot_time, ...)

__init__(address, snapshot_time, open_positions, closed_trades, open_trades, fills, funding_payments, margin_summary, start_time, end_time, fills_truncated)
Parameters
Return type

None