ToNearest


Summary

Round value to the nearest tradable volume.

Syntax

RoundingMode.ToNearest

Example 1

var volume = Symbol.NormalizeVolume(calculatedVolume, RoundingMode.ToNearest);
Reference