Quant/stake limit

changed stake limit condition