OrderModify - should you check if the value has changed?

 

When using OrderModify, should you check if the value has changed before sending the stop loss adjustment?

Otherwise, won't you get a lot of server traffic being sent every single tick?

Is there a way to check it on pip changes instead?

I have 5 decimals on my system so would rather a change every 4 decimal pips.

 
SanMiguel wrote >>

When using OrderModify, should you check if the value has changed before sending the stop loss adjustment?

Otherwise, won't you get a lot of server traffic being sent every single tick?

Is there a way to check it on pip changes instead?

I have 5 decimals on my system so would rather a change every 4 decimal pips.

You'll get an error if you try to set the stoploss to the same value. So yes, you should check.

- Tovan

 
SanMiguel:

When using OrderModify, should you check if the value has changed before sending the stop loss adjustment?

Otherwise, won't you get a lot of server traffic being sent every single tick?

Is there a way to check it on pip changes instead?

I have 5 decimals on my system so would rather a change every 4 decimal pips.

Check new calculated order parameters against existing ones and modify the order if at least one of the them diiffers.

What is the problem exactly?