Hi, All currency trades have failed since morning. This is the 3rd consecutive day of API failures. It is becoming difficult to manage. If you are doing some upgrades, please let us know, so that we can wait till you are done.
Repeated 20 attempts have failed and the system has given up. There has been no change in our system - APIs are called the same way over many months now & were working fine.
Hi, In the earlier API bracket and cover order had only one order type. Hence we were not validating order type. Now we have included bracket order with stop-loss and cover order with limit entry type. It seems like you are sending order type as 'CO'. I think there are multiple fields missing in the request also. If you had logged error message you could have easily figured it out. I would suggest logging error message when API error happens. You can check out example for placing orders here.
Ok, changed all that and we are back online. Enabled the KC error logging too.
It would be great if you can send out and email to all API subscribers when APIs are updated (posting in the forum is not enough - we don't keep looking at it every day).
And as much as possible, please maintain backward compatibility.
This was just a feature addition. We will mail all the clients after the complete migration is done. This release is not a breaking change, in fact, we made some changes to make it backward compatible. In your case, it broke because of wrong params.
The order_type was 'CO' all this time & it was working. It broke because now the API expects 'MARKET' instead of 'CO'. And also additional parameters are expected now.
Anyway, good to know that this is not a 'breaking' change and that we will get an email after the update cycle is done.
Repeated 20 attempts have failed and the system has given up.
There has been no change in our system - APIs are called the same way over many months now & were working fine.
In the earlier API bracket and cover order had only one order type. Hence we were not validating order type.
Now we have included bracket order with stop-loss and cover order with limit entry type. It seems like you are sending order type as 'CO'. I think there are multiple fields missing in the request also.
If you had logged error message you could have easily figured it out. I would suggest logging error message when API error happens.
You can check out example for placing orders here.
It would be great if you can send out and email to all API subscribers when APIs are updated (posting in the forum is not enough - we don't keep looking at it every day).
And as much as possible, please maintain backward compatibility.
This release is not a breaking change, in fact, we made some changes to make it backward compatible. In your case, it broke because of wrong params.
Anyway, good to know that this is not a 'breaking' change and that we will get an email after the update cycle is done.