Class Instrument
Assembly: tt-net-api.dll
Syntax
public class Instrument : IComparable<Instrument>
Fields
Empty
Represents an invalid instrument
Declaration
public static readonly Instrument Empty
Field Value
Properties
CouponRate
Declaration
public decimal? CouponRate { get; }
Property Value
InstrumentDetails
Declaration
public InstrumentDetails InstrumentDetails { get; }
Property Value
Key
Declaration
public InstrumentKey Key { get; }
Property Value
MaturityDate
Declaration
public Date? MaturityDate { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Product
Declaration
public Product Product { get; }
Property Value
Strike
Returns the strike price of the option instrument as determined by the characteristics of the underlier
by applying the underlier's display factor to the instrument details StrikePrice property.
Returns null when there is no strike or underlier.
Declaration
public decimal? Strike { get; }
Property Value
StrikeStr
Returns the strike string as received directly from the exchange. If no strike string field was
received and uploaded into the product database, will return an empty string. This property
returns the same value as InstrumentDetails.StrikeStr.
Declaration
public string StrikeStr { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(Instrument)
Declaration
public bool Equals(Instrument rhs)
Parameters
Returns
Declaration
public string GetFormattedName(InstrumentNameFormat format)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetLegs()
Declaration
Returns
GetSpreadDetails()
Declaration
public SpreadDetails GetSpreadDetails()
Returns
IsEmpty()
Declaration
Returns
IsNullOrEmpty(Instrument)
Declaration
public static bool IsNullOrEmpty(Instrument i)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements