alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
143 stars 13 forks source link

Rejected orders should be added to order history #29

Open bdowling opened 5 years ago

bdowling commented 5 years ago

Rejected orders should also be recorded in the order book, otherwise the onus is on the customer to log these failures, but it would be better to have a consolidated view in your account.

Adding a rejected_reason attribute would also be needed. (Trying to think if there are assorted cancel reasons as well, a more common attribute came could be used...)

codebeaulieu commented 5 years ago

Agreed, I'd rather a verbose order history that I can filter myself.