Lean  $LEAN_TAG$
QuantConnect.Extensions Member List

This is the complete list of members for QuantConnect.Extensions, including all inherited members.

Add(this Ticks dictionary, Symbol key, Tick tick)QuantConnect.Extensionsstatic
Add< TKey, TElement >(this ImmutableDictionary< TKey, ImmutableHashSet< TElement >> dictionary, TKey key, TElement element)QuantConnect.Extensionsstatic
Add< TKey, TElement >(this ImmutableSortedDictionary< TKey, ImmutableHashSet< TElement >> dictionary, TKey key, TElement element)QuantConnect.Extensionsstatic
Add< TKey, TElement, TCollection >(this IDictionary< TKey, TCollection > dictionary, TKey key, TElement element)QuantConnect.Extensionsstatic
AddOrUpdate< K, V >(this ConcurrentDictionary< K, V > dictionary, K key, V value)QuantConnect.Extensionsstatic
AddOrUpdate< TKey, TValue >(this ConcurrentDictionary< TKey, Lazy< TValue >> dictionary, TKey key, Func< TKey, TValue > addValueFactory, Func< TKey, TValue, TValue > updateValueFactory)QuantConnect.Extensionsstatic
AdjustSymbolByOffset(this Symbol symbol, uint offset)QuantConnect.Extensionsstatic
Batch(this List< AlphaResultPacket > resultPackets)QuantConnect.Extensionsstatic
BatchBy< T >(this IEnumerable< T > enumerable, int batchSize)QuantConnect.Extensionsstatic
Clear< T >(this ConcurrentQueue< T > queue)QuantConnect.Extensionsstatic
Closes(this OrderDirection direction, PositionSide side)QuantConnect.Extensionsstatic
Compare< T >(this ComparisonOperatorTypes op, T arg1, T arg2)QuantConnect.Extensionsstatic
ConvertFromUtc(this DateTime time, DateTimeZone to, bool strict=false)QuantConnect.Extensionsstatic
ConvertPythonUniverseFilterFunction< T >(this PyObject universeFilterFunc)QuantConnect.Extensionsstatic
ConvertSelectionSymbolDelegate< T >(this Func< T, object > selector)QuantConnect.Extensionsstatic
ConvertTo(this DateTime time, DateTimeZone from, DateTimeZone to, bool strict=false)QuantConnect.Extensionsstatic
ConvertTo(this string value, Type type)QuantConnect.Extensionsstatic
ConvertTo< T >(this string value)QuantConnect.Extensionsstatic
ConvertToDelegate< T >(this PyObject pyObject)QuantConnect.Extensionsstatic
ConvertToDictionary< TKey, TValue >(this PyObject pyObject)QuantConnect.Extensionsstatic
ConvertToSymbolEnumerable(this PyObject pyObject)QuantConnect.Extensionsstatic
ConvertToUniverseSelectionStringDelegate< T >(this Func< T, object > selector)QuantConnect.Extensionsstatic
ConvertToUniverseSelectionSymbolDelegate< T >(this Func< IEnumerable< T >, object > selector)QuantConnect.Extensionsstatic
ConvertToUtc(this DateTime time, DateTimeZone from, bool strict=false)QuantConnect.Extensionsstatic
CreateFutureChain(this IAlgorithm algorithm, Symbol symbol, PyObject filter, UniverseSettings universeSettings=null)QuantConnect.Extensionsstatic
CreateFutureChain(this IAlgorithm algorithm, Symbol symbol, Func< FutureFilterUniverse, FutureFilterUniverse > filter, UniverseSettings universeSettings=null)QuantConnect.Extensionsstatic
CreateOptionChain(this IAlgorithm algorithm, Symbol symbol, PyObject filter, UniverseSettings universeSettings=null)QuantConnect.Extensionsstatic
CreateOptionChain(this IAlgorithm algorithm, Symbol symbol, Func< OptionFilterUniverse, OptionFilterUniverse > filter, UniverseSettings universeSettings=null)QuantConnect.Extensionsstatic
CreateType(this PyObject pyObject)QuantConnect.Extensionsstatic
DecodeBase36(this string symbol)QuantConnect.Extensionsstatic
DecodeBase64(this string base64EncodedText)QuantConnect.Extensionsstatic
DefaultOptionStyle(this SecurityType securityType)QuantConnect.Extensionsstatic
DelistingMarketCloseOffsetSpanQuantConnect.Extensionsstatic
DeserializeList(this string jsonArray)QuantConnect.Extensionsstatic
DeserializeList< T >(this string jsonArray)QuantConnect.Extensionsstatic
DiscretelyRoundBy(this decimal value, decimal quanta, MidpointRounding mode=MidpointRounding.AwayFromZero)QuantConnect.Extensionsstatic
DownloadByteArray(this string url)QuantConnect.Extensionsstatic
DownloadData(this HttpClient client, string url, Dictionary< string, string > headers=null)QuantConnect.Extensionsstatic
DownloadData(this string url, Dictionary< string, string > headers=null)QuantConnect.Extensionsstatic
EncodeBase36(this ulong data)QuantConnect.Extensionsstatic
EncodeBase64(this string text)QuantConnect.Extensionsstatic
ExchangeRoundDown(this DateTime dateTime, TimeSpan interval, SecurityExchangeHours exchangeHours, bool extendedMarketHours)QuantConnect.Extensionsstatic
ExchangeRoundDownInTimeZone(this DateTime dateTime, TimeSpan interval, SecurityExchangeHours exchangeHours, DateTimeZone roundingTimeZone, bool extendedMarketHours)QuantConnect.Extensionsstatic
GetAndDispose< T >(this PyObject instance)QuantConnect.Extensionsstatic
GetAssemblyName(this PyObject pyObject)QuantConnect.Extensionsstatic
GetBaseDataInstance(this Type type)QuantConnect.Extensionsstatic
GetBetterTypeName(this Type type)QuantConnect.Extensionsstatic
GetBytes(this string str)QuantConnect.Extensionsstatic
GetBytes(this Stream stream)QuantConnect.Extensionsstatic
GetCustomDataTypeFromSymbols(Symbol[] symbols)QuantConnect.Extensionsstatic
GetDecimalEpsilon()QuantConnect.Extensionsstatic
GetDecimalFromCsv(this string csvLine, int index)QuantConnect.Extensionsstatic
GetDecimalPlaces(this decimal input)QuantConnect.Extensionsstatic
GetDelistingDate(this Symbol symbol, MapFile mapFile=null)QuantConnect.Extensionsstatic
GetEntry(this MarketHoursDatabase marketHoursDatabase, Symbol symbol, IEnumerable< Type > dataTypes)QuantConnect.Extensionsstatic
GetEnumString(this int value, PyObject pyObject)QuantConnect.Extensionsstatic
GetExerciseDirection(this OptionRight right, bool isShort)QuantConnect.Extensionsstatic
GetExtension(this string str)QuantConnect.Extensionsstatic
GetHash(this IDictionary< int, Order > orders)QuantConnect.Extensionsstatic
GetListHashCode< T >(this IReadOnlyList< T > list)QuantConnect.Extensionsstatic
GetMarketOrderFees(Security security, decimal quantity, DateTime time, out MarketOrder marketOrder)QuantConnect.Extensionsstatic
GetMD5Hash(this Stream stream)QuantConnect.Extensionsstatic
GetMemoryStream(Guid guid)QuantConnect.Extensionsstatic
GetMethod(this PyObject instance, string name)QuantConnect.Extensionsstatic
GetOrAddUnrequestedSecurity(this IAlgorithm algorithm, Symbol symbol, out Security security, Action< IReadOnlyCollection< SecurityType >> onError=null)QuantConnect.Extensionsstatic
GetOrderDirection(decimal quantity)QuantConnect.Extensionsstatic
GetPythonArgCount(this PyObject method)QuantConnect.Extensionsstatic
GetPythonBoolProperty(this PyObject instance, string name)QuantConnect.Extensionsstatic
GetPythonBoolPropertyWithChecks(this PyObject instance, string name)QuantConnect.Extensionsstatic
GetPythonMethod(this PyObject instance, string name)QuantConnect.Extensionsstatic
GetPythonMethodWithChecks(this PyObject instance, string name)QuantConnect.Extensionsstatic
GetString(this byte[] bytes, Encoding encoding=null)QuantConnect.Extensionsstatic
GetStringBetweenChars(this string value, char left, char right)QuantConnect.Extensionsstatic
GetUniverseNormalizationModeOrDefault(this UniverseSettings universeSettings, SecurityType securityType)QuantConnect.Extensionsstatic
GetUpdatePriceScaleFrontier(this BaseData data)QuantConnect.Extensionsstatic
GetZeroPriceMessage(this Symbol symbol)QuantConnect.Extensionsstatic
GreatestCommonDivisor(this IEnumerable< int > values)QuantConnect.Extensionsstatic
HasOptions(this SecurityType securityType)QuantConnect.Extensionsstatic
ImplementsStreamReader(this Type baseDataType)QuantConnect.Extensionsstatic
InTheMoneyAmount(this Option option, decimal quantity)QuantConnect.Extensionsstatic
Invert(this OptionRight right)QuantConnect.Extensionsstatic
IsCommonBusinessDay(this DateTime date)QuantConnect.Extensionsstatic
IsCustomDataType(Symbol symbol, Type type)QuantConnect.Extensionsstatic
IsCustomDataType< T >(this Symbol symbol)QuantConnect.Extensionsstatic
IsDirectoryEmpty(this string directoryPath)QuantConnect.Extensionsstatic
IsEmpty(this BaseSeries series)QuantConnect.Extensionsstatic
IsEmpty(this Chart chart)QuantConnect.Extensionsstatic
IsMarketOpen(this Security security, bool extendedMarketHours)QuantConnect.Extensionsstatic
IsMarketOpen(this Symbol symbol, DateTime utcTime, bool extendedMarketHours)QuantConnect.Extensionsstatic
IsNaNOrInfinity(this double value)QuantConnect.Extensionsstatic
IsNaNOrZero(this double value)QuantConnect.Extensionsstatic
IsOption(this SecurityType securityType)QuantConnect.Extensionsstatic
IsOutOfDate(this string filepath)QuantConnect.Extensionsstatic
IsSubclassOfGeneric(this Type type, Type possibleSuperType)QuantConnect.Extensionsstatic
IsValid(this SecurityType securityType)QuantConnect.Extensionsstatic
IsWin(this OrderEvent fill, Security security, decimal profitLoss)QuantConnect.Extensionsstatic
LazyToLower(this string data)QuantConnect.Extensionsstatic
LazyToUpper(this string data)QuantConnect.Extensionsstatic
ListEquals< T >(this IReadOnlyList< T > left, IReadOnlyList< T > right)QuantConnect.Extensionsstatic
MatchesTypeName(this Type type, string typeName)QuantConnect.Extensionsstatic
Move< T >(this List< T > list, int oldIndex, int newIndex)QuantConnect.Extensionsstatic
Normalize(this decimal input)QuantConnect.Extensionsstatic
Normalize(this BaseData data, decimal factor, DataNormalizationMode normalizationMode, decimal sumOfDividends)QuantConnect.Extensionsstatic
NormalizeToStr(this decimal input)QuantConnect.Extensionsstatic
OptionRightToLower(this OptionRight optionRight)QuantConnect.Extensionsstatic
OptionStyleToLower(this OptionStyle optionStyle)QuantConnect.Extensionsstatic
OrderBySafe< TSource, TKey >(this ConcurrentDictionary< TSource, TKey > source, Func< KeyValuePair< TSource, TKey >, TSource > keySelector)QuantConnect.Extensionsstatic
OrderBySafe< TSource, TKey >(this ConcurrentDictionary< TSource, TKey > source, Func< KeyValuePair< TSource, TKey >, TKey > keySelector)QuantConnect.Extensionsstatic
OrderTargetsByMarginImpact(this IEnumerable< IPortfolioTarget > targets, IAlgorithm algorithm, bool targetIsDelta=false)QuantConnect.Extensionsstatic
ParseDataMappingMode(this string dataMappingMode)QuantConnect.Extensionsstatic
ParseOptionRight(this string optionRight)QuantConnect.Extensionsstatic
ParseOptionStyle(this string optionStyle)QuantConnect.Extensionsstatic
ProcessSecurityChanges(this IAlgorithm algorithm, SecurityChanges securityChanges)QuantConnect.Extensionsstatic
ProcessUntilEmpty< T >(this IProducerConsumerCollection< T > collection, Action< T > handler)QuantConnect.Extensionsstatic
ProtobufSerialize(this List< Tick > ticks, Guid guid)QuantConnect.Extensionsstatic
ProtobufSerialize(this IBaseData baseData, Guid guid)QuantConnect.Extensionsstatic
ProtobufSerialize(this IBaseData baseData, Stream stream)QuantConnect.Extensionsstatic
ReadLines(this IDataProvider dataProvider, string file)QuantConnect.Extensionsstatic
RemoveFromEnd(this string s, string ending)QuantConnect.Extensionsstatic
RemoveFromStart(this string s, string start)QuantConnect.Extensionsstatic
RequiresMapping(this Symbol symbol)QuantConnect.Extensionsstatic
Reset(this Timer timer)QuantConnect.Extensionsstatic
ResolutionToLower(this Resolution resolution)QuantConnect.Extensionsstatic
Round(this TimeSpan time, TimeSpan roundingInterval, MidpointRounding roundingType)QuantConnect.Extensionsstatic
Round(this TimeSpan time, TimeSpan roundingInterval)QuantConnect.Extensionsstatic
Round(this DateTime datetime, TimeSpan roundingInterval)QuantConnect.Extensionsstatic
RoundDown(this DateTime dateTime, TimeSpan interval)QuantConnect.Extensionsstatic
RoundDownInTimeZone(this DateTime dateTime, TimeSpan roundingInterval, DateTimeZone sourceTimeZone, DateTimeZone roundingTimeZone)QuantConnect.Extensionsstatic
RoundToSignificantDigits(this decimal d, int digits)QuantConnect.Extensionsstatic
RoundUp(this DateTime time, TimeSpan interval)QuantConnect.Extensionsstatic
SafeAsManagedObject(this PyObject pyObject, Type typeToConvertTo=null)QuantConnect.Extensionsstatic
SafeDecimalCast(this double input)QuantConnect.Extensionsstatic
SafeDivision(this decimal numerator, decimal denominator, decimal failValue=0)QuantConnect.Extensionsstatic
SafeEnumeration< TSource, TKey >(this ConcurrentDictionary< TSource, TKey > source)QuantConnect.Extensionsstatic
SafeMultiply100(this decimal value)QuantConnect.Extensionsstatic
Scale(this BaseData data, Func< decimal, decimal, decimal, decimal > factorFunc, decimal volumeFactor, decimal factor, decimal sumOfDividends)QuantConnect.Extensionsstatic
SecurityTypeToLower(this SecurityType securityType)QuantConnect.Extensionsstatic
SetRuntimeError(this IAlgorithm algorithm, Exception exception, string context)QuantConnect.Extensionsstatic
ShouldEmitData(this SubscriptionDataConfig config, BaseData data, bool isUniverse=false)QuantConnect.Extensionsstatic
SingleOrAlgorithmTypeName(this List< string > names, string algorithmTypeName)QuantConnect.Extensionsstatic
SmartRounding(this decimal? input)QuantConnect.Extensionsstatic
SmartRounding(this decimal input)QuantConnect.Extensionsstatic
StopSafely(this Thread thread, TimeSpan timeout, CancellationTokenSource token=null)QuantConnect.Extensionsstatic
SubscribeWithMapping(this IDataQueueHandler dataQueueHandler, SubscriptionDataConfig dataConfig, EventHandler newDataAvailableHandler, Func< SubscriptionDataConfig, bool > isExpired, out SubscriptionDataConfig subscribedConfig)QuantConnect.Extensionsstatic
SynchronouslyAwaitTask(this Task task)QuantConnect.Extensionsstatic
SynchronouslyAwaitTask< T >(this Task< T > task)QuantConnect.Extensionsstatic
SynchronouslyAwaitTaskResult< TResult >(this Task< TResult > task)QuantConnect.Extensionsstatic
TickTypeToLower(this TickType tickType)QuantConnect.Extensionsstatic
ToCamelCase(this string value)QuantConnect.Extensionsstatic
ToCsv(this string str, int size=4)QuantConnect.Extensionsstatic
ToCsvData(this string str, int size=4, char delimiter=',')QuantConnect.Extensionsstatic
ToDecimal(this string str)QuantConnect.Extensionsstatic
ToDecimalAllowExponent(this string str)QuantConnect.Extensionsstatic
ToFinancialFigures(this decimal number)QuantConnect.Extensionsstatic
ToFunc(this IDateRule dateRule)QuantConnect.Extensionsstatic
ToHexString(this byte[] source)QuantConnect.Extensionsstatic
ToHigherResolutionEquivalent(this TimeSpan timeSpan, bool requireExactMatch)QuantConnect.Extensionsstatic
ToInt32(this string str)QuantConnect.Extensionsstatic
ToInt64(this string str)QuantConnect.Extensionsstatic
ToLower(this Enum @enum)QuantConnect.Extensionsstatic
ToMD5(this string str)QuantConnect.Extensionsstatic
ToNormalizedDecimal(this string str)QuantConnect.Extensionsstatic
ToOrderDirection(this PositionSide side)QuantConnect.Extensionsstatic
ToOrderTicket(this Order order, SecurityTransactionManager transactionManager)QuantConnect.Extensionsstatic
ToPyList(this IEnumerable enumerable)QuantConnect.Extensionsstatic
ToPyListUnSafe(this IEnumerable enumerable)QuantConnect.Extensionsstatic
ToQueryString(this IDictionary< string, object > pairs)QuantConnect.Extensionsstatic
ToSafeString(this PyObject pyObject)QuantConnect.Extensionsstatic
ToSHA256(this string data)QuantConnect.Extensionsstatic
ToStream(this string str)QuantConnect.Extensionsstatic
ToStringPerformance(this OptionRight optionRight)QuantConnect.Extensionsstatic
ToSubscriptionDataConfig(this Data.HistoryRequest request, bool isInternalFeed=false, bool isFilteredSubscription=true)QuantConnect.Extensionsstatic
ToTimeSpan(this Resolution resolution)QuantConnect.Extensionsstatic
TruncateTo3DecimalPlaces(this decimal value)QuantConnect.Extensionsstatic
TryConvert< T >(this PyObject pyObject, out T result, bool allowPythonDerivative=false)QuantConnect.Extensionsstatic
TryConvertToDelegate< T >(this PyObject pyObject, out T result)QuantConnect.Extensionsstatic
TryCreateType(this PyObject pyObject, out Type type)QuantConnect.Extensionsstatic
TryGetDecimalFromCsv(this string csvLine, int index, out decimal value)QuantConnect.Extensionsstatic
TryGetFromCsv(this string csvLine, int index, out ReadOnlySpan< char > result)QuantConnect.Extensionsstatic
TryGetLiveSubscriptionSymbol(this Symbol symbol, out Symbol mapped)QuantConnect.Extensionsstatic
TryGetPropertyValue< T >(this JObject jObject, string name)QuantConnect.Extensionsstatic
TryParseSecurityType(this string value, out SecurityType securityType, bool ignoreCase=true)QuantConnect.Extensionsstatic
UnsubscribeWithMapping(this IDataQueueHandler dataQueueHandler, SubscriptionDataConfig dataConfig)QuantConnect.Extensionsstatic
WaitOne(this WaitHandle waitHandle, CancellationToken cancellationToken)QuantConnect.Extensionsstatic
WaitOne(this WaitHandle waitHandle, TimeSpan timeout, CancellationToken cancellationToken)QuantConnect.Extensionsstatic
WaitOne(this WaitHandle waitHandle, int millisecondsTimeout, CancellationToken cancellationToken)QuantConnect.Extensionsstatic
WithEmbeddedHtmlAnchors(this string source)QuantConnect.Extensionsstatic