aggregate_per_pulse_to_daily
Returns
trades_to_dataframe
Returns
aggregate_trades
group_by (trades opened on the same pulse are one structure by
default), quantities and notionals are summed, and the leg prices are combined into a single
structure price per unit: each price is weighted by its signed leg quantity, summed, then
divided by the smallest absolute leg quantity, so a ratio spread keeps its ratio. Only the
absolute PnL and notional histories are summed element-wise into group-level histories: the
price and percentage histories are recombined as ratios and datetimes is the union of the
legs’. The daily_* columns collapse those to one value per calendar date (summed for
absolute PnL, compounded for percentages).
The pnl_pct column is against the structure’s own open notional, not against equity, so it
is not the same basis as TradesSummary.pnl_pct.
Parameters
Returns

