Pending Order Rejection Event
Created at 28 Dec 2015, 22:59
Pending Order Rejection Event
28 Dec 2015, 22:59
Hello Spotware,
I would like this answer too, I need to capture the event when a pending order is rejected while it is getting filled which could be hours after it has been placed.
It looks like the OnError event method captures errors that occur with Positions, could this method get called when a pending order is rejected for any reason? If not does anybody know of a way to get the TradeResult of a rejected pending order.
protected override void OnError(Error error) { var result = error.TradeResult; Print(result); }
This thread is also in the Platform Support, sorry I put it there accidentally, it should be in the API support, so if you answer the question here, you can delete it there.
Spotware
29 Dec 2015, 10:59
Dear Trader,
Currently there is no way to detect a rejected pending order after it was successfully placed. We will consider implementing it in the future. Stay tuned.
@Spotware