Class SwiftStatementOfHoldingsFinancialInstrument
Represents a financial instrument (sequence B) inside of a Statement of Holdings message.
Inheritance
Implements
Inherited Members
Namespace: Subsembly.Swift
Assembly: Subsembly.Sepa.dll
Syntax
public sealed class SwiftStatementOfHoldingsFinancialInstrument : IEnumerable
Remarks
MT-535: Currently field 19A(all four) and field 92B is not parsed/generated and not accessible. MT-571: Currently field 72 is not parsed and not accessible.
Constructors
SwiftStatementOfHoldingsFinancialInstrument(Int32)
Creates a new "statement of holdings financial instrument" with the given MT format.
Declaration
public SwiftStatementOfHoldingsFinancialInstrument(int nMT)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nMT |
Properties
AccruedInterestAmount
The interest amount that has been accrued in between coupon payment periods.
Declaration
public decimal AccruedInterestAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | Zero, if field is not present. This value may be negative. |
AccruedInterestCurrency
The currency of the AccruedInterestAmount.
Declaration
public string AccruedInterestCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | Null, if field is not present. |
BuyingDate
Buying date
Declaration
public SwiftDate BuyingDate { get; set; }
Property Value
Type | Description |
---|---|
SwiftDate | MT 535: Field 6 of field 70E MT 571: - |
CostPriceRate
Cost Price Rate
Declaration
public decimal CostPriceRate { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | MT 535: Field 9 of field 70E MT 571: - |
CostPriceRateCurrency
Cost price rate currency
Declaration
public string CostPriceRateCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 10 of field 70E MT 571: - |
ExchangeRate
The exchange rate that converts the currency of the price or quantity to the currency of the portfolio.
Declaration
public decimal ExchangeRate { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | Zero, if no exchange rate given. Multiplying a value given in
ExchangeRateFirstCurrency will give the equivaluent value in
ExchangeRateSecondCurrency. |
ExchangeRateFirstCurrency
The first currency of the ExchangeRate
Declaration
public string ExchangeRateFirstCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | Null, if not given. |
ExchangeRateSecondCurrency
The second currency of the ExchangeRate
Declaration
public string ExchangeRateSecondCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | Null, if not given. |
FutureContractBasicPrice
The amount of the basic price of the future contract.
Declaration
public decimal FutureContractBasicPrice { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | MT 535: field 21 of field 70E. MT 571: Subfield 2 of Subfield No. 4 of Field "09" of Field 72 (s.a.) |
FutureContractBasicPriceCurrency
The currency of the basic price of the future contract.
Declaration
public string FutureContractBasicPriceCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: field 22 of field 70E. MT 571: Subfield 1 of Subfield No. 4 of Field "09" of Field 72 (s.a.) |
FutureContractExpiryDate
Future Contract Expiry Date
Declaration
public SwiftDate FutureContractExpiryDate { get; set; }
Property Value
Type | Description |
---|---|
SwiftDate | MT 535: Field 14 of Field 70E MT 571: Subfield No. 3 of Field "09" of Field 72. |
FutureContractKey
Future Contract Key
Declaration
public string FutureContractKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 13 of field 70E. MT 571: Subfield No. 2 of field No. 09 of field 72 (structured assignment). |
FutureContractSize
Unit/Contract size of the futures contract.
Declaration
public string FutureContractSize { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 16 of Field 70E. MT 571: Subfield No. 6 of Field "09" of Field 72 (s.a.) |
FutureContractSymbol
Future Contract Symbol
Declaration
public string FutureContractSymbol { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 17 of field 70E. MT 571: Subfield No. 1 of Field "09" of Field 72. |
FutureContractUnderlyingISIN
Future contract underlying ISIN
Declaration
public string FutureContractUnderlyingISIN { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 20 of Field 70E MT 571: Subfield No. 7 of Field "09" of Field 72 (note: ISIN or WKN) |
FutureContractUnderlyingWKN
Future contract underlying WKN
Declaration
public string FutureContractUnderlyingWKN { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 18 of Field 70E MT 571: Subfield No. 7 of Field "09" of Field 72 (note: ISIN or WKN) |
FutureContractVersion
Future Contract Version: {"null", "0", "1", ... "9"}
Declaration
public string FutureContractVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: field 15 of field 70E. MT 571: Subfield No. 5 of Field "09" of Field 72 (s.a.) |
HoldingCurrency
The currency of the HoldingValue.
Declaration
public string HoldingCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | Null, if field is not present. |
HoldingValue
Value of the total holding.
Declaration
public decimal HoldingValue { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | Zero, if field is not present. This value may be negative. |
InterestRate
Interest Rate (as a percentage in case of a interest-bearing securities).
Declaration
public decimal InterestRate { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | MT 535: Field 11 of field 70E MT 571: - |
ISIN
The securities identification via an ISIN.
Declaration
public string ISIN { get; set; }
Property Value
Type | Description |
---|---|
System.String | Corresponds with a subfield of field 35B (MT-535 and MT-571). null, if not present. |
IssuerCountry
Issuer Country
Declaration
public string IssuerCountry { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 5 of field 70E MT 571: Field "05" of field 72. |
MaturityDate
Maturity date
Declaration
public SwiftDate MaturityDate { get; set; }
Property Value
Type | Description |
---|---|
SwiftDate | MT 535: Field 7 of field 70E MT 571: Field "10" of field 72. |
NumberOfDaysAccrued
Number of days used for calculating the accrued interest amount.
Declaration
public int NumberOfDaysAccrued { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Zero, if field is not present. This value may be negative. |
NumberOfSubBalances
Returns the number of sub balances.
Declaration
public int NumberOfSubBalances { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
OriginOfPrice
The origin of a price: ("LMAR", "THEO", "VEND" or null)
Declaration
public string OriginOfPrice { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT-535: Corresponds with a subfield of field 94B ("Origin of price/rate") MT-571: not available |
OriginOfPriceText
The name of the stock exchange or null.
Declaration
public string OriginOfPriceText { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT-535: Corresponds with a subfield of field 94B ("Origin of price/rate") MT-571: not available |
Price
Price (percentage or amount). Zero if no price is available.
Declaration
public decimal Price { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | MT-535: Corresponds with a subfield of field 90a(90A or 90C). MT-571: Corresponds with a subfield of field 33B. |
PriceCurrency
Price currency. Null, if no price is available or if price is a percentage.
Declaration
public string PriceCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT-535: Corresponds with a subfield of field 90a (90A or 90C). MT-571: Corresponds with a subfield of field 33B. |
PriceQualifier
Declaration
public SwiftPriceQualifier PriceQualifier { get; set; }
Property Value
Type | Description |
---|---|
SwiftPriceQualifier | MT535: 90a(90A/90C) Field-Qualifier |
PriceType
The type of the given Price.
Declaration
public SwiftPriceType PriceType { get; set; }
Property Value
Type | Description |
---|---|
SwiftPriceType | MT-535: Corresponds with a subfield of field 90a (90A or 90C). MT-571: Derived from currency code of field 33B. |
Quantity
Quantity (signed)
Declaration
public decimal Quantity { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | MT-535: Corresponds with subfield ("Balance") of field 93B. MT-571: Corresponds with subfield ("Quantity") of field 35H. |
QuantityCurrency
Quantity currency.
Declaration
public string QuantityCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT-535: null, if quantity is expressed as a number; the portfolio currency, if quantity is expressed as a nominal value. MT-571: Corresponds with a subfield ("Type") of field 35H. |
QuantityType
Quantity type.
Declaration
public SwiftQuantityType QuantityType { get; set; }
Property Value
Type | Description |
---|---|
SwiftQuantityType | MT-535: Corresponds with a subfield ("Quantity type") of field 93B. MT-571: Corresponds with a subfield ("Type") of field 35H. |
QuotationDateOfPrice
Quote Date of price.
Declaration
public SwiftDate QuotationDateOfPrice { get; set; }
Property Value
Type | Description |
---|---|
SwiftDate | MT-535: Corresponds with a subfield of field 98a (98A or 98C). SwiftDate.NullDate, if not available. MT-571: not available. |
QuotationTimeOfPrice
Quote Time of price.
Declaration
public SwiftTime QuotationTimeOfPrice { get; set; }
Property Value
Type | Description |
---|---|
SwiftTime | MT-535: Corresponds with a subfield of field 98C. SwiftTime.NullTime, if not available. MT-571: not available. |
SectorCode
Sector code in accordance with WM GD 200.
Declaration
public string SectorCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: Field 4 of field 70E. MT 571: Field "04" of field 72. |
SecurityName
The securities name as a SwiftTextLines instance.
Declaration
public SwiftTextLines SecurityName { get; set; }
Property Value
Type | Description |
---|---|
SwiftTextLines | Corresponds with a subfield of field 35B. May be |
TypeOfSecurity
Type of security in accordance with WM GD 195
Declaration
public string TypeOfSecurity { get; set; }
Property Value
Type | Description |
---|---|
System.String | MT 535: field No. 3 of field 70E. MT 571: field "00" of field 72 (structured assignment). |
WKN
The securities identification via an WKN.
Declaration
public string WKN { get; set; }
Property Value
Type | Description |
---|---|
System.String | Corresponds with a subfield of field 35B (MT-535 and MT-571). null, if not present. |
Methods
AddSubBalance(SwiftStatementOfHoldingsSubBalance, Boolean)
Declaration
public void AddSubBalance(SwiftStatementOfHoldingsSubBalance aSubBalance, bool fUpdateQuantity = false)
Parameters
Type | Name | Description |
---|---|---|
SwiftStatementOfHoldingsSubBalance | aSubBalance | |
System.Boolean | fUpdateQuantity |
CalculateQuantity()
Declaration
public decimal CalculateQuantity()
Returns
Type | Description |
---|---|
System.Decimal |
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
GetSubBalance(Int32)
Declaration
public SwiftStatementOfHoldingsSubBalance GetSubBalance(int nIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nIndex |
Returns
Type | Description |
---|---|
SwiftStatementOfHoldingsSubBalance |
IsCompleteField90a()
Declaration
public bool IsCompleteField90a()
Returns
Type | Description |
---|---|
System.Boolean |
IsCompleteField94B()
Declaration
public bool IsCompleteField94B()
Returns
Type | Description |
---|---|
System.Boolean |
IsCompleteField98a()
Declaration
public bool IsCompleteField98a()
Returns
Type | Description |
---|---|
System.Boolean |
IsCompleteField99A()
Declaration
public bool IsCompleteField99A()
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
UpdateQuantity()
Declaration
public void UpdateQuantity()
Write(SwiftWriter, Boolean)
Declaration
public void Write(SwiftWriter aWriter, bool fUpdateQuantity = false)
Parameters
Type | Name | Description |
---|---|---|
SwiftWriter | aWriter | |
System.Boolean | fUpdateQuantity |
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | if format is different from MT535 |