SecurityId

StockSharp.Messages

Security ID.

Implements: IEquatable<SecurityId>, IPersistable

Properties

Bloomberg
public string Bloomberg { get; set; }
value = securityId.Bloomberg
securityId.Bloomberg = value

ID in Bloomberg format.

BoardCode
public string BoardCode { get; set; }
value = securityId.BoardCode
securityId.BoardCode = value

Electronic board code.

Cusip
public string Cusip { get; set; }
value = securityId.Cusip
securityId.Cusip = value

ID in CUSIP format (Committee on Uniform Securities Identification Procedures).

InteractiveBrokers
public int? InteractiveBrokers { get; set; }
value = securityId.InteractiveBrokers
securityId.InteractiveBrokers = value

ID in Interactive Brokers format.

IQFeed
public string IQFeed { get; set; }
value = securityId.IQFeed
securityId.IQFeed = value

ID in IQFeed format.

Isin
public string Isin { get; set; }
value = securityId.Isin
securityId.Isin = value

ID in ISIN format (International Securities Identification Number).

IsSpecial
public bool IsSpecial { get; private set; }
value = securityId.IsSpecial
securityId.IsSpecial = value

Determines the id is Money or News.

Native
public object Native { get; set; }
value = securityId.Native
securityId.Native = value

Native (internal) trading system security id.

NativeAsInt
public long NativeAsInt { get; set; }
value = securityId.NativeAsInt
securityId.NativeAsInt = value

Native (internal) trading system security id represented as integer.

Plaza
public string Plaza { get; set; }
value = securityId.Plaza
securityId.Plaza = value

ID in Plaza format.

Ric
public string Ric { get; set; }
value = securityId.Ric
securityId.Ric = value

ID in RIC format (Reuters Instrument Code).

SecurityCode
public string SecurityCode { get; set; }
value = securityId.SecurityCode
securityId.SecurityCode = value

Security code.

Sedol
public string Sedol { get; set; }
value = securityId.Sedol
securityId.Sedol = value

ID in SEDOL format (Stock Exchange Daily Official List).

Methods

CreateAssociated
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.

Equals
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, .

Equals
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, .

GetHashCode
public override int GetHashCode()
result = securityId.GetHashCode()

Get the hash code of the object.

Returns: A hash code.

Immutable
public SecurityId Immutable()
result = securityId.Immutable()

Make immutable.

Returns: SecurityId.

Load
public void Load(SettingsStorage storage)
securityId.Load(storage)

Load settings.

storage
Settings storage.
op_Equality
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, .

op_Inequality
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, .

Save
public void Save(SettingsStorage storage)
securityId.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = securityId.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.

Fields

AssociatedBoardCode
public const string AssociatedBoardCode
value = SecurityId.AssociatedBoardCode

Board code for combined security.

Money
public static readonly SecurityId Money
value = SecurityId.Money

"Money" security id.

News
public static readonly SecurityId News
value = SecurityId.News

"News" security id.