Class SwiftStatementOfHoldingsFinancialInstrument
Represents a financial instrument (sequence B) inside of a Statement of Holdings message.
public sealed class SwiftStatementOfHoldingsFinancialInstrument : IEnumerable
- Inheritance
-
SwiftStatementOfHoldingsFinancialInstrument
- Implements
- Inherited Members
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(int)
Creates a new "statement of holdings financial instrument" with the given MT format.
public SwiftStatementOfHoldingsFinancialInstrument(int nMT)
Parameters
nMTint
Properties
AccruedInterestAmount
The interest amount that has been accrued in between coupon payment periods.
public decimal AccruedInterestAmount { get; set; }
Property Value
- decimal
Zero, if field is not present. This value may be negative.
MT 535: FIN:19A:ACRU (first occurence)
MT 571: 34G (positive amount) or 34H (negative amount)
AccruedInterestCurrency
The currency of the AccruedInterestAmount.
public string AccruedInterestCurrency { get; set; }
Property Value
- string
Null, if field is not present.
MT 535: FIN:19A:ACRU (first occurence)
MT 571: 34G (positive amount) or 34H (negative amount)
BuyingDate
Buying date
public SwiftDate BuyingDate { get; set; }
Property Value
- SwiftDate
MT 535: Field 6 of field 70E MT 571: -
CostPriceRate
Cost Price Rate
public decimal CostPriceRate { get; set; }
Property Value
- decimal
MT 535: Field 9 of field 70E MT 571: -
CostPriceRateCurrency
Cost price rate currency
public string CostPriceRateCurrency { get; set; }
Property Value
- 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.
public decimal ExchangeRate { get; set; }
Property Value
- decimal
Zero, if no exchange rate given. Multiplying a value given in ExchangeRateFirstCurrency will give the equivaluent value in ExchangeRateSecondCurrency.
MT 535: FIN:92B:EXCH
MT 571: 36
ExchangeRateFirstCurrency
The first currency of the ExchangeRate
public string ExchangeRateFirstCurrency { get; set; }
Property Value
- string
Null, if not given.
MT 535: FIN:92B:EXCH
MT 571: 33B (if applicable)
ExchangeRateSecondCurrency
The second currency of the ExchangeRate
public string ExchangeRateSecondCurrency { get; set; }
Property Value
- string
Null, if not given.
MT 535: FIN:92B:EXCH
MT 571: 32H (if applicable)
FutureContractBasicPrice
The amount of the basic price of the future contract.
public decimal FutureContractBasicPrice { get; set; }
Property Value
- 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.
public string FutureContractBasicPriceCurrency { get; set; }
Property Value
- 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
public SwiftDate FutureContractExpiryDate { get; set; }
Property Value
- SwiftDate
MT 535: Field 14 of Field 70E MT 571: Subfield No. 3 of Field "09" of Field 72.
FutureContractKey
Future Contract Key
public string FutureContractKey { get; set; }
Property Value
- 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.
public string FutureContractSize { get; set; }
Property Value
- 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
public string FutureContractSymbol { get; set; }
Property Value
- string
MT 535: Field 17 of field 70E. MT 571: Subfield No. 1 of Field "09" of Field 72.
FutureContractUnderlyingISIN
Future contract underlying ISIN
public string FutureContractUnderlyingISIN { get; set; }
Property Value
- 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
public string FutureContractUnderlyingWKN { get; set; }
Property Value
- 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"}
public string FutureContractVersion { get; set; }
Property Value
- 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.
public string HoldingCurrency { get; set; }
Property Value
- string
Null, if field is not present.
MT 535: FIN:19A:HOLD (first occurence)
MT 571: 32H
HoldingValue
Value of the total holding.
public decimal HoldingValue { get; set; }
Property Value
- decimal
Zero, if field is not present. This value may be negative.
MT 535: FIN:19A:HOLD (first occurence)
MT 571: 32H
ISIN
The securities identification via an ISIN.
public string ISIN { get; set; }
Property Value
- string
Corresponds with a subfield of field 35B (MT-535 and MT-571). null, if not present.
InterestRate
Interest Rate (as a percentage in case of a interest-bearing securities).
public decimal InterestRate { get; set; }
Property Value
- decimal
MT 535: Field 11 of field 70E MT 571: -
IssuerCountry
Issuer Country
public string IssuerCountry { get; set; }
Property Value
- string
MT 535: Field 5 of field 70E MT 571: Field "05" of field 72.
MaturityDate
Maturity date
public SwiftDate MaturityDate { get; set; }
Property Value
- 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.
public int NumberOfDaysAccrued { get; set; }
Property Value
- int
Zero, if field is not present. This value may be negative.
MT 535: FIN:99A:DAAC
MT 571: 34G (positive number) or 34H (negative number)
NumberOfSubBalances
Returns the number of sub balances.
public int NumberOfSubBalances { get; }
Property Value
OriginOfPrice
The origin of a price: ("LMAR", "THEO", "VEND" or null)
public string OriginOfPrice { get; set; }
Property Value
- 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.
public string OriginOfPriceText { get; set; }
Property Value
- 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.
public decimal Price { get; set; }
Property Value
- 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.
public string PriceCurrency { get; set; }
Property Value
- string
MT-535: Corresponds with a subfield of field 90a (90A or 90C). MT-571: Corresponds with a subfield of field 33B.
PriceQualifier
public SwiftPriceQualifier PriceQualifier { get; set; }
Property Value
- SwiftPriceQualifier
MT535: 90a(90A/90C) Field-Qualifier
PriceType
The type of the given Price.
public SwiftPriceType PriceType { get; set; }
Property Value
- 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)
public decimal Quantity { get; set; }
Property Value
- decimal
MT-535: Corresponds with subfield ("Balance") of field 93B. MT-571: Corresponds with subfield ("Quantity") of field 35H.
QuantityCurrency
Quantity currency.
public string QuantityCurrency { get; set; }
Property Value
- 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.
public SwiftQuantityType QuantityType { get; set; }
Property Value
- 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.
public SwiftDate QuotationDateOfPrice { get; set; }
Property Value
- 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.
public SwiftTime QuotationTimeOfPrice { get; set; }
Property Value
- 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.
public string SectorCode { get; set; }
Property Value
- string
MT 535: Field 4 of field 70E. MT 571: Field "04" of field 72.
SecurityName
The securities name as a SwiftTextLines instance.
public SwiftTextLines SecurityName { get; set; }
Property Value
- SwiftTextLines
Corresponds with a subfield of field 35B. May be
null.
TypeOfSecurity
Type of security in accordance with WM GD 195
public string TypeOfSecurity { get; set; }
Property Value
- 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.
public string WKN { get; set; }
Property Value
- string
Corresponds with a subfield of field 35B (MT-535 and MT-571). null, if not present.
Methods
AddSubBalance(SwiftStatementOfHoldingsSubBalance, bool)
public void AddSubBalance(SwiftStatementOfHoldingsSubBalance aSubBalance, bool fUpdateQuantity = false)
Parameters
aSubBalanceSwiftStatementOfHoldingsSubBalancefUpdateQuantitybool
CalculateQuantity()
public decimal CalculateQuantity()
Returns
GetEnumerator()
public IEnumerator GetEnumerator()
Returns
GetSubBalance(int)
public SwiftStatementOfHoldingsSubBalance GetSubBalance(int nIndex)
Parameters
nIndexint
Returns
IsCompleteField90a()
public bool IsCompleteField90a()
Returns
IsCompleteField94B()
public bool IsCompleteField94B()
Returns
IsCompleteField98a()
public bool IsCompleteField98a()
Returns
IsCompleteField99A()
public bool IsCompleteField99A()
Returns
ToString()
public override string ToString()
Returns
UpdateQuantity()
public void UpdateQuantity()
Write(SwiftWriter, bool)
public void Write(SwiftWriter aWriter, bool fUpdateQuantity = false)
Parameters
aWriterSwiftWriterfUpdateQuantitybool
Exceptions
- NotImplementedException
if format is different from MT535