Returns a fresh Leverage holding the same multiplier.
Returns the canonical multiplier string.
StaticfromBuilds leverage from a fractional multiplier (e.g. 2.5).
WARNING: floats are imprecise; values are snapped to the scale-10 grid.
Throws ParamError when the value is non-finite or outside the valid
range/step.
StaticfromBuilds leverage from an integer multiplier (e.g. 10 for 10x).
Throws ParamError when the multiplier is outside 1..=3000.
StaticMAXThe maximum integer multiplier (3000).
StaticMINThe minimum integer multiplier (1).
StaticSCALEThe fixed-point scale (10).
StaticSTEPThe smallest representable step (0.1).
Fixed-point leverage multiplier (scale 10, range
1.0..=3000.0, step 0.1).