Go to Deriscope's documentation start page

Market

Market is a child type of Type that represents what is commonly understood as "Market Data".
It is an
abstract Deriscope Type, which means that its objects will have one of the two child types below:
Valuation or Market Set
Since every Market Set object is a collection of Market objects, it follows that:
<wb>every Market object is ultimately a collection of Valuation objects.</wb>

The following two important restrictions apply on the latter collection:
<wb>1) Not two Valuation objects can share the same </wb>
Quotable
<wb>2) All Valuation objects must share the same observation (i.e. quote) date.</wb>
The first restriction helps to avoid ambiguity in a pricing context.
For example, without it, a collection could include two prices (eg 99.8 and 98.2) associated with the same stock (eg MSFT) and the pricing of the MSFT stock option would not be able to decide which of the two prices to use!

Market objects are needed as input in the pricing of
Tradable and the valuation of Quotable objects as they carry the required market data.
In particular, the
Tradable::Price and Quotable::Value functions search inside the provided Market object to retrieve any required data, such as discount factors, quoted prices or historical data.
In some sense, the Market input to those functions, may be considered as the most "important" input, since it represents "objective" information, as opposed to the
Model input which represents "subjective" information.