Class CorporateEventPositions

java.lang.Object
com.quantfinlib.data.CorporateEventPositions

public final class CorporateEventPositions extends Object
Position-side treatment of CorporateEvents: what happens to a holding's share count, cost basis and cash. This is a stand-alone adapter and does not touch any ledger; a caller maps CorporateEventPositions.Outcome onto its own position store.

Conventions: total cost basis is conserved except where cash leaves the position (cash in lieu and merger cash reduce basis pro rata to the value they replace, a simplification of tax rules that differ by jurisdiction). Spin-off basis is split by relative market value on the ex-date, parentPrice : ratio * childPrice.