Author |
Topic: OnCommandUpdated not working? (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
I've set a handler for OnCommandUpdated, but it never gets triggered.
As I understand it, canceling an order should cause both OnCommandUpdated events and OnOrderStateChanged events. I see the latter, so I know my order is being properly cancelled, but I never see the former. Is there something else I must do in order to see Command updates? |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
OECAPI raises OnCommandUpdated event handler every time when command state becomes Executed. Victor Vins Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
I think the test connection was being flaky; the next day I was able to see the events.
Seems like the test connection gets funky in the late afternoon; sometime after 4 I usually see orders stop being accepted (though not rejected either). |
||||