Class UniverseExtension
Extension methods for Universe.
Inheritance
object
UniverseExtension
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.Simulator
Assembly: TuringTrader.Simulator.dll
Syntax
public static class UniverseExtension
Methods
| Improve this Doc View SourceIsConstituent(Instrument, Universe)
Determine if instrument is constituent of universe. Note: must not be used on stale instruments!
Declaration
public static bool IsConstituent(this Instrument instrument, Universe universe)
Parameters
Type | Name | Description |
---|---|---|
Instrument | instrument | instrument to test |
Universe | universe | universe to test |
Returns
Type | Description |
---|---|
bool | true, if constituent of universe |