create_trade_summary_dataframe
Documentation for eth_defi.hyperliquid.trade_history.create_trade_summary_dataframe function.
- create_trade_summary_dataframe(trades)
Convert round-trip trades to a pandas DataFrame for tabular display.
- Parameters
trades (list[eth_defi.hyperliquid.trade_history.RoundTripTrade]) – List of round-trip trades from
fetch_account_trade_history().- Returns
DataFrame with one row per trade.
- Return type