Closed d-e-s-o closed 5 years ago
It appears as though you may have been affected by a double-cancel issue that we recently resolved in our paper environment. When multiple cancellations were sent for an order, the order could in certain scenarios be reactivated. We have rolled out updates this week to address this issue and hopefully you do not encounter this again.
Your tif='day' non-executed orders were ultimately canceled at close of the market, 4PM ET.
Thank you for bringing this issue to our attention.
(paper trading)
(in a way it's similar to https://github.com/alpacahq/Alpaca-API/issues/64 but not really the same as the web interface has always worked so far)
I had created several orders over some time. Then I tried cancelling them, individually. All requests went through and were acknowledged with 204, yet they all stayed open. I repeated that several times. I then even went to the web interface, hit "Cancel All Open Orders", it showed me the list of orders that had been canceled and...nothing happened. The orders were still there, in the web interface as well as when queried through the API. I repeated that a few times. Nothing changed.
Then, at 6:00 Pacific Time, they were suddenly all gone (this could be coincidence, I am just mentioning it because I checked the time by happenstance).
Are there undocumented times when the API is not expected to work? If so, can those please be clearly documented. Are you guys rolling out updates? Please, can we get some insight into the black box on the other side?
Behavior like this does not provide any confidence in the service. Can you clarify whether live trading is expected to have hiccups of this sort?
Here is one trace:
Here is the list of orders I am referring to: