Files
StockSharp/Algo/Commissions
mika@stocksharp.com c63933107b Unit properties that refuse no value are marked required
A property grid offers to clear a Unit value unless the property is marked
[Required]; pressed, the clear button wrote null into a setter that refuses it
and nothing happened - the emulator's price shift among them. Every public Unit
property of the core that refuses null now says so: the commission rules' value,
the PnL risk rule, the volume trigger of a continuous security, the box size of
point-and-figure candles, the emulator's price shift and the volume part of the
position modify element, through a new DiagramElementParam.SetRequired.

A test in UnitTests walks the public types and fails on a Unit property that
refuses null and is not marked where a property grid reads it.
2026-10-22 20:33:11 +03:00
..