Class Security
- Namespace
- Tudormobile.QIFLibrary.Entities
- Assembly
- Tudormobile.QIFLibrary.dll
Represents a financial security, such as a stock or a mutual fund.
public class Security
- Inheritance
-
Security
- Inherited Members
Constructors
Security(string, string, string, decimal?, DateTime?)
Create and initialze a new instance.
public Security(string id, string ticker, string name, decimal? unitPrice = null, DateTime? unitPriceDate = null)
Parameters
idstringUnique identifier.
tickerstringTicker symbol.
namestringName.
unitPricedecimal?Unit price.
unitPriceDateDateTime?Unit price date.
Properties
Id
Unique identifier.
public string Id { get; set; }
Property Value
Name
Name.
public string Name { get; set; }
Property Value
SecurityIdType
Type of this security identifier.
public Security.SecurityIdTypes SecurityIdType { get; set; }
Property Value
Remarks
The default value is 'other' unless otherwise known.
SecurityType
Type of this security.
public Security.SecurityTypes SecurityType { get; set; }
Property Value
Ticker
Ticker symbol.
public string Ticker { get; set; }
Property Value
UnitPrice
Unit price.
public decimal? UnitPrice { get; set; }
Property Value
UnitPriceDate
Unit price date.
public DateTime? UnitPriceDate { get; set; }