You can model an equity (or stock) options contract as an instrument of type EquityOption
in LUSID. See all supported instruments.
Note: You can model rights issues and warrants using this instrument type too.
Mastering an instrument
There are numerous tools you can use to master an EquityOption
in the LUSID Security Master.
Some fields are common to all types of instrument, such as an intuitive name
, the requirement to specify a set of identifiers
, and the facility to store extra information as properties
.
Fields in the economic definition
object are specific to EquityOption
. For more information on these fields, select EquityOption from the definition dropdown in the UpsertInstruments API reference:
Mastering the underlying Equity
instrument
You must first separately master the underlying equity instrument, and then provide a reference to it as a MasteredInstrument
.
Mastering the EquityOption
instrument
The following example masters a European call option on BMW shares:
Note the following:
The EquityOption instrument is mastered in a custom instrument scope (specified in the URL).
Its
identifiers
object is set to reference aClientInternal
unique identifier.startDate
is a mandatory field but note it is not subsequently used by LUSID.deliveryType
can bePhysical
(if you intend to take delivery of the underlying) orCash
.exerciseType
can beAmerican
orEuropean
.optionType
can bePut
orCall
.equityOptionType
can beVanilla
,RightsIssue
orWarrant
.numberOfShares
is set to the number of underlying BMW shares per contract.The
underlying.instrumentType
field must be set toMasteredInstrument
and theunderlying.identifiers
object to an identifier for that instrument, in this case an ISIN for BMW. Note the underlying must reside in the same instrument scope as theEquityOption
, or else in thedefault
instrument scope.
Providing the request is successful, the response:
Confirms the globally-unique LUID of the
EquityOption
instrument (in this caseLUID_00003EHI
).Confirms the LUID of the underlying
MasteredInstrument
providing LUSID is able to resolve it correctly (in this caseLUID_00003EHG
). If not, the unknown instrument is returned.Generates extra fields that are stored as part of the instrument definition and can be filtered on.
Supplies default values for fields not explicitly specified in the request:
Booking a transaction to establish a position
Once an EquityOption
instrument is mastered, you can book a transaction to record the acquisition of a number of contracts in a particular transaction portfolio, for example:
Note the following:
The
type
field invokes a customBuyEquityOption
transaction type to confer a particular economic impact (see below).The
units
field specifies the number of contracts.The
transactionPrice
object records the agreed price of the options contract (not the underlying). This is used by LUSID to automatically calculate gross consideration (see below).The
totalConsideration
object:Sets the settlement currency to
EUR
.Specifies a cost of
0
to enable LUSID to automatically derive total consideration (see below).
The trade commission for entering into the contract is recorded as a custom property.
Note: This example assumes the transaction, settlement and portfolio currencies are all the same. If not, you can specify exchange rates.
You might create a BuyEquityOption
transaction type as follows:
Note the following:
The
StockMovement
movement sets the units of the holding to the number purchased in the transaction.The
CashCommitment
movement decreases a cash balance by the total consideration.The
Txn:GrossConsideration
transaction type calculation automatically calculates gross consideration (amount before fees) asprice * units * number of shares
, and stores the result in theTransaction/default/GrossConsideration
system property.The
DeriveTotalConsideration
transaction type calculation automatically calculates thetotalConsideration.amount
field according to the given formula, which in this case sums gross consideration and commission.
Confirming positions
We can generate a holdings report for the settlement date to see the impact of the transaction on security and cash holdings:
Auditing LUSID’s transaction type calculations
We can examine output transactions automatically generated by LUSID up to the settlement date to audit calculated amounts:
Valuing your position
To value your position, work through our valuation checklist.
The following pricing models are available for instruments of type EquityOption
; note your choice impacts the market data required and the composition of your recipe.
Note: The default pricing model is
SimpleStatic
; we recommend changing this to one of the pricing models below.
Pricing model | Notes |
---|---|
| Ignores the time value of an option and simply reports PV and P&L if the option is in the money, or 0 if out of the money. You only need load market prices for the underlying instrument. See below for an example. |
| Takes into account the impact of time and other risk factors. Requires complex market data such as discount factors and volatility surfaces in addition to market prices for the underlying instrument. The returns are available as follows: Price and Delta, Gamma, Rho, Theta and Vega ("the Greeks"). More information. |
For example, to value a position in the European call option on BMW shares defined above using ConstantTimeValueOfMoney
:
Load a market price into the LUSID Quote Store for the underlying BMW instrument (not the option) for the valuation date, in this case 15 February 2025:
Create a recipe to locate this market data and change the default pricing model, for example:
Generate a valuation report with appropriate metrics, for example:
Assessing risk
For more on how LUSID calculates exposure, see this article.
LUSID supports both analytic and bump and valuation mechanisms for assessing risk; contact Technical Support if you need more information.
Monitoring the lifecycle of the instrument
An EquityOption
has a maturity date specified when you master that instrument. If you do not exercise the option on or before that date, the instrument ‘expires’.
Note: An instrument in LUSID is still available post-expiry, although the valuation is zero. If you set your holding to zero it no longer appears in reports unless you are deliberately backdating.
Handling automatic lifecycle events
LUSID is transitioning to a system where it automatically emits lifecycle events for supported instruments. We provide default transaction templates that you can use as-is to automatically generate transactions in impacted portfolios, and recommendations for transaction types that deliver appropriate economic impacts.
Contact us to turn this feature on in your environment. The following events are available for an EquityOption
:
Instrument event type | Event emission criteria | If emitted, effect of LUSID default transaction template | Recommendations for transaction types |
---|---|---|---|
| This event is not automatically emitted by LUSID. If your holding is in the money, it can be triggered by loading an event instruction, providing the | One transaction is automatically generated with the realised gain. | See this tutorial. The example instrument is an |
| This event is not automatically emitted by LUSID. If your holding is in the money, it can be triggered by loading an event instruction, providing the | Two transactions are automatically generated, one for the | |
| This event is automatically emitted by LUSID on the expiry date, but only if either | One transaction is automatically generated setting the option holding to zero and realising a loss. |
Manually loading settlement transactions
If you do not want to turn on automatic instrument lifecycle events you can continue to monitor upcoming cashflows using Dashboards > CashLadder in the LUSID web app, or by calling the GetPortfolioCashLadder API directly.
You can call the GetUpsertablePortfolioCashFlows API to  return imminent cashflows as upsertable DTOs ready to manually load into LUSID as input transactions.