The resource loading... loading...

A large number of order not found errors occurred using the okx futures interface

Author: zhangyijun, Created: 2018-06-09 14:34:31, Updated:

Because I used the _C function, it caused a lot of similar errors. GetOrder ((903692470012928): order not found But in reality, the order exists, and after repeated attempts, it always succeeds.

1 How to Avoid 2 How can I detect if a similar error is occurring at the moment, for example, can I get the actual return to okx? Maybe I can reduce the retry policy myself etc.


More

zhangyijunSo getRawJSON is not used yet.

Inventors quantify - small dreamsNote that _C functions are generally used to retrieve transactional data. For a call to the GetOrder function, it is possible to judge the success of the call based on the value it returns. GetRawJSON can be used to retrieve the returned data of the most recent REST request. The specific processing of logic is seen in the strategic design.