Lean  $LEAN_TAG$
QuantConnect.Util Namespace Reference

Classes

class  BusyBlockingCollection
 A small wrapper around BlockingCollection<T> used to communicate busy state of the items being processed More...
 
class  BusyCollection
 A non blocking IBusyCollection<T> implementation More...
 
class  CandlestickJsonConverter
 Candlestick Json Converter More...
 
class  ChartPointJsonConverter
 Json Converter for ChartPoint which handles special reading More...
 
class  CircularQueue
 A never ending queue that will dequeue and reenqueue the same item More...
 
class  ColorJsonConverter
 A JsonConverter implementation that serializes a Color as a string. If Color is empty, string is also empty and vice-versa. Meaning that color is autogen. More...
 
class  ComparisonOperator
 Utility Comparison Operator class More...
 
class  Composer
 Provides methods for obtaining exported MEF instances More...
 
class  ConcurrentSet
 Provides a thread-safe set collection that mimics the behavior of HashSet<T> and will be keep insertion order More...
 
class  CurrencyPairUtil
 Utility methods for decomposing and comparing currency pairs More...
 
class  DateTimeJsonConverter
 Provides a json converter that allows defining the date time format used More...
 
class  DisposableExtensions
 Provides extensions methods for IDisposable More...
 
class  DoubleUnixSecondsDateTimeJsonConverter
 Defines a JsonConverter that serializes DateTime use the number of whole and fractional seconds since unix epoch More...
 
class  EnumeratorExtensions
 Provides convenience of linq extension methods for IEnumerator<T> types More...
 
class  ExpressionBuilder
 Provides methods for constructing expressions at runtime More...
 
class  FixedSizeHashQueue
 Provides an implementation of an add-only fixed length, unique queue system More...
 
class  FixedSizeQueue
 Helper method for a limited length queue which self-removes the extra elements. http://stackoverflow.com/questions/5852863/fixed-size-queue-which-automatically-dequeues-old-values-upon-new-enques More...
 
class  FuncTextWriter
 Provides an implementation of TextWriter that redirects Write(string) and WriteLine(string) More...
 
interface  IReadOnlyRef
 Represents a read-only reference to any value, T More...
 
class  JsonRoundingConverter
 Helper JsonConverter that will round decimal and double types, to FractionalDigits fractional digits More...
 
class  KeyStringSynchronizer
 Helper class to synchronize execution based on a string key More...
 
class  LeanData
 Provides methods for generating lean data file content More...
 
class  LeanDataPathComponents
 Type representing the various pieces of information emebedded into a lean data file path More...
 
class  LinqExtensions
 Provides more extension methods for the enumerable types More...
 
class  ListComparer
 An implementation of IEqualityComparer<T> for List<T>. Useful when using a List<T> as the key of a collection. More...
 
class  MarketHoursDatabaseJsonConverter
 Provides json conversion for the MarketHoursDatabase class More...
 
class  MemoizingEnumerable
 Defines an enumerable that can be enumerated many times while only performing a single enumeration of the root enumerable More...
 
class  NullStringValueConverter
 Converts the string "null" into a new instance of T. This converter only handles deserialization concerns. More...
 
class  ObjectActivator
 Provides methods for creating new instances of objects More...
 
class  OptionPayoff
 Static class containing useful methods related with options payoff More...
 
class  PythonUtil
 Collection of utils for python objects processing More...
 
class  RateGate
 Used to control the rate of some occurrence per unit of time. More...
 
class  ReaderWriterLockSlimExtensions
 Provides extension methods to make working with the ReaderWriterLockSlim class easier More...
 
class  Ref
 Represents a reference to any value, T More...
 
class  ReferenceWrapper
 We wrap a T instance, a value type, with a class, a reference type, to achieve thread safety when assigning new values and reading from multiple threads. This is possible because assignments are atomic operations in C# for reference types (among others). More...
 
class  SecurityExtensions
 Provides useful infrastructure methods to the Security class. These are added in this way to avoid mudding the class's public API More...
 
class  SecurityIdentifierJsonConverter
 A JsonConverter implementation that serializes a SecurityIdentifier as a string More...
 
class  SeriesJsonConverter
 Json Converter for Series which handles special Pie Series serialization case More...
 
class  SingleValueListConverter
 Reads json and always produces a List, even if the input has just an object More...
 
class  StreamReaderEnumerable
 Converts a StreamReader into an enumerable of string More...
 
class  StreamReaderExtensions
 Extension methods to fetch data from a StreamReader instance More...
 
class  StringDecimalJsonConverter
 Allows for conversion of string numeric values from JSON to the decimal type More...
 
class  TypeChangeJsonConverter
 Provides a base class for a JsonConverter that serializes a an input type as some other output type More...
 
class  Validate
 Provides methods for validating strings following a certain format, such as an email address More...
 
class  WorkerThread
 This worker tread is required to guarantee all python operations are executed by the same thread, to enable complete debugging functionality. We don't use the main thread, to avoid any chance of blocking the process More...
 
class  XElementExtensions
 Provides extension methods for the XML to LINQ types More...
 

Enumerations

enum  ComparisonOperatorTypes {
  ComparisonOperatorTypes.Equals, ComparisonOperatorTypes.NotEqual, ComparisonOperatorTypes.Greater, ComparisonOperatorTypes.GreaterOrEqual,
  ComparisonOperatorTypes.Less, ComparisonOperatorTypes.LessOrEqual
}
 Comparison operators More...
 

Enumeration Type Documentation

◆ ComparisonOperatorTypes

Comparison operators

Enumerator
Equals 

Check if their operands are equal

NotEqual 

Check if their operands are not equal

Greater 

Checks left-hand operand is greater than its right-hand operand

GreaterOrEqual 

Checks left-hand operand is greater or equal to its right-hand operand

Less 

Checks left-hand operand is less than its right-hand operand

LessOrEqual 

Checks left-hand operand is less or equal to its right-hand operand

Definition at line 25 of file ComparisonOperatorTypes.cs.