Hi, is there a way to set a minimum order size per security (or globally)? When I execute SetHoldings("SPY", signal), I'd like to only go to the market if the new position results in an order of at least, say 10 lots or say $1000 of value.

I am trading crypto and I get the following messages at some point, not sure why. Maybe I have run out of money due to losses and my account doesn't have enough money for an order of at least 0.01. What check can I perform to avoid getting these messages?

20171129 17:12:02.428 ERROR:: OrderID: 12148 Warning - Code: NotSupported - The minimum order quantity is 0.01 20171129 17:12:02.428 ERROR:: OrderID: 12157 Warning - Code: NotSupported - The minimum order quantity is 0.01 20171129 17:12:02.428 ERROR:: OrderID: 12160 Warning - Code: NotSupported - The minimum order quantity is 0.01 20171129 17:12:02.428 ERROR:: OrderID: 12167 Warning - Code: NotSupported - The minimum order quantity is 0.01

Author