VolumeInUnitsMax


Summary

The maximum tradable amount.

Syntax

public double VolumeInUnitsMax{ get; }

Example 1

if(Symbol.NormalizeVolumeInUnits(volume, RoundingMode.Down) <= Symbol.VolumeInUnitsMax)
{
    volume = Symbol.NormalizeVolumeInUnits(volume, RoundingMode.Down);
    ExecuteMarketOrder(TradeType.Buy, Symbol, volume);
}