I am using a strategy which which places limit orders. Sometimes orders are not completed due to market volatility and my code cancels any open orders and places a market order in that case. API is working fine and latency is 100-150 ms. It is not HFT and places 2 or 3 orders every 10min. Can anyone help with this? I have also provided a websocket code, if there is any problem, please tell.