Class UniverseExtension
Extension methods for Universe.
Inheritance
System.Object
UniverseExtension
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|
System.Boolean | true, if constituent of universe |