Method LimitOrder works like MarketOrder

Hello, the method LimitOrder has incorrect behavior. It works like MarketOrder and executes orders immediately according to the depth of the market. Could you please take a look and fix the behavior? It's is a critical issue for business.

Edited by Andrei Fedotov