QuantConnect/Lean

AugenPriceSpike

Closed this issue · 0 comments

2024-12-01T21:38:17.7804443Z ERROR:: Runtime Error: Value was either too large or too small for a Decimal. in AugenPriceSpike.cs:line 99
System.Exception: Value was either too large or too small for a Decimal. in AugenPriceSpike.cs:line 99
---> QuantConnect.Exceptions.SystemExceptionInterpreter+SanitizedException: Value was either too large or too small for a Decimal.
at System.Number.ThrowOverflowException(String message)
at System.Decimal.DecCalc.VarDecFromR8(Double input, DecCalc& result)
at QuantConnect.Indicators.AugenPriceSpike.ComputeNextValue(IndicatorDataPoint input) in Indicators\AugenPriceSpike.cs:line 99
at QuantConnect.Indicators.IndicatorBase1.ValidateAndComputeNextValue(T input) in Indicators\IndicatorBase.cs:line 345 at QuantConnect.Indicators.IndicatorBase1.Update(IBaseData input) in Indicators\IndicatorBase.cs:line 256
at QuantConnect.Algorithm.QCAlgorithm.<>c__DisplayClass618_0.b__1(Object sender, IBaseData consolidated) in Algorithm\QCAlgorithm.Indicators.cs:line 2855
at QuantConnect.Data.Consolidators.IdentityDataConsolidator`1.Update(T data) in Common\Data\Consolidators\IdentityDataConsolidator.cs:line 57
at QuantConnect.Lean.Engine.AlgorithmManager.Run(AlgorithmNodePacket job, IAlgorithm algorithm, ISynchronizer synchronizer, ITransactionHandler transactions, IResultHandler results, IRealTimeHandler realtime, ILeanManager leanManager, CancellationTokenSource cancellationTokenSource) in Engine\AlgorithmManager.cs:line 414
--- End of inner exception stack trace ---