'Set the volume limit.
:param volumeLimit: The proportion of the volume that orders can take up in a bar. Must be > 0 and <= 1.
If None, then volume limit is not checked.
:type volumeLimit: float'

def setVolumeLimit(self, volumeLimit):

    if (volumeLimit is not None):
        assert ((volumeLimit > 0) and (volumeLimit <= 1)), 'Invalid    volume    limit'
    self.__volumeLimit = volumeLimit
