Method IsBelowMinSize
- Namespace
- WhalesSecret.TradeScriptLib.Utils.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
IsBelowMinSize(decimal)
Using the current state of the builder, checks the input size against the minimum allowed size by the exchange.
public bool IsBelowMinSize(decimal size)
Parameters
size
decimalSize of the order to check.
Returns
- bool
true
if the given order size is too small to be placed on the exchange,false
if it is OK to be placed on the exchange.
Exceptions
- InvalidStateException
Thrown if no symbol pair is set, or if there is no exchange data for the minimum-size check.