API Support Forum
User Profile

Viewing User Profile for: SRuscak


About

Aug 24, 2017 12:52 PM

Dec 06, 2018 09:18 AM

Dec 06, 2018 09:19 AM



Post Statistics
SRuscak has contributed to 2 posts out of 4386 total posts (0.05%) in 475 days (0.00 posts per day).

20 most recent posts:

API Support » Order replace event (not getting update on API session) Dec 06, 2018 @ 09:18 AM (Total replies: 1)

Hello Oleg,

Order modification doesn't change OrderState, which is why the OnOrderStateChanged event isn't raised.

The modify request is represented by a Command, and the server responds to the modify request by updating Order.Commands, so you should be able to listen to Order modifications with OnCommandUpdated.

Regards,
Seth

API Support » Trailing Stop Orders being rejected Apr 10, 2018 @ 08:04 AM (Total replies: 1)

Hi Pete. Sorry to hear you're having trouble. We have plans to improve OrderDraft validation feedback but it's still a ways away.

I'm thinking that you need to set myOrderDraft.Type to either TrailingStopLimit or TrailingStopLoss.

Best regards,
Seth