c95a3fd5df
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Order quantities and prices out of the decimal range are clamped to decimal.MaxValue/MinValue at order creation, e.g. by the QCAlgorithm double quantity order methods through SafeDecimalCast. When read back, JObject parses these values as doubles that round past the decimal range, so Value<decimal>() threw an OverflowException. Clamp them back into range when deserializing. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>