# XML Schema Documentation

### Complex Type: CalculationFromObservation

#### [Table of contents]

Super-types: | None
Sub-types: | Correlation (by extension) Variance (by extension)

Name | CalculationFromObservation
Abstract | yes
Documentation | Abstract base class for all calculation from observed values

XML Instance Representation
<...>
Start Choice [1]
<initialLevel> xsd:decimal </initialLevel> [1]

'Contract will strike off this initial level'

<closingLevel> xsd:boolean </closingLevel> [1]

'If true this contract will strike off the closing level of the default exchange traded contract'

<expiringLevel> xsd:boolean </expiringLevel> [1]

'If true this contract will strike off the expiring level of the default exchange traded contract'

End Choice
<expectedN> xsd:positiveInteger </expectedN> [0..1]

'Expected number of trading days'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="CalculationFromObservation" abstract="true">
<xsd:sequence>
<xsd:choice>
<xsd:element name="initialLevel" type=" xsd:decimal "/>
<xsd:element name="closingLevel" type=" xsd:boolean "/>
<xsd:element name="expiringLevel" type=" xsd:boolean "/>
</xsd:choice>
<xsd:element name="expectedN" type=" xsd:positiveInteger " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>