Dear Mr. Rosh another question

 

Hi ! Mr. Rosh

The quesion is about modify of one order

If the program do some modify for example twice times

The secend modify at the same price

Please tell me what happened ?

 
In this case you will get error # 1.
ERR_NO_RESULT1没有错误返回但结果不明。

See OrderModify

对于先前的开仓或挂单进行特性修改。如果函数成功,返回的值为 TRUE。如果函数失败,返回的值为FALSE。 获得详细的错误信息,查看 GetLastError()函数。
注解: 开价格和有效时间的改变只对挂单而言。
如果未改变的值作为函数参量通过,将会生成错误 1 (ERR_NO_RESULT)。
在一些服务器中挂单的有效时间会被隐藏。这种情况下,当一个非零值在 有效参量被指定时,将生成错误 147 (ERR_TRADE_EXPIRATION_DENIED)。
 

Ha ! you are right !

I met this kind of problem

The error report said the error code 1 and 130

So do too much is not a good thing !