--- title: "Modelling a merger (MRGR)" slug: "modelling-a-merger-mrgr" updated: 2026-11-25T13:44:01Z published: 2026-11-25T13:44:01Z canonical: "support.lusid.com/modelling-a-merger-mrgr" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.lusid.com/llms.txt > Use this file to discover all available pages before exploring further. # Modelling a merger (MRGR) You can model a merger, where two companies combine and holders of the target exchange their holding for shares in the acquirer, cash or both, as a corporate action of type `MergerEvent` in LUSID. One event can describe a share-for-share merger, a cash takeover, a mix of the two, or a choice between them. [See all supported corporate actions](/v1/docs/understanding-dedicated-corporate-action-events). Note the following: - `MergerEvent` is valid for instruments of type `Equity`, `EquityOption` and `SimpleInstrument`. - A merger can exchange the holding for one new security, pay cash for it, or both. It can also exchange it for a package of several securities and cash amounts. Each event offers holders [one or more elections](/v1/docs/modelling-a-merger-mrgr#choosing-the-elections). - The entitlement date is the `exDate` specified when you load `MergerEvent`. - Amounts are calculated from the total number of units held on the entitlement date, settled and unsettled, or from the quantity you instruct for a portfolio or holding. - The transaction dates of automatically-generated output transactions are `exDate`, and their settlement dates are `paymentDate`. Cash in lieu and buy-up transactions are dated and settle on `paymentDate`. On a mixed lot election, each constituent settles on its own `settlementDate`. ## Loading `MergerEvent` You must load `MergerEvent` into a corporate action source registered with one or more portfolios. The event then impacts every registered portfolio with a holding in the underlying instrument. [See how to do this](/v1/docs/how-do-i-upload-corporate-actions-to-a-corporate-action-source). For more information on fields, see the [MergerEvent](https://www.lusid.com/docs/api/lusid/schemas/MergerEvent/) schema. Note the following: - `exDate` and `paymentDate` are required, and `exDate` must be on or before `paymentDate`. `announcementDate` and `recordDate` are optional. - `newInstrument` identifies the acquirer's security. It is required unless every election on the event pays only cash, for example a mandatory cash takeover. > **Note**: An event with a `MixedLotConstituentsElection` must also have a `newInstrument`, although each securities constituent names its own new security. LUSID credits the constituents' securities, not the event's `newInstrument`. You must choose **one** of the following participation types: | Participation type | Election(s) | Election choices | Further action required? | | --- | --- | --- | --- | | `Mandatory` | Exactly one `SecurityOfferElection`, `CashAndSecurityOfferElection`, `CashOfferElection` or `MixedLotConstituentsElection` | The election must be both **Is chosen** and **Is default**. | ❌ No. The election always occurs automatically. | | `MandatoryWithChoices` | Two or more elections of any type, each with a unique key | At most one election can be **Is chosen**, and exactly one must be **Is default**. | ❓ Optional. The **Is chosen** election occurs, otherwise the **Is default** election, unless you [instruct a different option per portfolio](/v1/docs/modelling-a-merger-mrgr#instructing-to-choose-a-different-option-per-portfolio). | LUSID rejects the event if you load it as `Voluntary`. ### Choosing the elections Each election is one option a holder can take. You can supply more than one election of the same type, for example two security offers into different share classes, and every election on the event must have a unique `electionKey`. | Election type | Use it for | Set | | --- | --- | --- | | `SecurityOfferElection` | Shares in the acquirer, with no cash. | `unitsRatio` on the election, and `newInstrument` on the event. | | `CashAndSecurityOfferElection` | Shares in the acquirer plus a cash payment. | `unitsRatio`, `cashOfferPrice` (per unit), `cashOfferCurrency` and `costFactor` on the election, and `newInstrument` on the event. Always set `costFactor`, between 0 and 1. [See how cost is shared](/v1/docs/modelling-a-merger-mrgr#how-cost-is-shared-between-securities-and-cash). | | `CashOfferElection` | Cash for the holding. | `cashOfferPrice` (per unit, 0 or more) and `cashOfferCurrency`. | | `MixedLotConstituentsElection` | A package of one or more securities and cash amounts, for example shares in two classes of the acquirer. | Its `securitiesConstituents` (each with its own `newInstrument`, `unitsRatio` and `settlementDate`) and `cashConstituents` (each with an `offerPrice` per unit, `currency` and `settlementDate`), and a `costFactor` if it has both. | | `LapseElection` | Taking no action. `MandatoryWithChoices` events only. | The key only, for example `NOAC`. | | `UnknownProceedsElection` | An option whose proceeds are not yet known. `MandatoryWithChoices` events only. | The key only. | A `unitsRatio` of `{"input": 2, "output": 3}` gives three new shares for every two existing shares. The `LapseElection` and `UnknownProceedsElection` book nothing, and the holding stays as it is. ### Handling fractional units When the units ratio leaves a fraction of a new share, you can control it with the following fields: - `fractionalUnitsCashPrice` and `fractionalUnitsCashCurrency`: the price per unit at which the fraction is sold for cash, or bought up. Set both, or neither; if you set neither, the holding keeps the fraction. - `fractionalUnitsRoundingConvention`: how LUSID rounds the new units. One of `Floor` (the default), `Ceiling`, `RoundHalfUp`, `RoundHalfDown`, `BankerRounding`, `RoundToDecimalPlaces` (with `fractionalUnitsDecimalPlaces`) or `BuyUp`. You can only set it if you also set `fractionalUnitsCashPrice`. LUSID credits the full entitlement of new units, fraction included. With a rounding convention that rounds down, it then sells the fraction for cash at `fractionalUnitsCashPrice`. With `BuyUp`, it buys the rest of a whole unit at `fractionalUnitsCashPrice` instead. ## Instructing to choose a different option per portfolio For a `MandatoryWithChoices` event, you can instruct to choose a different option per portfolio, or per holding. If you do not, the chosen option occurs, or else the default option. To do this, load an *event instruction* into a portfolio. Note this is not an event, and you do not load it into a corporate action source, which means you can instruct differently in different portfolios. [See how to do this](/v1/docs/loading-an-event-instruction-to-override-an-instrument-event-for-a-particular-portfolio). ## Configuring the economic impact You must create some or all of the following transaction types to handle automatically-generated output transactions. They are not provided for you. | Transaction type (click for our recommendation) | Implement the transaction type if… | Intended economic impact | | --- | --- | --- | | [MergerRemoveExisting](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergerremoveexisting-transaction-type) | `SecurityOfferElection` or `MixedLotConstituentsElection` is chosen | Debits the existing holding at cost. | | [MergerAdjustCost](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergeradjustcost-transaction-type) | `CashAndSecurityOfferElection` is chosen | Moves the share of cost set by `costFactor` out of the existing holding, ready for the new shares. | | [MergerReceiveCash](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergerreceivecash-transaction-type) | `CashOfferElection` or `CashAndSecurityOfferElection` is chosen | Debits the existing holding at its remaining cost and credits cash, realising the difference. | | [MergerReceiveUnits](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergerreceiveunits-transaction-type) | `SecurityOfferElection`, `CashAndSecurityOfferElection` or a `MixedLotConstituentsElection` with a securities constituent is chosen | Credits each new holding with its units and its share of the cost. | | [MergerCashInLieu](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergercashinlieu-transaction-type) | There are fractional units of a new security and the event sets `fractionalUnitsCashPrice` and `fractionalUnitsCashCurrency` | Sells the fraction of the new security for cash, realising any gain or loss on it. | | [MergerBuyUp](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergerbuyup-transaction-type) | `fractionalUnitsRoundingConvention` is `BuyUp` | Buys the rest of a whole unit of the new security for cash. | | [MergerMixedLotCashPayout](/v1/docs/recommended-transaction-types-for-corporate-action-events#mergermixedlotcashpayout-transaction-type) | A `MixedLotConstituentsElection` with a cash constituent is chosen | Credits cash for each cash constituent. | You can give a transaction type any economic impact you like. Depending on the election type, our recommendations: - Create or update a cash holding in the currency of each cash payment. - Pass cost through to each new holding on a share-for-share exchange, so there is no `ProfitAndLoss/Realised/Market` impact at the point of exchange. - Report the gain or loss on units exchanged for cash using the `ProfitAndLoss/Realised/Market` [metric](/v1/docs/what-is-a-metric). ### How cost is shared between securities and cash - `SecurityOfferElection`: all the cost goes to the new shares, including the cost of any fraction. Cash in lieu then realises the cash for the fraction less its share of the cost. - `CashOfferElection`: all the cost goes with the cash, so LUSID realises the cash less the cost. - `CashAndSecurityOfferElection`: the `costFactor` is the share of the cost that goes to the new shares, and the rest goes with the cash, which realises a gain or loss against it. - `MixedLotConstituentsElection`: the `costFactor` is the share of the cost that goes to the new securities, divided between them in proportion to their units. ## Reference examples ### A cash-and-share merger Acme Corp merges into Acme Holdings. Every Acme Corp shareholder receives one Acme Holdings share plus USD 5 in cash for each share, and 60% of the cost of the holding goes to the new shares: ```json [  {    "instrumentEventId": "MRGR-ACMECORP-2026-CASE",    "instrumentIdentifiers": {      "Instrument/default/ClientInternal": "ACMECORP"    },    "description": "Merger - Acme Corp into Acme Holdings, 1 share plus USD 5 per share",    "participationType": "Mandatory",    "instrumentEvent": {      "instrumentEventType": "MergerEvent",      "exDate": "2026-11-13T00:00:00.0000000+00:00",      "paymentDate": "2026-11-16T00:00:00.0000000+00:00",      "newInstrument": {        "instrumentIdentifiers": { "Instrument/default/ClientInternal": "ACMEHOLDINGS" }      },      "cashAndSecurityOfferElections": [        {          "electionKey": "CASE",          "isChosen": true,          "isDefault": true,          "unitsRatio": { "input": 1, "output": 1 },          "cashOfferPrice": 5,          "cashOfferCurrency": "USD",          "costFactor": 0.6        }      ]    }  } ] ``` A portfolio holds 1,000 Acme Corp shares at a cost of USD 30,000. LUSID generates the following transactions, all dated 13 November 2026 and settling on 16 November 2026: - A `MergerAdjustCost` transaction that moves USD 18,000 of cost (0.6 × 30,000) out of the Acme Corp holding. - A `MergerReceiveCash` transaction that removes the 1,000 Acme Corp shares at their remaining USD 12,000 of cost and credits USD 5,000 of cash. - A `MergerReceiveUnits` transaction for 1,000 Acme Holdings shares at a cost of USD 18,000. `ProfitAndLoss/Realised/Market` falls by USD 7,000: the USD 5,000 of cash less the USD 12,000 of cost that goes with it. ### A choice of shares or cash Acme Corp holders can choose three Acme Holdings shares for every two they hold, or USD 40 in cash per share. If they do nothing they receive shares, and fractions of a share are paid in cash at USD 12: ```json [  {    "instrumentEventId": "MRGR-ACMECORP-2026-CHOICE",    "instrumentIdentifiers": {      "Instrument/default/ClientInternal": "ACMECORP"    },    "description": "Merger - Acme Corp into Acme Holdings, 3 shares for 2 or USD 40 per share",    "participationType": "MandatoryWithChoices",    "instrumentEvent": {      "instrumentEventType": "MergerEvent",      "exDate": "2026-11-13T00:00:00.0000000+00:00",      "paymentDate": "2026-11-16T00:00:00.0000000+00:00",      "newInstrument": {        "instrumentIdentifiers": { "Instrument/default/ClientInternal": "ACMEHOLDINGS" }      },      "fractionalUnitsCashPrice": 12,      "fractionalUnitsCashCurrency": "USD",      "securityOfferElections": [        {          "electionKey": "SECU",          "isChosen": false,          "isDefault": true,          "unitsRatio": { "input": 2, "output": 3 }        }      ],      "cashOfferElections": [        {          "electionKey": "CASH",          "isChosen": false,          "isDefault": false,          "cashOfferPrice": 40,          "cashOfferCurrency": "USD"        }      ]    }  } ] ``` One portfolio holds 1,001 Acme Corp shares at a cost of USD 10,010 and loads no instruction, so it takes the default, `SECU`. LUSID generates: - A `MergerRemoveExisting` transaction for the 1,001 Acme Corp shares at USD 10,010. - A `MergerReceiveUnits` transaction for 1,501.5 Acme Holdings shares (1,001 × 3 ÷ 2) at a cost of USD 10,010. - A `MergerCashInLieu` transaction that sells the 0.5 share for USD 6, dated 16 November 2026. The portfolio ends with 1,501 Acme Holdings shares at a cost of USD 10,006.67, and `ProfitAndLoss/Realised/Market` rises by USD 2.67: the USD 6 for the half share less its USD 3.33 of cost. A second portfolio holds 1,000 Acme Corp shares at a cost of USD 30,000 and loads an `ElectForPortfolio` event instruction choosing `CASH`. LUSID generates one `MergerReceiveCash` transaction that removes the 1,000 shares and credits USD 40,000, and `ProfitAndLoss/Realised/Market` rises by USD 10,000.