Depending on the incoming limit order, it should be checked the value of the order before to populated the market with it. For instance, if the price does not make sense, for the current situations of the market, or any other condition is not met, the order should be rejected by the market with a suitable message.
At the moment the conditions are checked but implemented in a non optimal manner. Fix this!.
Depending on the incoming limit order, it should be checked the value of the order before to populated the market with it. For instance, if the price does not make sense, for the current situations of the market, or any other condition is not met, the order should be rejected by the market with a suitable message.
At the moment the conditions are checked but implemented in a non optimal manner. Fix this!.