SecurityId
Security ID.
Implements: IEquatable<SecurityId>, IPersistable
Properties
public string Bloomberg { get; set; }
value = securityId.Bloomberg
securityId.Bloomberg = value
ID in Bloomberg format.
public string BoardCode { get; set; }
value = securityId.BoardCode
securityId.BoardCode = value
Electronic board code.
public string Cusip { get; set; }
value = securityId.Cusip
securityId.Cusip = value
ID in CUSIP format (Committee on Uniform Securities Identification Procedures).
public int? InteractiveBrokers { get; set; }
value = securityId.InteractiveBrokers
securityId.InteractiveBrokers = value
ID in Interactive Brokers format.
public string IQFeed { get; set; }
value = securityId.IQFeed
securityId.IQFeed = value
ID in IQFeed format.
public string Isin { get; set; }
value = securityId.Isin
securityId.Isin = value
ID in ISIN format (International Securities Identification Number).
public bool IsSpecial { get; private set; }
value = securityId.IsSpecial
securityId.IsSpecial = value
Determines the id is Money or News.
public object Native { get; set; }
value = securityId.Native
securityId.Native = value
Native (internal) trading system security id.
public long NativeAsInt { get; set; }
value = securityId.NativeAsInt
securityId.NativeAsInt = value
Native (internal) trading system security id represented as integer.
public string Plaza { get; set; }
value = securityId.Plaza
securityId.Plaza = value
ID in Plaza format.
public string Ric { get; set; }
value = securityId.Ric
securityId.Ric = value
ID in RIC format (Reuters Instrument Code).
public string SecurityCode { get; set; }
value = securityId.SecurityCode
securityId.SecurityCode = value
Security code.
public string Sedol { get; set; }
value = securityId.Sedol
securityId.Sedol = value
ID in SEDOL format (Stock Exchange Daily Official List).
Methods
public static SecurityId CreateAssociated(string securityCode)
result = SecurityId.CreateAssociated(securityCode)
Create security id with board code set as AssociatedBoardCode.
- securityCode
- Security code.
Returns: Security ID.
public bool Equals(SecurityId other)
result = securityId.Equals(other)
Compare SecurityId on the equivalence.
- other
- Another value with which to compare.
Returns: , if the specified object is equal to the current object, otherwise, .
public override bool Equals(object other)
result = securityId.Equals(other)
Compare SecurityId on the equivalence.
- other
- Another value with which to compare.
Returns: , if the specified object is equal to the current object, otherwise, .
public override int GetHashCode()
result = securityId.GetHashCode()
Get the hash code of the object.
Returns: A hash code.
public SecurityId Immutable()
result = securityId.Immutable()
Make immutable.
Returns: SecurityId.
public void Load(SettingsStorage storage)
securityId.Load(storage)
Load settings.
- storage
- Settings storage.
public static bool op_Equality(SecurityId left, SecurityId right)
result = SecurityId.op_Equality(left, right)
Compare two identifiers for equality.
- left
- Left operand.
- right
- Right operand.
Returns: , if the specified identifiers are equal, otherwise, .
public static bool op_Inequality(SecurityId left, SecurityId right)
result = SecurityId.op_Inequality(left, right)
Compare the inequality of two identifiers.
- left
- Left operand.
- right
- Right operand.
Returns: , if identifiers are equal, otherwise, .
public void Save(SettingsStorage storage)
securityId.Save(storage)
Save settings.
- storage
- Settings storage.
public override string ToString()
result = securityId.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.
Fields
public const string AssociatedBoardCode
value = SecurityId.AssociatedBoardCode
Board code for combined security.