refactor: Optimize NullMath utilities #1272
Merged
GitHub Actions / Test results
succeeded
Nov 11, 2024 in 1s
723 passed, 0 failed and 0 skipped
✅ ./test-indicators/_fv-az1052-290_2024-11-11_15_14_39.trx
723 tests were completed in 8s with 723 passed, 0 failed and 0 skipped.
✅ Tests.Common.Candles
✅ CandleValues
✅ SortCandles
✅ ToCandles
✅ Tests.Common.ExceptionTests
✅ BadHistory
✅ BadHistoryWithInner
✅ BadHistoryWithMessage
✅ Tests.Common.NumerixTests
✅ RoundDownDate
✅ Slope
✅ SlopeMismatch
✅ SlopeXnull
✅ SlopeYnull
✅ StdDev
✅ StdDevNull
✅ ToTimeSpan
✅ Tests.Common.Pruning
✅ Remove
✅ RemoveTooMany
✅ Tests.Common.QuoteHistory
✅ Aggregate
✅ AggregateMonth
✅ AggregateTimeSpan
✅ BadAggregationSize
✅ Tests.Common.QuoteUtility
✅ QuoteDToTuple
✅ QuoteToBasicData
✅ QuoteToSortedCollection
✅ QuoteToSortedList
✅ QuoteToTuple
✅ ToSortedList
✅ ToTupleCollection
✅ Tests.Common.QuoteValidation
✅ DuplicateHistory
✅ Validate
✅ ValidateCut
✅ ValidateLong
✅ Tests.Common.Results
✅ Condense
✅ ToTuple
✅ Tests.Common.Seeking
✅ Find
✅ Tests.Common.Sorting
✅ ToSortedCollection
✅ Tests.Common.Syncing
✅ SyncIndex
✅ Tests.Common.TransformTests
✅ Exceptions
✅ ToCollection
✅ Tests.Indicators.AdlTests
✅ BadData
✅ BigData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ RandomData
✅ Standard
✅ WithSma
✅ Tests.Indicators.AdxTests
✅ BadData
✅ BigData
✅ Chainor
✅ Exceptions
✅ Issue859
✅ NoQuotes
✅ Removed
✅ Standard
✅ Zeroes
✅ Tests.Indicators.AlligatorTests
✅ BadData
✅ Chainee
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Sync
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.Alma
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NaN
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.Aroon
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.AtrStopTests
✅ BadData
✅ Condense
✅ Exceptions
✅ HighLow
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.AtrTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.AwesomeTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.BaseQuoteTests
✅ Chainor
✅ Standard
✅ Use
✅ Tests.Indicators.BetaTests
✅ All
✅ BadData
✅ BetaMsft
✅ BigData
✅ Chainee
✅ Chainor
✅ Down
✅ Exceptions
✅ NoMatch
✅ NoQuotes
✅ Removed
✅ SameSame
✅ Standard
✅ TupleNaN
✅ Up
✅ UseTuple
✅ Tests.Indicators.BollingerBandsTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.BopTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NaN
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.CciTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.ChaikinOscTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.ChandelierTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.ChopTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ SmallLookback
✅ Standard
✅ Tests.Indicators.CmfTests
✅ BadData
✅ BigData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.CmoTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.ConnorsRsiTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.CorrelationTests
✅ BadData
✅ BigData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.DemaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.DojiTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ Tests.Indicators.DonchianTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.DpoTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.ElderRayTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.EmaTests
✅ BadData
✅ Chainee
✅ Chaining
✅ Chainor
✅ Custom
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Stream
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.EpmaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.FcbTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.FisherTransformTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.ForceIndexTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.FractalTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ StandardSpan2
✅ StandardSpan4
✅ Tests.Indicators.GatorTests
✅ BadData
✅ Chainee
✅ Condense
✅ FromAlligator
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.HeikinAshiTests
✅ BadData
✅ NoQuotes
✅ Standard
✅ ToQuotes
✅ UseAsQuotes
✅ Tests.Indicators.HmaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.HtTrendlineTests
✅ BadData
✅ Chainee
✅ Chainor
✅ NoQuotes
✅ PennyData
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.HurstTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ StandardLong
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.IchimokuTests
✅ BadData
✅ Condense
✅ Exceptions
✅ Extended
✅ NoQuotes
✅ Standard
✅ Tests.Indicators.KamaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.KeltnerTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.KlingerTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.MacdTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.MaEnvelopesTests
✅ Alma
✅ BadData
✅ Chainee
✅ Condense
✅ Dema
✅ Ema
✅ Epma
✅ Exceptions
✅ Hma
✅ Sma
✅ Smma
✅ Tema
✅ TupleNaN
✅ UseTuple
✅ Wma
✅ Tests.Indicators.MamaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.MarubozuTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ Tests.Indicators.McGinleyDynamicTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.MfiTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ SmallLookback
✅ Standard
✅ Tests.Indicators.ObvTests
✅ BadData
✅ BigData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ WithSma
✅ Tests.Indicators.ParabolicSarTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ Extended
✅ InsufficientQuotes
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.PivotPointsTests
✅ BadData
✅ Camarilla
✅ Demark
✅ Exceptions
✅ Fibonacci
✅ NoQuotes
✅ Removed
✅ Standard
✅ Woodie
✅ Tests.Indicators.PivotsTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ Tests.Indicators.PmoTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.PrsTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.PvoTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.RenkoTests
✅ Atr
✅ BadData
✅ Exceptions
✅ NoQuotes
✅ StandardClose
✅ StandardHighLow
✅ UseAsQuotes
✅ Tests.Indicators.RocTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ WithSma
✅ Tests.Indicators.RocWbTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.RollingPivotsTests
✅ BadData
✅ Camarilla
✅ Demark
✅ Exceptions
✅ Fibonacci
✅ NoQuotes
✅ Removed
✅ Standard
✅ Woodie
✅ Tests.Indicators.RsiTests
✅ BadData
✅ Chainee
✅ Chainor
✅ CryptoData
✅ Exceptions
✅ NaN
✅ NoQuotes
✅ Removed
✅ SmallLookback
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.SlopeTests
✅ BadData
✅ BigData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.SmaExtendedTests
✅ Analysis
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.SmaTests
✅ BadData
✅ CandlePartOpen
✅ CandlePartVolume
✅ Chainor
✅ Exceptions
✅ NaN
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ Tests.Indicators.SmiTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ NoSignal
✅ Removed
✅ SmallPeriods
✅ Standard
✅ Tests.Indicators.SmmaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.StarcBandsTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.StcTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ Issue1107
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.StdDevChannelsTests
✅ BadData
✅ Chainee
✅ Condense
✅ Exceptions
✅ FullHistory
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.StdDevTests
✅ BadData
✅ BigData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ WithSma
✅ Tests.Indicators.StochRsiTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ FastRsi
✅ NoQuotes
✅ Removed
✅ SlowRsi
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.StochTests
✅ BadData
✅ Boundary
✅ Chainor
✅ Exceptions
✅ Extended
✅ Fast
✅ FastSmall
✅ NoQuotes
✅ NoSignal
✅ Removed
✅ Standard
✅ Tests.Indicators.SuperTrendTests
✅ BadData
✅ Bitcoin
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.T3Tests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.TemaTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.TrixTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.TrTests
✅ BadData
✅ Chainor
✅ NoQuotes
✅ Standard
✅ Tests.Indicators.TsiTests
✅ BadData
✅ BigData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.UlcerIndexTests
✅ BadData
✅ Chainee
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.UltimateTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.VolatilityStopTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.VortexTests
✅ BadData
✅ Condense
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.VwapTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ WithStartDate
✅ Tests.Indicators.VwmaTests
✅ BadData
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.WilliamsRTests
✅ BadData
✅ Boundary
✅ Chainor
✅ Exceptions
✅ Issue1127
✅ NoQuotes
✅ Removed
✅ Standard
✅ Tests.Indicators.WmaTests
✅ BadData
✅ Chainee
✅ Chaining
✅ Chainor
✅ Exceptions
✅ NoQuotes
✅ Removed
✅ Standard
✅ TupleNaN
✅ UseTuple
✅ Tests.Indicators.ZigZagTests
✅ BadData
✅ Chainor
✅ Condense
✅ Exceptions
✅ Issue632
✅ NoEntry
✅ NoQuotes
✅ SchrodingerScenario
✅ StandardClose
✅ StandardHighLow
✅ Utilities.NullMathTests
✅ AbsDouble
✅ NaN2Null
✅ Null2NaN
✅ RoundDecimal
✅ RoundDouble
Loading