It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
NetworkException: Maximum allowed order modifications exceeded.
I am getting an error stating that my order modification limit has been exceeded. I'm using the ModifyOrder() function for this. I've only modified my order 30 times. It's a trigger order with ORDER_TYPE_SLM. What is wrong here?
Modify Triger Price
edited June 2021
There is a limit of 25 modifications allowed per order. You will have to cancel the order and place the order again. Order modifications are capped at OMS.
Is there an easier way to do this? I keep a trailing stop loss for every 5-minute candle. So if a stock keeps trending, the stop loss will keep getting modified. So if it trends for 2 hours continuously, the entire stop-loss thread stops because of just one security. There should be an easier way to do this than just canceling and placing a new SL order.
You can use GTT.